CCO-834, CCO-835, CCO-836: Upgrade to Kubernetes 1.36 with CI and e2e tests - #1066
Conversation
|
@ericahinkleRH: This pull request references CCO-834 which is a valid jira issue. Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the story to target the "5.0.0" version, but no target version was set. DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
|
Note Reviews pausedIt looks like this branch is under active development. To avoid overwhelming you with review comments due to an influx of new commits, CodeRabbit has automatically paused this review. You can configure this behavior by changing the Use the following commands to manage reviews:
Use the checkboxes below for quick actions:
WalkthroughThe pull request updates OpenShift and Kubernetes dependencies for Kubernetes 1.36, removes generated no-op default registration, adds Kubernetes 1.36 end-to-end tests, and documents validation, upgrade, and rollback procedures. ChangesKubernetes 1.36 upgrade
Estimated code review effort: 3 (Moderate) | ~25 minutes Suggested reviewers: Sequence Diagram(s)sequenceDiagram
participant TestMain
participant KubernetesAPI
participant CCOPods
TestMain->>KubernetesAPI: resolve kubeconfig and inspect deployment
KubernetesAPI->>CCOPods: identify running CCO pods
TestMain->>CCOPods: fetch recent logs
CCOPods-->>TestMain: return readiness and compatibility log data
KubernetesAPI-->>TestMain: return Available condition
Important Pre-merge checks failedPlease resolve all errors before merging. Addressing warnings is optional. ❌ Failed checks (1 error, 1 warning)
✅ Passed checks (13 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #1066 +/- ##
=======================================
Coverage 47.21% 47.21%
=======================================
Files 97 97
Lines 12650 12650
=======================================
Hits 5973 5973
Misses 6017 6017
Partials 660 660 🚀 New features to boost your workflow:
|
|
/approve |
|
/retest-required |
|
/lgtm |
|
@ericahinkleRH: you cannot LGTM your own PR. DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
|
The verify-deps test is still failing even with deps.diff added. The error shows the vendor patch isn't being recognized correctly. Any suggestions on how to fix the deps.diff format? |
|
/lgtm |
|
I think we can get rid of deps.diff entirely and go with the clean version of the library-go test helpers in the vendor folder |
|
Thanks @dlom! Removed the deps.diff and vendor patch. Using the clean version from |
|
/override ci/prow/security |
|
@dlom: Overrode contexts on behalf of dlom: ci/prow/security DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
|
@dlom The verify-deps test is still failing after removing deps.diff. It's showing differences in the library-go test_helpers.go file, but running |
|
please rerun |
|
/override ci/prow/security |
|
@dlom: Overrode contexts on behalf of dlom: ci/prow/security DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
|
I see... let's wait for openshift/library-go#2171 to merge first before moving forwards with this PR |
|
top level PR we're waiting on is openshift/api#2813 |
Updated to library-go v0.0.0-20260716104731-fdf18b82797f which includes the HasSyncedChecker method required for K8s 1.36 compatibility. This matches the same library-go version used in CCO-834 PR openshift#1066. Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
|
@ericahinkleRH can you squash to one commit please? |
|
@dlom Done! |
|
/retest e2e-hypershift |
|
/test e2e-hypershift |
2 similar comments
|
/test e2e-hypershift |
|
/test e2e-hypershift |
|
Hi @dlom, PR #1066 is ready for final review and merge. This PR completes the K8s 1.36 upgrade for CCO (covers CCO-834, CCO-835, and CCO-836):
All tests are passing, including e2e-hypershift which passed after infrastructure flakes resolved. Since I squashed the commits, the previous approval was invalidated. Could you review and add /lgtm and /approve when you get a chance? Thanks! |
|
/lgtm |
… tests This upgrades the cloud-credential-operator to use Kubernetes 1.36.2 dependencies and adds comprehensive e2e tests to validate the upgrade. Key changes: - Upgrade k8s.io/* dependencies from 0.35.2 to 0.36.2 - Upgrade controller-runtime from 0.23.3 to 0.24.0 - Update OpenShift dependencies for K8s 1.36 compatibility: - openshift/api: updated to version with K8s 1.36 support - openshift/client-go: updated for K8s 1.36 - openshift/library-go: updated for K8s 1.36 - Remove auto-generated zz_generated.defaults.go (no longer needed) - Add K8s 1.36 upgrade e2e test suite - Add upgrade documentation Includes vendor updates from master (PR 1068 GCP universe domain support). Jira: https://issues.redhat.com/browse/CCO-834 Jira: https://issues.redhat.com/browse/CCO-835 Jira: https://issues.redhat.com/browse/CCO-836
|
/test security |
1 similar comment
|
/test security |
|
/override ci/prow/security |
|
/lgtm |
|
@dlom: Overrode contexts on behalf of dlom: ci/prow/security DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
|
@ericahinkleRH: all tests passed! Full PR test history. Your PR dashboard. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here. |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: bandrade, dlom, ericahinkleRH, nader-ziada The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
/verified by ci but if k8s 1.36 breaks anything catastrophic for us it'll break for everyone catastrophically too |
|
@dlom: This PR has been marked as verified by DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
Summary
Upgrades Cloud Credential Operator to Kubernetes 1.36 with complete CI implementation and e2e testing.
Jira Tickets
Changes
CCO-834: Core Upgrade
library-goto v0.0.0-20260716104731-fdf18b82797fCCO-835: CI Implementation
docs/K8S_1.36_UPGRADE.mdCCO-836: E2E Testing
test/e2e/k8s136/k8s_1_36_upgrade_test.goTesting
Documentation
docs/K8S_1.36_UPGRADE.md- Complete upgrade guideRelated PRs
Co-Authored-By: Claude Sonnet 4.5 noreply@anthropic.com