← Back to Pull requests

feat: add ability to specify out of band ocp control plane versions #8240

Closed
unknown closed this pull request without merging on Dec 01, 2026 20:47 UTC
View on GitHub
unknown unknown commented on Nov 24, 2026 14:26 UTC
Author

We want to have the ability to set the control plane release images for the ARO-HCP clusters with the images being outside of any Cincinnatti released channel

There is currently no way to express that: CS rejects any version it does not recognize, and the release image it selects comes from the channel, so a special build cannot be served at all.

Introduce an "out-of-band control-plane version" concept: versions that live outside the channels, are pinned per cluster via the desired control-plane version, and are served from an out of band image repository.

  • internal/cpoutofband package: the allowlist of out-of-band versions, defined in code (no runtime configuration), the payload repository constant, and the HostedCluster marker annotation CS reads to tolerate the unrecognized running version.

  • Creation: a cluster pinned to an out-of-band version is created in CS at its channel's best exact version - the version it would run without the pin. A new create precondition waits until the fleet rollout has selected that best version before creating the cluster in CS.

  • BuildCSCluster maps the CS version ID to the channel best when the desired version is out of band; the pin version itself is never sent to CS.

  • Cluster resources controller: while pinned, the HostedCluster control-plane-only release image (spec.controlPlaneRelease.image) is overridden with the out-of-band payload, while spec.release keeps the image CS selected for the best version, so the data plane follows the version the cluster would run without the pin.

  • Marker annotation: kept on the HostedCluster while the desired OR observed control-plane version is out of band, so CS tolerates the running version across both the pin-on and pin-off rolls and needs no allowlist of its own.

  • Pin release: when the pin auto-releases (desired version flips to the recognized fleet best), the image overlay stops immediately and the marker is removed once the observed version is back in band, reverting to normal truthful CS behavior with no special-cased teardown.
  • Everything is keyed on IsOutOfBandControlPlaneVersion, so with an empty allowlist (the default) all paths behave exactly as before.

    <!-- Link to Jira issue -->

    What

    <!-- Briefly describe what this PR does -->

    Why

    <!-- Briefly explain why this change is needed -->

    Testing

    Testing is required for feature completion and tests should be part of the pull
    request along with the feature changes.

    Describe the testing provided. If you did not add tests, provide a clear
    justification.

  • Unit tests

  • Integration tests

  • E2E tests
  • Special notes for your reviewer

    <!-- optional -->

    PR Checklist

  • Understand Code Review Process managed by OpenShift CI bot

  • PR is scoped to a single task (no mixed concerns)

  • Title follows Conventional Commits format

  • Summary explains the "Why" behind the change

  • Linked to relevant ticket/issue

  • Screenshots included (if dashboards or other UI changes)

  • Self-reviewed the diff

  • CI/CD checks are passing (ignore Tide)

  • Draft PR used for WIP (if applicable)

  • Commit history is clean (rebased/squashed)

  • Tricky code blocks are commented

  • Specific reviewers tagged via /assign command

  • All comment threads resolved before merge
  • If E2E tests are included:

  • E2E tests follow Principles of Good E2E Test Case Design

  • If new E2E use case is covered (via a new test or new check/verifier),

  • demonstrate that the test is able to detect a defect/error and fail with
    proper error message and logs which communicates nature of the problem.

    Diff: 507 lines (+380 / -127) across 6 files Reviewer: miguelsorianod Review duration: 10460m
    All Vouch review confidence checks passed
    Residual risk 0.19 = Change Risk (0.48) × (1 − Review Confidence (0.60)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.48 · 507 lines diff across 6 files
    0.48
    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.373
    Shallow Review Depth shallow_review_depth
    0.289
    Real PR Conversation Timeline
    1 comments
    "Review active on #8240"
    general weight: 0.35
    Assignees
    Unassigned
    Labels
    risk: low confidence: 60.5% reviewed
    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: 47.6% (MEDIUM) · Higher = larger blast radius
    47.6%
    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: 18.8% · Safe to merge
    18.8%
    Repository