MCO: use component-scoped vSphere credentials for boot image updates #6641
All Vouch review confidence checks passed
Residual risk 0.21 = Change Risk (0.39) × (1 − Review Confidence (0.47)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.39 · 243 lines diff across 3 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.02 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Shallow Review Depth
shallow_review_depth
0.344
Diff Size
diff_size
0.329
Real PR Conversation Timeline
1 comments
"Review active on #6641"
general
weight: 0.35
redhat-chai-bot
Summary
openshift-machine-config-operator/vsphere-cloud-credentials.kube-system/vsphere-creds, using per-vCenter credential keys with no root-secret fallback.Validation
Unit and focused tests, race tests, vet, repository lint, native controller build, generation/template checks, and documentation checks passed on the committed revision.
Follow-up and limitations
Installer automation for provisioning the MCO-specific Secret remains follow-up work. This change has not been validated against a live vSphere environment and does not claim a verified minimum vCenter permission set. The recovery unit test stubs the synchronization handler; constructor/informer wiring and production synchronization are not covered by an end-to-end recovery test.
---
AI-generated. Review for accuracy.
@rvanderp3 requested from Slack
<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
Summary by CodeRabbit
New Features
vSphere boot image updates now use credentials from the dedicated
vsphere-cloud-credentialsSecret in the Machine Config Operator namespace, with no fallback to the legacy Secret.Changes to the credentials Secret trigger boot image reconciliation. Updating credentials can resolve the related degraded condition.
Added automatic provisioning support for vSphere credentials.
Documentation
Added guidance on setting up credentials, preparing for upgrades, required permissions, and recovering from controller failures.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->