MCO-2407: Move OSImageStream sync to MCC #6278
All Vouch review confidence checks passed
Residual risk 0.17 = Change Risk (0.38) × (1 − Review Confidence (0.57)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.38 · 156 lines diff across 1 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.17 · 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
Diff Size
diff_size
0.303
Shallow Review Depth
shallow_review_depth
0.289
Ai Authored
ai_authored
0.050
Real PR Conversation Timeline
1 comments
"Review active on #6278"
general
weight: 0.35
yuqi-zhang
- What I did
This change goes back to the original idea of having a dedicated MCC controller to handle the OSImageStream CR instead of making it another operator sync function.
This allow us to simplify reusing things like the registries configuration, having a single shared image cache, etc.
- How to verify it
TBD
- Description for the changelog
Move OSImageStreams sync logic to a dedicated MCC controller.
<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
Summary by CodeRabbit
New Features
Added an early, feature-gated OSImageStream controller that ensures the singleton exists and keeps default stream/status aligned before the rest of the system starts.
When enabled, OS image selection prefers OSImageStream data; when disabled, it falls back to the prior ConfigMap-based behavior.
Bug Fixes
Improved startup reliability by failing fast if OSImageStream initialization can’t complete.
Updated install version detection to work even when ClusterVersion has no completed history entries.
Chores
Expanded machine-config-controller RBAC to allow updating
osimagestreams/status.<!-- end of auto-generated comment: release notes by coderabbit.ai -->