← Back to Pull requests

OCPNODE-4074: Add additional storage configuration support for CRI-O #5666

Closed
unknown closed this pull request without merging on Mar 17, 2026 00:36 UTC
View on GitHub
unknown unknown commented on Feb 17, 2026 09:29 UTC
Author

- What I did

Implement MCO support for the AdditionalStorageConfig feature gate, adding three new ContainerRuntimeConfig fields:

  • additionalLayerStores: configures extra read-only layer stores in storage.conf

  • additionalImageStores: configures extra read-only image stores in storage.conf

  • additionalArtifactStores: configures extra artifact stores via CRI-O drop-in
  • All fields are gated behind the AdditionalStorageConfig feature gate (DevPreviewNoUpgrade/TechPreviewNoUpgrade) in both the controller and bootstrap code paths, including internal gating in updateStorageConfig and createCRIODropinFiles helpers. 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 the AdditionalStorageConfig feature gate.

    Diff: 174 lines (+130 / -44) across 2 files Reviewer: rphillips Review duration: 39786m
    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
    0.59
    Model 2 · Review Depth (DistilBERT)
    Depth Score: 0.17 · 1 substantive comment(s)
    0.17
    Model 3 · Review Timing & Attention
    Session adequacy: 100% · Reviewer familiarity: 35%
    60%
    Bedrock Claude 3 · Risk Narration
    (disconnected)
    Groq
    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
    Reviewers
    Assignees
    Unassigned
    Labels
    risk: low confidence: 60.5% reviewed sensitive_module
    Vouch Risk Breakdown
    AI-powered review risk analysis
    Change Risk
    Change Risk · Model 1 (XGBoost)
    Predicted defect probability (0.00–1.00) based on diff churn, modified sensitive files, and author risk history.
    Score: 58.5% (MEDIUM) · Higher = larger blast radius
    58.5%
    Review Confidence
    Review Confidence · Models 2 & 3
    Scrutiny score (0.00–1.00) combining DistilBERT semantic review depth with reviewer familiarity and session dwell time.
    Score: 60.5% · Lower = rushed or shallow review
    60.5%
    Residual Risk
    Residual Risk · Core Equation
    Residual = Change × (1 − Confidence)
    Unmitigated risk surviving review. ≥ 0.65 triggers an automated re-queue to protect production.
    Score: 23.1% · Safe to merge
    23.1%