OCPBUGS-74247: CAPI image overrides aware of registry config#7575
Conversation
|
@clebs: This pull request references Jira Issue OCPBUGS-74247, which is invalid:
Comment The bug has been updated to refer to the pull request using the external bug tracker. 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. |
|
Skipping CI for Draft Pull Request. |
WalkthroughReplaces hardcoded CAPI image override logic with a new backwardcompat.GetBackwardCompatibleCAPIImage call (uses release payloads for versions ≥4.21.0), updates hostedcluster controller and platform branches to use it, and refactors payload image lookup into GetPayloadImageFromRelease. Adds tests for the new behavior. Changes
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~25 minutes ✨ Finishing touches
🧪 Generate unit tests (beta)
Tip 🧪 Unit Test Generation v2 is now available!We have significantly improved our unit test generation capabilities. To enable: Add this to your reviews:
finishing_touches:
unit_tests:
enabled: trueTry it out by using the Have feedback? Share your thoughts on our Discord thread! Comment |
|
/area hypershift-operator |
|
/auto-cc |
|
/jira refresh |
|
@clebs: This pull request references Jira Issue OCPBUGS-74247, which is invalid:
Comment 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. |
|
/test all |
43b8854 to
61189df
Compare
devguyio
left a comment
There was a problem hiding this comment.
LGTM given the comments above will be addressed.
|
/jira refresh |
|
@devguyio: This pull request references Jira Issue OCPBUGS-74247, which is valid. The bug has been moved to the POST state. 3 validation(s) were run on this bug
Requesting review from QA contact: 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. |
|
/test ? |
|
/test e2e-aks |
1 similar comment
|
/test e2e-aks |
|
/test e2e-aks-4-21 |
- capi image overrides now apply registry overrides by using the registry Provider instead of being hardcoded. - the override version has been pinned to 4.20.12 Signed-off-by: Borja Clemente <bclement@redhat.com>
fa4ee58 to
c19038b
Compare
|
/test e2e-aks |
|
@clebs Do we plan to ship this in 4.21? If yes, we will probably need to document how to use the product in disconnected environment. It is using an image from an older release so users will have to call |
|
@mgencur this override is already on 4.21, this PR fixes the issue where it is not reflecting registry overrides. I did align with ACM and ARO to make sure they were aware of this and @lahinson took up the item to document this requirement. |
|
/test e2e-aks |
|
/lgtm |
|
/test e2e-aks |
2 similar comments
|
/test e2e-aks |
|
/test e2e-aks |
|
/verified by @xiuwang |
|
@clebs: 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. |
|
@clebs: 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. |
|
@clebs: Jira Issue Verification Checks: Jira Issue OCPBUGS-74247 Jira Issue OCPBUGS-74247 has been moved to the MODIFIED state and will move to the VERIFIED state when the change is available in an accepted nightly payload. 🕓 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. |
|
Fix included in accepted release 4.22.0-0.nightly-2026-02-02-081748 |
|
/cherry-pick release-4.21 |
|
@clebs: new pull request created: #8559 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. |
|
@clebs: Jira Issue OCPBUGS-74247 is in an unrecognized state (Verified) and will not be moved to the MODIFIED state. 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. |
What this PR does / why we need it:
The current behavior of the CAPI image overrides is not aware of registry configuration and does not apply it, causing CAPI images to be downloaded from quay.io even if a different registry is configured.
To fix the issue:
support/backwardscompatpackage for better isolation and future cleanup.Which issue(s) this PR fixes:
Fixes OCPBUGS-74247
Special notes for your reviewer:
Checklist: