OCPNODE-4074: Add additional storage configuration support for CRI-O #5666
All Vouch review confidence checks passed
Residual risk 0.23 = Change Risk (0.59) × (1 − Review Confidence (0.60)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.59 · 174 lines diff across 2 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.309
Shallow Review Depth
shallow_review_depth
0.289
Sensitive Paths
sensitive_paths
0.059
Real PR Conversation Timeline
1 comments
"Review active on #5666"
general
weight: 0.35
rphillips
- What I did
Implement MCO support for the AdditionalStorageConfig feature gate, adding three new ContainerRuntimeConfig fields:
All fields are gated behind the AdditionalStorageConfig feature gate (DevPreviewNoUpgrade/TechPreviewNoUpgrade) in both the controller and bootstrap code paths, including internal gating in
updateStorageConfigandcreateCRIODropinFileshelpers. Path validation (absolute paths, allowed character set, no consecutive forward slashes) runs regardless of gate state to catch invalid config early. Also fixes pre-existing klog format bugs. Bumps openshift/api to include the merged StorePath API types.Refers to: https://github.com/openshift/enhancements/pull/1934
Jira: https://issues.redhat.com/browse/OCPNODE-4074
- How to verify it
Unit tests cover storage config generation, CRI-O drop-in creation, path validation, and feature gate gating (both enabled and disabled). E2E tests will follow in a separate PR.
- Description for the changelog
Added support for configuring additional layer, image, and artifact stores via
ContainerRuntimeConfig, gated behind theAdditionalStorageConfigfeature gate.