Skip to content

Commit 0298dc1

Browse files
committed
update to golang 1.25 and update openshift dependencies
1 parent 37b4133 commit 0298dc1

File tree

199 files changed

+5187
-9234
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

199 files changed

+5187
-9234
lines changed

Dockerfile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM brew.registry.redhat.io/rh-osbs/openshift-golang-builder:rhel_9_1.24 as builder
1+
FROM brew.registry.redhat.io/rh-osbs/openshift-golang-builder:rhel_9_1.25 as builder
22
WORKDIR /go/src/github.com/openshift/kueue-operator
33
COPY . .
44
RUN make build --warn-undefined-variables
@@ -11,7 +11,7 @@ COPY --from=builder /go/src/github.com/openshift/kueue-operator/LICENSE /license
1111
LABEL io.k8s.display-name="Red Hat Build of Kueue Operator based on RHEL 9"
1212
LABEL io.k8s.description="This is a component of OpenShift and manages kueue based on RHEL 9"
1313
LABEL com.redhat.component="kueue-operator-container"
14-
LABEL com.redhat.openshift.versions="v4.17-v4.18"
14+
LABEL com.redhat.openshift.versions="v4.18-v4.19-v4.20-v4.21"
1515
LABEL summary="kueue-operator"
1616
LABEL url="https://github.com/openshift/kueue-operator"
1717
LABEL io.openshift.expose-services=""
@@ -20,8 +20,8 @@ LABEL description="kueue-operator-container"
2020
LABEL distribution-scope="public"
2121
LABEL name="kueue-operator-rhel9-operator"
2222
LABEL vendor="Red Hat, Inc."
23-
LABEL version=0.1.0
24-
LABEL release=0.1.0
23+
LABEL version=1.2.0
24+
LABEL release=1.2.0
2525
LABEL maintainer="Node team, <[email protected]>"
2626

2727
USER 1001

Dockerfile.ci

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM registry.ci.openshift.org/ocp/builder:rhel-9-golang-1.24-openshift-4.20 AS builder
1+
FROM registry.ci.openshift.org/ocp/builder:rhel-9-golang-1.25-openshift-4.21 AS builder
22
WORKDIR /go/src/github.com/openshift/kueue-operator
33
COPY . .
44

Dockerfile.kueue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM brew.registry.redhat.io/rh-osbs/openshift-golang-builder:rhel_9_1.24 AS build
1+
FROM brew.registry.redhat.io/rh-osbs/openshift-golang-builder:rhel_9_1.25 AS build
22

33
ARG TARGETOS
44
ARG TARGETARCH

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ GO_BUILD_FLAGS :=-tags strictfipsruntime
1313

1414
IMAGE_REGISTRY ?=registry.svc.ci.openshift.org
1515

16-
OPERATOR_VERSION ?= 1.2.0
16+
OPERATOR_VERSION ?= 1.3.0
1717
OPERATOR_SDK_VERSION ?= v1.37.0
1818
# These are targets for pushing images
1919
OPERATOR_IMAGE ?= registry.redhat.io/kueue/kueue-rhel9-operator:latest
@@ -63,7 +63,7 @@ code-gen: ## Generate code containing DeepCopy, DeepCopyInto, and DeepCopyObject
6363

6464
.PHONY: generate-clients
6565
generate-clients:
66-
GO=GO111MODULE=on GOTOOLCHAIN=go1.24.0 GOFLAGS=-mod=readonly hack/update-codegen.sh
66+
GO=GO111MODULE=on GOTOOLCHAIN=go1.25.0 GOFLAGS=-mod=readonly hack/update-codegen.sh
6767

6868
.PHONY: get-kueue-must-gather-image
6969
get-kueue-must-gather-image:

bundle.Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ LABEL operators.operatorframework.io.metrics.project_layout=go.kubebuilder.io/v4
2929
LABEL io.k8s.display-name="Red Hat build of Kueue Operator bundle"
3030
LABEL io.k8s.description="This is a bundle for the Red Hat build of Kueue Operator"
3131
LABEL com.redhat.component="kueue-operator-bundle"
32-
LABEL com.redhat.openshift.versions="v4.18-v4.19"
32+
LABEL com.redhat.openshift.versions="v4.18-v4.19-v4.20-v4.21"
3333
LABEL name="kueue-operator-rhel9-operator-bundle"
3434
LABEL summary="kueue-operator-bundle"
3535
LABEL url="https://github.com/openshift/kueue-operator"
@@ -38,8 +38,8 @@ LABEL io.openshift.expose-services=""
3838
LABEL io.openshift.tags="openshift,kueue-operator-bundle"
3939
LABEL description="kueue-operator-bundle"
4040
LABEL distribution-scope="public"
41-
LABEL release=1.2.0
42-
LABEL version=1.2.0
41+
LABEL release=1.3.0
42+
LABEL version=1.3.0
4343

4444
LABEL maintainer="Node team, <[email protected]>"
4545

bundle/manifests/kueue-operator.clusterserviceversion.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ metadata:
2828
]
2929
capabilities: Basic Install
3030
console.openshift.io/operator-monitoring-default: "true"
31-
createdAt: "2025-11-14T19:51:19Z"
31+
createdAt: "2025-11-26T14:43:12Z"
3232
features.operators.openshift.io/cnf: "false"
3333
features.operators.openshift.io/cni: "false"
3434
features.operators.openshift.io/csi: "false"
@@ -50,7 +50,7 @@ metadata:
5050
operatorframework.io/arch.arm64: supported
5151
operatorframework.io/arch.ppc64le: supported
5252
operatorframework.io/arch.s390x: supported
53-
name: kueue-operator.v1.2.0
53+
name: kueue-operator.v1.3.0
5454
namespace: placeholder
5555
spec:
5656
apiservicedefinitions: {}
@@ -336,4 +336,4 @@ spec:
336336
name: operand-image
337337
- image: registry.redhat.io/kueue/kueue-must-gather-rhel9:latest
338338
name: must-gather
339-
version: 1.2.0
339+
version: 1.3.0

deploy/base-csv/kueue-operator.clusterserviceversion.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ metadata:
2121
operatorframework.io/suggested-namespace: openshift-kueue-operator
2222
operators.openshift.io/valid-subscription: '["OpenShift Kubernetes Engine", "OpenShift Container Platform", "OpenShift Platform Plus"]'
2323
operators.operatorframework.io/builder: operator-sdk-v1.33.0
24-
name: kueue-operator.v1.1.0
24+
name: kueue-operator.v1.3.0
2525
namespace: placeholder
2626
labels:
2727
operatorframework.io/arch.amd64: supported
@@ -69,5 +69,5 @@ spec:
6969
name: operand-image
7070
- name: must-gather
7171
image: registry.redhat.io/kueue/kueue-must-gather-rhel9@latest
72-
version: 1.2.0
72+
version: 1.3.0
7373
minKubeVersion: 1.28.0

go.mod

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@ require (
1111
github.com/google/go-cmp v0.7.0
1212
github.com/onsi/ginkgo/v2 v2.27.2
1313
github.com/onsi/gomega v1.38.2
14-
github.com/openshift/api v0.0.0-20250710004639-926605d3338b
15-
github.com/openshift/build-machinery-go v0.0.0-20250530140348-dc5b2804eeee
16-
github.com/openshift/client-go v0.0.0-20250710075018-396b36f983ee
17-
github.com/openshift/library-go v0.0.0-20250710130336-73c7662bc565
14+
github.com/openshift/api v0.0.0-20251126092650-ef9f99496051
15+
github.com/openshift/build-machinery-go v0.0.0-20251023084048-5d77c1a5e5af
16+
github.com/openshift/client-go v0.0.0-20251125141819-b6281947c285
17+
github.com/openshift/library-go v0.0.0-20251120164824-14a789e09884
1818
github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring v0.74.0
1919
github.com/prometheus/client_golang v1.23.2
2020
github.com/spf13/cobra v1.10.1
@@ -25,12 +25,12 @@ require (
2525
k8s.io/code-generator v0.34.2
2626
k8s.io/component-base v0.34.2
2727
k8s.io/klog/v2 v2.130.1
28-
k8s.io/kube-aggregator v0.33.3
28+
k8s.io/kube-aggregator v0.34.1
2929
k8s.io/utils v0.0.0-20251002143259-bc988d571ff4
3030
sigs.k8s.io/controller-runtime v0.22.4
3131
sigs.k8s.io/controller-tools v0.4.1
3232
sigs.k8s.io/kueue v0.10.2
33-
sigs.k8s.io/structured-merge-diff/v4 v4.6.0
33+
sigs.k8s.io/structured-merge-diff/v6 v6.3.1
3434
sigs.k8s.io/yaml v1.6.0
3535
)
3636

@@ -138,5 +138,4 @@ require (
138138
sigs.k8s.io/json v0.0.0-20250730193827-2d320260d730 // indirect
139139
sigs.k8s.io/kube-storage-version-migrator v0.0.6-0.20230721195810-5c8923c5ff96 // indirect
140140
sigs.k8s.io/randfill v1.0.0 // indirect
141-
sigs.k8s.io/structured-merge-diff/v6 v6.3.1 // indirect
142141
)

go.sum

Lines changed: 10 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,6 @@ github.com/google/cel-go v0.26.0 h1:DPGjXackMpJWH680oGY4lZhYjIameYmR+/6RBdDGmaI=
9494
github.com/google/cel-go v0.26.0/go.mod h1:A9O8OU9rdvrK5MQyrqfIxo1a0u4g3sF8KB6PUIaryMM=
9595
github.com/google/gnostic-models v0.7.0 h1:qwTtogB15McXDaNqTZdzPJRHvaVJlAl+HVQnLmJEJxo=
9696
github.com/google/gnostic-models v0.7.0/go.mod h1:whL5G0m6dmc5cPxKc5bdKdEN3UjI7OUGxBlw57miDrQ=
97-
github.com/google/go-cmp v0.5.9/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY=
9897
github.com/google/go-cmp v0.7.0 h1:wk8382ETsv4JYUZwIsn6YpYiWiBsYLSJiTsyBybVuN8=
9998
github.com/google/go-cmp v0.7.0/go.mod h1:pXiqmnSA92OHEEa9HXL2W4E7lf9JzCmGVUdgjX3N/iU=
10099
github.com/google/gofuzz v1.0.0/go.mod h1:dBl0BpW6vV/+mYPU4Po3pmUjxk6FQPldtuIdl/M65Eg=
@@ -169,16 +168,16 @@ github.com/onsi/ginkgo/v2 v2.27.2 h1:LzwLj0b89qtIy6SSASkzlNvX6WktqurSHwkk2ipF/Ns
169168
github.com/onsi/ginkgo/v2 v2.27.2/go.mod h1:ArE1D/XhNXBXCBkKOLkbsb2c81dQHCRcF5zwn/ykDRo=
170169
github.com/onsi/gomega v1.38.2 h1:eZCjf2xjZAqe+LeWvKb5weQ+NcPwX84kqJ0cZNxok2A=
171170
github.com/onsi/gomega v1.38.2/go.mod h1:W2MJcYxRGV63b418Ai34Ud0hEdTVXq9NW9+Sx6uXf3k=
172-
github.com/openshift/api v0.0.0-20250710004639-926605d3338b h1:A8OY6adT2aZNp7tsGsilHuQ3RqhzrFx5dzGr/UwXfJg=
173-
github.com/openshift/api v0.0.0-20250710004639-926605d3338b/go.mod h1:SPLf21TYPipzCO67BURkCfK6dcIIxx0oNRVWaOyRcXM=
174-
github.com/openshift/build-machinery-go v0.0.0-20250530140348-dc5b2804eeee h1:+Sp5GGnjHDhT/a/nQ1xdp43UscBMr7G5wxsYotyhzJ4=
175-
github.com/openshift/build-machinery-go v0.0.0-20250530140348-dc5b2804eeee/go.mod h1:8jcm8UPtg2mCAsxfqKil1xrmRMI3a+XU2TZ9fF8A7TE=
176-
github.com/openshift/client-go v0.0.0-20250710075018-396b36f983ee h1:tOtrrxfDEW8hK3eEsHqxsXurq/D6LcINGfprkQC3hqY=
177-
github.com/openshift/client-go v0.0.0-20250710075018-396b36f983ee/go.mod h1:zhRiYyNMk89llof2qEuGPWPD+joQPhCRUc2IK0SB510=
171+
github.com/openshift/api v0.0.0-20251126092650-ef9f99496051 h1:yEwEg7/E4qVFibWBKJd4REIbY6NSmZ9mK3ugL9Tev/E=
172+
github.com/openshift/api v0.0.0-20251126092650-ef9f99496051/go.mod h1:d5uzF0YN2nQQFA0jIEWzzOZ+edmo6wzlGLvx5Fhz4uY=
173+
github.com/openshift/build-machinery-go v0.0.0-20251023084048-5d77c1a5e5af h1:UiYYMi/CCV+kwWrXuXfuUSOY2yNXOpWpNVgHc6aLQlE=
174+
github.com/openshift/build-machinery-go v0.0.0-20251023084048-5d77c1a5e5af/go.mod h1:8jcm8UPtg2mCAsxfqKil1xrmRMI3a+XU2TZ9fF8A7TE=
175+
github.com/openshift/client-go v0.0.0-20251125141819-b6281947c285 h1:D3IKKxAR4Fvzi+kpw7Ji8bOfUlhSYjVqMi1efkBrwUU=
176+
github.com/openshift/client-go v0.0.0-20251125141819-b6281947c285/go.mod h1:58e6xmnj6BK9memKOhU1LVG5b6i88bn3hkYLdqKCPK0=
178177
github.com/openshift/controller-tools v0.12.1-0.20250402141027-24f590ca0886 h1:Ez6hT01wFM+C1O/tY+n8AugjOTvtqgovqUFOyaF6ObI=
179178
github.com/openshift/controller-tools v0.12.1-0.20250402141027-24f590ca0886/go.mod h1:LkvYw1gDIjjhvamu3BGP9z4bgWbtOtvK7KNF3kw1Shg=
180-
github.com/openshift/library-go v0.0.0-20250710130336-73c7662bc565 h1:DtyzonCpVZxqYp4rp2cCRwBTEXZWw5fX9YE0tCM5hi8=
181-
github.com/openshift/library-go v0.0.0-20250710130336-73c7662bc565/go.mod h1:tptKNust9MdRI0p90DoBSPHIrBa9oh+Rok59tF0vT8c=
179+
github.com/openshift/library-go v0.0.0-20251120164824-14a789e09884 h1:6512TMT14gnXQ4vyshzAQGjkctU0PO9G+y0tcBjw6Vk=
180+
github.com/openshift/library-go v0.0.0-20251120164824-14a789e09884/go.mod h1:ErDfiIrPHH+menTP/B4LKd0nxFDdvCbTamAc6SWMIh8=
182181
github.com/orisano/pixelmatch v0.0.0-20220722002657-fb0b55479cde/go.mod h1:nZgzbfBr3hhjoZnS66nKrHmduYNpc34ny7RK4z5/HM0=
183182
github.com/pkg/profile v1.7.0 h1:hnbDkaNWPCLMO9wGLdBFTIZvzDrDfBM2072E1S9gJkA=
184183
github.com/pkg/profile v1.7.0/go.mod h1:8Uer0jas47ZQMJ7VD+OHknK4YDY07LPUC6dEvqDjvNo=
@@ -387,8 +386,8 @@ k8s.io/klog/v2 v2.130.1 h1:n9Xl7H1Xvksem4KFG4PYbdQCQxqc/tTUyrgXaOhHSzk=
387386
k8s.io/klog/v2 v2.130.1/go.mod h1:3Jpz1GvMt720eyJH1ckRHK1EDfpxISzJ7I9OYgaDtPE=
388387
k8s.io/kms v0.34.2 h1:91rj4MDZLyIT9KxG8J5/CcMH666Z88CF/xJQeuPfJc8=
389388
k8s.io/kms v0.34.2/go.mod h1:s1CFkLG7w9eaTYvctOxosx88fl4spqmixnNpys0JAtM=
390-
k8s.io/kube-aggregator v0.33.3 h1:Pa6hQpKJMX0p0D2wwcxXJgu02++gYcGWXoW1z1ZJDfo=
391-
k8s.io/kube-aggregator v0.33.3/go.mod h1:hwvkUoQ8q6gv0+SgNnlmQ3eUue1zHhJKTHsX7BwxwSE=
389+
k8s.io/kube-aggregator v0.34.1 h1:WNLV0dVNoFKmuyvdWLd92iDSyD/TSTjqwaPj0U9XAEU=
390+
k8s.io/kube-aggregator v0.34.1/go.mod h1:RU8j+5ERfp0h+gIvWtxRPfsa5nK7rboDm8RST8BJfYQ=
392391
k8s.io/kube-openapi v0.0.0-20250910181357-589584f1c912 h1:Y3gxNAuB0OBLImH611+UDZcmKS3g6CthxToOb37KgwE=
393392
k8s.io/kube-openapi v0.0.0-20250910181357-589584f1c912/go.mod h1:kdmbQkyfwUagLfXIad1y2TdrjPFWp2Q89B3qkRwf/pQ=
394393
k8s.io/utils v0.0.0-20251002143259-bc988d571ff4 h1:SjGebBtkBqHFOli+05xYbK8YF1Dzkbzn+gDM4X9T4Ck=
@@ -401,13 +400,9 @@ sigs.k8s.io/json v0.0.0-20250730193827-2d320260d730 h1:IpInykpT6ceI+QxKBbEflcR5E
401400
sigs.k8s.io/json v0.0.0-20250730193827-2d320260d730/go.mod h1:mdzfpAEoE6DHQEN0uh9ZbOCuHbLK5wOm7dK4ctXE9Tg=
402401
sigs.k8s.io/kube-storage-version-migrator v0.0.6-0.20230721195810-5c8923c5ff96 h1:PFWFSkpArPNJxFX4ZKWAk9NSeRoZaXschn+ULa4xVek=
403402
sigs.k8s.io/kube-storage-version-migrator v0.0.6-0.20230721195810-5c8923c5ff96/go.mod h1:EOBQyBowOUsd7U4CJnMHNE0ri+zCXyouGdLwC/jZU+I=
404-
sigs.k8s.io/randfill v0.0.0-20250304075658-069ef1bbf016/go.mod h1:XeLlZ/jmk4i1HRopwe7/aU3H5n1zNUcX6TM94b3QxOY=
405403
sigs.k8s.io/randfill v1.0.0 h1:JfjMILfT8A6RbawdsK2JXGBR5AQVfd+9TbzrlneTyrU=
406404
sigs.k8s.io/randfill v1.0.0/go.mod h1:XeLlZ/jmk4i1HRopwe7/aU3H5n1zNUcX6TM94b3QxOY=
407-
sigs.k8s.io/structured-merge-diff/v4 v4.6.0 h1:IUA9nvMmnKWcj5jl84xn+T5MnlZKThmUW1TdblaLVAc=
408-
sigs.k8s.io/structured-merge-diff/v4 v4.6.0/go.mod h1:dDy58f92j70zLsuZVuUX5Wp9vtxXpaZnkPGWeqDfCps=
409405
sigs.k8s.io/structured-merge-diff/v6 v6.3.1 h1:JrhdFMqOd/+3ByqlP2I45kTOZmTRLBUm5pvRjeheg7E=
410406
sigs.k8s.io/structured-merge-diff/v6 v6.3.1/go.mod h1:M3W8sfWvn2HhQDIbGWj3S099YozAsymCo/wrT5ohRUE=
411-
sigs.k8s.io/yaml v1.4.0/go.mod h1:Ejl7/uTz7PSA4eKMyQCUTnhZYNmLIl+5c2lQPGR2BPY=
412407
sigs.k8s.io/yaml v1.6.0 h1:G8fkbMSAFqgEFgh4b1wmtzDnioxFCUgTZhlbj5P9QYs=
413408
sigs.k8s.io/yaml v1.6.0/go.mod h1:796bPqUfzR/0jLAl6XjHl3Ck7MiyVv8dbTdyT3/pMf4=

pkg/generated/applyconfiguration/internal/internal.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)