← Back to Pull requests

feat: split cluster service ARM helper identity #6454

Closed
unknown closed this pull request without merging on Aug 07, 2026 05:00 UTC
View on GitHub
unknown unknown commented on Aug 06, 2026 13:07 UTC
Author

https://issues.redhat.com/browse/AROSLSRE-1679

What

  • Add Cluster Service-specific ARM helper client ID and certificate settings, with fallback to the existing shared Backend settings.

  • Update hack/ci provisioning to map the first leased ARM helper to Backend and the second to Cluster Service.

  • Add the dedicated aro-hcp-int-cs-arm-helper INT application, certificate pinning, and subscription RBAC grants.

  • Document the DEV lease mapping and INT credential handoff, and cover both dedicated and fallback Helm rendering.
  • Why

    Backend and Clusters Service currently authenticate through the same ARM helper identity. That causes their ARM traffic and throttling limits to be shared, even when CI leases multiple helper identities. Splitting the service configuration and provisioning overrides allows each workload to use an independent identity while preserving existing behavior until environment-specific overrides are supplied.

    Testing

  • cd config && make materialize

  • make validate-config-pipelines

  • make verify

  • shellcheck hack/ci/build-config-override.sh

  • Exercised dual-lease, transitional single-lease, and invalid second-lease provisioning inputs

  • Bicep compilation for both modified templates

  • sdp-pipelines EV2 generator in resolve mode for the Global entrypoint
  • Special notes for your reviewer

    The new INT application ID must be added to the sensitive Microsoft configuration overlay in sdp-pipelines after the privileged pipeline creates the application. Until that override is present, Cluster Service falls back to the existing shared ARM helper settings.

    No graph, UI, metrics, or performance visualization changes are included.

    Suggested reviewers: @galchammat for mock-identity infrastructure and @tmstff for Cluster Service wiring.

    Diff: 224 lines (+168 / -56) across 2 files Reviewer: miguelsorianod Review duration: 953m
    All Vouch review confidence checks passed
    Residual risk 0.15 = Change Risk (0.37) × (1 − Review Confidence (0.60)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.37 · 224 lines diff across 2 files
    0.37
    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.324
    Shallow Review Depth shallow_review_depth
    0.289
    Real PR Conversation Timeline
    1 comments
    "Review active on #6454"
    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: 36.9% (MEDIUM) · Higher = larger blast radius
    36.9%
    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: 14.6% · Safe to merge
    14.6%
    Repository