← Back to Pull requests

Enable configuring TLS groups #681

Closed
unknown closed this pull request without merging on Aug 25, 2026 11:07 UTC
View on GitHub
unknown unknown commented on Aug 16, 2026 15:08 UTC
Author

<!-- Thanks for sending a pull request!

Before you click the 'Create pull request' make sure that:

  • This PR introduces a single feature of fix, just one

  • This PR does not leave the master branch broken

  • Every commit in this PR has a commit message explaining what do you change,

  • why and what is the outcome
  • If your change introduces a complex concept or a change to user interaction

  • with the project or the application, make sure to document it

    If you don't comply with these rules, you waste your energy, time of reviewers
    and cause suffering of future generations.
    -->

    What this PR does / why we need it:

    Enable configuring the project server endpoints TLS groups for better TLS security posture.

    https://redhat.atlassian.net/browse/CNV-85326

    Special notes for your reviewer:
    The PR introduce new flag tls-group-preferences expecting comma-separated Go crypto/tls TLS groups constant names. Similar to TLS ciphers example.

    Release note:
    <!-- Write your release note:
    1. Enter your extended release note in the below block. If the PR requires additional action from users switching to the new release, include the string "action required".
    2. Follow the instructions for writing a release note from k8s: https://git.k8s.io/community/contributors/guide/release-notes.md
    3. If no release note is required, just write "NONE".
    -->

    ``release-note
    It is now possible to configure TLS groups according to the cluster TLS security profile, via flag
    tls-group-preferences
    `

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

    Summary by CodeRabbit

    New Features

    Added the --tls-group-preferences` option for configuring preferred TLS key-exchange groups.
    Supports recognized Go TLS group names to customize secure connection negotiation.
    Applies selected TLS group preferences across supported metrics and webhook services.

    Bug Fixes

    Unknown TLS group names are safely ignored without preventing startup.

  • Improved consistency of TLS settings across secure connections.

  • <!-- end of auto-generated comment: release notes by coderabbit.ai -->

    Diff: 268 lines (+201 / -67) across 3 files Reviewer: nirdothan Review duration: 12718m
    All Vouch review confidence checks passed
    Residual risk 0.26 = Change Risk (0.63) × (1 − Review Confidence (0.58)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.63 · 268 lines diff across 3 files
    0.63
    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%
    57%
    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.335
    Shallow Review Depth shallow_review_depth
    0.289
    Sensitive Paths sensitive_paths
    0.063
    Real PR Conversation Timeline
    1 comments
    "Review active on #681"
    general weight: 0.35
    Reviewers
    Assignees
    Unassigned
    Labels
    risk: low confidence: 58.0% 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: 62.6% (MEDIUM) · Higher = larger blast radius
    62.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: 58.0% · Lower = rushed or shallow review
    58.0%
    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: 26.3% · Safe to merge
    26.3%