REPLACE-WITH-JIRA-KEY: Bump k8s dependencies to v0.36.2 (Go 1.26)#3064
REPLACE-WITH-JIRA-KEY: Bump k8s dependencies to v0.36.2 (Go 1.26)#3064dfarrell07 wants to merge 5 commits into
Conversation
go get k8s.io/api@v0.36.2 go get k8s.io/apiextensions-apiserver@v0.36.2 go get k8s.io/apiserver@v0.36.2 go get k8s.io/client-go@v0.36.2 go get k8s.io/code-generator@v0.36.2 go get k8s.io/component-base@v0.36.2 go get k8s.io/kms@v0.36.2 go get k8s.io/kube-aggregator@v0.36.2 go get k8s.io/kube-proxy@v0.36.2 go get sigs.k8s.io/controller-runtime@v0.24.1 go get github.com/openshift/api go get github.com/openshift/build-machinery-go go get github.com/openshift/client-go go get github.com/openshift/library-go go get k8s.io/apimachinery go get k8s.io/gengo/v2 go get k8s.io/klog/v2 go get k8s.io/kube-openapi go get k8s.io/utils go get sigs.k8s.io/apiserver-network-proxy/konnectivity-client go get sigs.k8s.io/controller-tools go get sigs.k8s.io/json go get sigs.k8s.io/kube-storage-version-migrator go get sigs.k8s.io/randfill go get sigs.k8s.io/structured-merge-diff/v6 go get sigs.k8s.io/yaml go mod tidy Signed-off-by: Daniel Farrell <dfarrell@redhat.com> Assisted-by: Claude Code <noreply@anthropic.com>
Signed-off-by: Daniel Farrell <dfarrell@redhat.com> Assisted-by: Claude Code <noreply@anthropic.com>
./.ci-operator.yaml ./Dockerfile Signed-off-by: Daniel Farrell <dfarrell@redhat.com> Assisted-by: Claude Code <noreply@anthropic.com>
k8s 1.36 enables WatchListClient by default, which changes the initial list mechanism to streaming lists. Fake clientsets don't implement this protocol, causing informer hangs in tests. Signed-off-by: Daniel Farrell <dfarrell@redhat.com> Assisted-by: Claude Code <noreply@anthropic.com>
The golang-1.26 builder images exist in the openshift-5.0 stream, not openshift-4.22. Aligns with cloud-network-config-controller which already uses golang-1.26-openshift-5.0 for its k8s 1.36 rebase. Signed-off-by: Daniel Farrell <dfarrell@redhat.com> Assisted-by: Claude Code <noreply@anthropic.com>
|
Pipeline controller notification For optional jobs, comment This repository is configured in: LGTM mode |
|
Skipping CI for Draft Pull Request. |
|
Important Review skippedDraft detected. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Repository YAML (base), Central YAML (inherited) Review profile: CHILL Plan: Enterprise Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: dfarrell07 The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
Summary
Rebase cluster-network-operator k8s dependencies from v0.35.2 to v0.36.2,
updating Go from 1.25 to 1.26 and the OCP stream from 4.22 to 5.0.
What changed
Commits
f81e270dad3f9242dd4162cbcc2e029f1441511c7f653Verification
go build ./...— PASSgo vet ./...— PASSgolangci-lint run— PASS (0 issues)go test ./pkg/... ./cmd/...— PASS (1 pre-existing container-only failure in proxyconfig: missing /etc/pki/ca-trust/extracted/pem/tls-ca-bundle.pem)go test -run='^$' -count=0 ./...) — PASSSecurity notes
This rebase fixes 9 CVEs in transitive dependencies:
All commits carry
Assisted-by: Claude Codetrailers.