OCPBUGS-90560: remove GCP boot disk image defaulting from admission webhook - #1525
OCPBUGS-90560: remove GCP boot disk image defaulting from admission webhook#1525nader-ziada wants to merge 2 commits into
Conversation
Stop setting disk.Image at admission time so the GCP provider actuator can resolve it dynamically at reconcile time using the coreos-bootimages ConfigMap and machine architecture. Add RBAC for the machine-api-controllers SA to read the coreos-bootimages ConfigMap in the MCO namespace. Signed-off-by: Nader Ziada <nziada@redhat.com>
|
@nader-ziada: This pull request references Jira Issue OCPBUGS-90560, 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. |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository: openshift/coderabbit/.coderabbit.yaml Review profile: CHILL Plan: Enterprise Run ID: 📒 Files selected for processing (1)
Included review availability: Your plan provides up to 12 included reviews per hour; 11 remain after this review. WalkthroughThe webhook no longer defaults GCP disk images. Related test fixtures omit image values. New RBAC resources grant the machine API controllers access to boot image resources. ChangesGCP disk image handling
Machine API RBAC
Priority: ⬇️ Low Estimated code review effort: 3 (Moderate) | ~20 minutes Merge Risk: ⚪ Minimal · up to The change removes webhook image defaulting and grants the controller read access needed to resolve boot images during reconciliation. No concrete current-head merge-blocking risk is identified. 🚥 Pre-merge checks | ✅ 15✅ Passed checks (15 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
|
/cc @RadekManak |
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: 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 |
|
This PR should only merge after openshift/machine-api-provider-gcp#181 |
|
/retest |
The GCP actuator resolves boot disk images from the active OS stream, so the machine-api controller service account needs read access to the machineconfiguration.openshift.io osimagestreams resource. Signed-off-by: Nader Ziada <nziada@redhat.com>
|
@nader-ziada: This pull request references Jira Issue OCPBUGS-90560, 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 okd-scos-images |
1 similar comment
|
/test okd-scos-images |
|
@nader-ziada: 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. |
Stop setting disk.Image at admission time so the GCP provider actuator can resolve it dynamically at reconcile time using the coreos-bootimages ConfigMap and machine architecture. Add RBAC for the machine-api-controllers SA to read the coreos-bootimages ConfigMap in the MCO namespace.
related to openshift/machine-api-provider-gcp#181
Summary by CodeRabbit
New Features
Bug Fixes