OCPBUGS-72555: Restrict CPMS boot image configuration to only AWS, GCP and Azure platforms - #5540
Conversation
|
Skipping CI for Draft Pull Request. |
|
@djoshy: This pull request references Jira Issue OCPBUGS-72555, 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: 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. |
|
@djoshy: This pull request references Jira Issue OCPBUGS-72555, which is valid. 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. |
|
/cherry-pick release-4.21 |
|
@djoshy: once the present PR merges, I will cherry-pick it on top of 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. |
|
/test all |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: djoshy, isabella-janssen 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 in IPI on AWS, GCP, Azure and Vsphere We could configure controlplanemachineest without problems in AWS, GCP and Azure In vsphere the configuration is forbidden
Test case "[sig-mco] MCO ControlPlaneMachineSet Author:sregidor-NonHyperShiftHOST-NonPreRelease-Medium-87023-MachineConfiguration status correctly reflects spec changes [Disruptive] [Serial]" was executed to make sure that other configurations can be applied In vshpere the boot images update tests are passing too. /verified by @sergiordlr |
|
@sergiordlr: 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. |
|
/test all |
|
/retest-required |
1 similar comment
|
/retest-required |
|
/retest-required |
1 similar comment
|
/retest-required |
|
@djoshy: The following test failed, say
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. |
62b3e75
into
openshift:main
|
@djoshy: Jira Issue Verification Checks: Jira Issue OCPBUGS-72555 Jira Issue OCPBUGS-72555 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. |
|
@djoshy: #5540 failed to apply on top of branch "release-4.21": 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. |
|
Fix included in accepted release 4.22.0-0.nightly-2026-01-31-004202 |
OCPBUGS-72555: Restrict CPMS boot image configuration to only AWS, GCP and Azure platforms
- What I did
This PR adds a ValidatingAdmissionPolicy that limits addition of the CPMS MachineManager to the boot image configuration only for the AWS, GCP, Azure platforms.
- How to verify it
Note that this feature is still under techpreview, so it will need a cluster launched with that TP enabled. Attempt to add a boot image configuration for controlplanemachinesets:
The APIServer should permit this for the platforms mentioned above and reject it for any other platforms, including vsphere with an error message like: