← Back to Pull requests

NE-2978: Stop shipping DNS and DNSNameResolver CRD copies #512

Open
unknown opened this pull request with 253 lines diff across 3 files
View on GitHub
unknown unknown commented on Nov 19, 2026 22:05 UTC
Author

Summary


  • Remove operator-owned DNS and DNSNameResolver payload copies and obsolete CRD generation wiring.

  • Replace CRD-copy verification with a guard against reintroducing payload-owned CRDs.

  • Preserve local-development DNS installation by copying the canonical vendored DNS CRD in hack/release-local.sh.

  • Stop vendoring the unused DNSNameResolver CRD-manifest package while retaining its API types.
  • Dependency and merge hold


    This cleanup must remain on hold behind https://github.com/openshift/api/pull/3189. Merge the API addition first and verify the replacement DNS and DNSNameResolver CRDs in a built release payload, including the transitional DNSNameResolver manifest layout, before considering this cleanup for merge.

    Fresh-install and upgrade verification must confirm CRDs and existing objects are preserved, with Default and TechPreview coverage and HyperShift where configured. Verify exactly one payload copy per feature set after cleanup. No live CRD or CR deletion is introduced.

    Validation


  • Verification, unit tests, operator build and tests-extension build passed locally.

  • Generation produced no drift; shell lint, whitespace checks and focused guard tests passed.

  • End-to-end, install/upgrade and actual release-payload verification remain external merge gates.
  • ---
    AI-generated. Review for accuracy.

    @joelspeed requested from Slack

    Chai persona: NID Engineering

    <!-- This is an auto-generated comment: release notes by coderabbit.ai -->
    <!-- coderabbit-ai-generated:v1 -->

    Summary by CodeRabbit

    Release Packaging
    Local release bundles now include the DNS custom resource definition.
    The DNSNameResolver custom resource definition is not included in the release bundle.
    Validation
    Validation reports an error when either DNS custom resource definition is found in the component’s manifests.
    The component’s manifests no longer include these custom resource definitions.
    <!-- end of auto-generated comment: release notes by coderabbit.ai -->

    Diff: 253 lines (+189 / -64) across 3 files Reviewer: redhat-chai-bot Review duration: 4206m
    All Vouch review confidence checks passed
    Residual risk 0.21 = Change Risk (0.39) × (1 − Review Confidence (0.47)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.39 · 253 lines diff across 3 files
    0.39
    Model 2 · Review Depth (DistilBERT)
    Depth Score: 0.02 · 1 substantive comment(s)
    0.02
    Model 3 · Review Timing & Attention
    Session adequacy: 100% · Reviewer familiarity: 35%
    46%
    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
    Shallow Review Depth shallow_review_depth
    0.344
    Diff Size diff_size
    0.331
    Real PR Conversation Timeline
    1 comments
    "Review active on #512"
    general weight: 0.35
    Assignees
    Unassigned
    Labels
    risk: low confidence: 46.7% 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: 39.1% (MEDIUM) · Higher = larger blast radius
    39.1%
    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: 46.7% · Lower = rushed or shallow review
    46.7%
    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: 20.8% · Safe to merge
    20.8%