Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
147 changes: 3 additions & 144 deletions config/schemapatch/kueue-operator.crd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.17.1
controller-gen.kubebuilder.io/version: v0.17.2
name: kueues.operator.openshift.io
spec:
group: operator.openshift.io
Expand Down Expand Up @@ -39,6 +39,7 @@ spec:
metadata:
type: object
spec:
$ref: '#/definitions/github.com~1openshift~1api~1operator~1v1~0OperatorSpec'
description: spec holds user settable values for configuration
type: object
required:
Expand Down Expand Up @@ -387,152 +388,10 @@ spec:
evicted and requeued in the same cluster queue.
Defaults to 5min.
type: string
logLevel:
description: |-
logLevel is an intent based logging for an overall component. It does not give fine grained control, but it is a
simple way to manage coarse grained logging choices that operators have to interpret for their operands.

Valid values are: "Normal", "Debug", "Trace", "TraceAll".
Defaults to "Normal".
type: string
default: Normal
enum:
- ""
- Normal
- Debug
- Trace
- TraceAll
managementState:
description: managementState indicates whether and how the operator should manage the component
type: string
pattern: ^(Managed|Unmanaged|Force|Removed)$
observedConfig:
description: |-
observedConfig holds a sparse config that controller has observed from the cluster state. It exists in spec because
it is an input to the level for the operator
type: object
nullable: true
x-kubernetes-preserve-unknown-fields: true
operatorLogLevel:
description: |-
operatorLogLevel is an intent based logging for the operator itself. It does not give fine grained control, but it is a
simple way to manage coarse grained logging choices that operators have to interpret for themselves.

Valid values are: "Normal", "Debug", "Trace", "TraceAll".
Defaults to "Normal".
type: string
default: Normal
enum:
- ""
- Normal
- Debug
- Trace
- TraceAll
unsupportedConfigOverrides:
description: |-
unsupportedConfigOverrides overrides the final configuration that was computed by the operator.
Red Hat does not support the use of this field.
Misuse of this field could lead to unexpected behavior or conflict with other configuration options.
Seek guidance from the Red Hat support before using this field.
Use of this property blocks cluster upgrades, it must be removed before upgrading your cluster.
type: object
nullable: true
x-kubernetes-preserve-unknown-fields: true
status:
$ref: '#/definitions/github.com~1openshift~1api~1operator~1v1~0OperatorStatus'
description: status holds observed values from the cluster. They may not be overridden.
type: object
properties:
conditions:
description: conditions is a list of conditions and their status
type: array
items:
description: OperatorCondition is just the standard condition fields.
type: object
required:
- lastTransitionTime
- status
- type
properties:
lastTransitionTime:
description: |-
lastTransitionTime is the last time the condition transitioned from one status to another.
This should be when the underlying condition changed. If that is not known, then using the time when the API field changed is acceptable.
type: string
format: date-time
message:
type: string
reason:
type: string
status:
description: status of the condition, one of True, False, Unknown.
type: string
enum:
- "True"
- "False"
- Unknown
type:
description: type of condition in CamelCase or in foo.example.com/CamelCase.
type: string
maxLength: 316
pattern: ^([a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*/)?(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])$
x-kubernetes-list-map-keys:
- type
x-kubernetes-list-type: map
generations:
description: generations are used to determine when an item needs to be reconciled or has changed in a way that needs a reaction.
type: array
items:
description: GenerationStatus keeps track of the generation for a given resource so that decisions about forced updates can be made.
type: object
required:
- group
- name
- namespace
- resource
properties:
group:
description: group is the group of the thing you're tracking
type: string
hash:
description: hash is an optional field set for resources without generation that are content sensitive like secrets and configmaps
type: string
lastGeneration:
description: lastGeneration is the last generation of the workload controller involved
type: integer
format: int64
name:
description: name is the name of the thing you're tracking
type: string
namespace:
description: namespace is where the thing you're tracking is
type: string
resource:
description: resource is the resource type of the thing you're tracking
type: string
x-kubernetes-list-map-keys:
- group
- resource
- namespace
- name
x-kubernetes-list-type: map
latestAvailableRevision:
description: latestAvailableRevision is the deploymentID of the most recent deployment
type: integer
format: int32
x-kubernetes-validations:
- rule: self >= oldSelf
message: must only increase
observedGeneration:
description: observedGeneration is the last generation change you've dealt with
type: integer
format: int64
readyReplicas:
description: readyReplicas indicates how many replicas are ready and at the desired state
type: integer
format: int32
version:
description: version is the level this availability applies to
type: string
served: true
storage: true
subresources:
Expand Down
147 changes: 3 additions & 144 deletions config/schemapatch/operator.openshift.io_kueues.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.17.2
controller-gen.kubebuilder.io/version: v0.4.1
name: kueues.operator.openshift.io
spec:
group: operator.openshift.io
Expand Down Expand Up @@ -39,6 +39,7 @@ spec:
metadata:
type: object
spec:
$ref: '#/definitions/github.com~1openshift~1api~1operator~1v1~0OperatorSpec'
description: spec holds user settable values for configuration
type: object
required:
Expand Down Expand Up @@ -387,152 +388,10 @@ spec:
evicted and requeued in the same cluster queue.
Defaults to 5min.
type: string
logLevel:
description: |-
logLevel is an intent based logging for an overall component. It does not give fine grained control, but it is a
simple way to manage coarse grained logging choices that operators have to interpret for their operands.

Valid values are: "Normal", "Debug", "Trace", "TraceAll".
Defaults to "Normal".
type: string
default: Normal
enum:
- ""
- Normal
- Debug
- Trace
- TraceAll
managementState:
description: managementState indicates whether and how the operator should manage the component
type: string
pattern: ^(Managed|Unmanaged|Force|Removed)$
observedConfig:
description: |-
observedConfig holds a sparse config that controller has observed from the cluster state. It exists in spec because
it is an input to the level for the operator
type: object
nullable: true
x-kubernetes-preserve-unknown-fields: true
operatorLogLevel:
description: |-
operatorLogLevel is an intent based logging for the operator itself. It does not give fine grained control, but it is a
simple way to manage coarse grained logging choices that operators have to interpret for themselves.

Valid values are: "Normal", "Debug", "Trace", "TraceAll".
Defaults to "Normal".
type: string
default: Normal
enum:
- ""
- Normal
- Debug
- Trace
- TraceAll
unsupportedConfigOverrides:
description: |-
unsupportedConfigOverrides overrides the final configuration that was computed by the operator.
Red Hat does not support the use of this field.
Misuse of this field could lead to unexpected behavior or conflict with other configuration options.
Seek guidance from the Red Hat support before using this field.
Use of this property blocks cluster upgrades, it must be removed before upgrading your cluster.
type: object
nullable: true
x-kubernetes-preserve-unknown-fields: true
status:
$ref: '#/definitions/github.com~1openshift~1api~1operator~1v1~0OperatorStatus'
description: status holds observed values from the cluster. They may not be overridden.
type: object
properties:
conditions:
description: conditions is a list of conditions and their status
type: array
items:
description: OperatorCondition is just the standard condition fields.
type: object
required:
- lastTransitionTime
- status
- type
properties:
lastTransitionTime:
description: |-
lastTransitionTime is the last time the condition transitioned from one status to another.
This should be when the underlying condition changed. If that is not known, then using the time when the API field changed is acceptable.
type: string
format: date-time
message:
type: string
reason:
type: string
status:
description: status of the condition, one of True, False, Unknown.
type: string
enum:
- "True"
- "False"
- Unknown
type:
description: type of condition in CamelCase or in foo.example.com/CamelCase.
type: string
maxLength: 316
pattern: ^([a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*/)?(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])$
x-kubernetes-list-map-keys:
- type
x-kubernetes-list-type: map
generations:
description: generations are used to determine when an item needs to be reconciled or has changed in a way that needs a reaction.
type: array
items:
description: GenerationStatus keeps track of the generation for a given resource so that decisions about forced updates can be made.
type: object
required:
- group
- name
- namespace
- resource
properties:
group:
description: group is the group of the thing you're tracking
type: string
hash:
description: hash is an optional field set for resources without generation that are content sensitive like secrets and configmaps
type: string
lastGeneration:
description: lastGeneration is the last generation of the workload controller involved
type: integer
format: int64
name:
description: name is the name of the thing you're tracking
type: string
namespace:
description: namespace is where the thing you're tracking is
type: string
resource:
description: resource is the resource type of the thing you're tracking
type: string
x-kubernetes-list-map-keys:
- group
- resource
- namespace
- name
x-kubernetes-list-type: map
latestAvailableRevision:
description: latestAvailableRevision is the deploymentID of the most recent deployment
type: integer
format: int32
x-kubernetes-validations:
- rule: self >= oldSelf
message: must only increase
observedGeneration:
description: observedGeneration is the last generation change you've dealt with
type: integer
format: int64
readyReplicas:
description: readyReplicas indicates how many replicas are ready and at the desired state
type: integer
format: int32
version:
description: version is the level this availability applies to
type: string
served: true
storage: true
subresources:
Expand Down
12 changes: 7 additions & 5 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,19 @@ go 1.23.0

toolchain go1.23.4

replace sigs.k8s.io/controller-tools => github.com/openshift/controller-tools v0.12.1-0.20250218152928-be0dbe446d10

require (
github.com/google/go-cmp v0.6.0
github.com/onsi/ginkgo/v2 v2.22.2
github.com/onsi/gomega v1.36.2
github.com/openshift/api v0.0.0-20250131134714-405421854f2b
github.com/openshift/api v0.0.0-20250305225826-b8da3bfeaf77
github.com/openshift/build-machinery-go v0.0.0-20250211133638-a00a772ae1a2
github.com/openshift/client-go v0.0.0-20250131180035-f7ec47e2d87a
github.com/openshift/library-go v0.0.0-20250228164547-bad2d1bf3a37
github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring v0.74.0
github.com/prometheus/client_golang v1.20.5
github.com/spf13/cobra v1.8.1
github.com/spf13/cobra v1.9.1
k8s.io/api v0.32.2
k8s.io/apiextensions-apiserver v0.32.2
k8s.io/apimachinery v0.32.2
Expand All @@ -23,7 +25,7 @@ require (
k8s.io/component-base v0.32.2
k8s.io/klog/v2 v2.130.1
k8s.io/utils v0.0.0-20241210054802-24370beab758
sigs.k8s.io/controller-tools v0.17.2
sigs.k8s.io/controller-tools v0.4.1
sigs.k8s.io/kueue v0.10.2
sigs.k8s.io/structured-merge-diff/v4 v4.4.3
sigs.k8s.io/yaml v1.4.0
Expand Down Expand Up @@ -101,15 +103,15 @@ require (
go.uber.org/zap v1.27.0 // indirect
golang.org/x/crypto v0.36.0 // indirect
golang.org/x/exp v0.0.0-20240719175910-8a7402abbf56 // indirect
golang.org/x/mod v0.22.0 // indirect
golang.org/x/mod v0.23.0 // indirect
golang.org/x/net v0.37.0 // indirect
golang.org/x/oauth2 v0.23.0 // indirect
golang.org/x/sync v0.12.0 // indirect
golang.org/x/sys v0.31.0 // indirect
golang.org/x/term v0.30.0 // indirect
golang.org/x/text v0.23.0 // indirect
golang.org/x/time v0.7.0 // indirect
golang.org/x/tools v0.29.0 // indirect
golang.org/x/tools v0.30.0 // indirect
google.golang.org/genproto/googleapis/api v0.0.0-20240826202546-f6391c0de4c7 // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20240826202546-f6391c0de4c7 // indirect
google.golang.org/grpc v1.65.0 // indirect
Expand Down
Loading