← Back to Pull requests

OCPNODE-4842: Support kubelet tlsCurvePreferences #6695

Closed
unknown closed this pull request without merging on Nov 09, 2026 17:55 UTC
View on GitHub
unknown unknown commented on Oct 29, 2026 06:19 UTC
Author

<!--
If this is a bug fix, make sure your description includes "Fixes: #xxxx", or
"Closes: #xxxx"

Please provide the following information:
-->

- What I did

- How to verify it

$ oc create -f -<< EOF
> apiVersion: machineconfiguration.openshift.io/v1
kind: KubeletConfig
metadata:
  name: worker-tls-groups
spec:
  machineConfigPoolSelector:
    matchLabels:
      pools.operator.machineconfiguration.openshift.io/worker: ""
  tlsSecurityProfile:
    type: Custom
    custom:
      minTLSVersion: VersionTLS13
      ciphers:
        - TLS_AES_128_GCM_SHA256
      groups:
        - X25519MLKEM768
        - X25519
> EOF
kubeletconfig.machineconfiguration.openshift.io/worker-tls-groups created

$ oc debug node/ip-10-0-85-100.us-west-1.compute.internal
Starting pod/ip-10-0-85-100us-west-1computeinternal-debug-v4hb4 ...
To use host binaries, run `chroot /host`. Instead, if you need to access host namespaces, run `nsenter -a -t 1`.
Pod IP: 10.0.85.100
All commands and output from this session will be recorded in container logs, including credentials and sensitive information passed through the command prompt.
If you don't see a command prompt, try pressing enter.
sh-5.1# chroot /host
sh-5.2# cat /etc/kubernetes/kubelet.conf
...
tlsCipherSuites:
- TLS_AES_128_GCM_SHA256
tlsCurvePreferences:
- 4588
- 29
tlsMinVersion: VersionTLS13

- Description for the changelog
<!--
Write a short (one line) summary that describes the changes in this
pull request for inclusion in the changelog:
-->

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

Summary by CodeRabbit

New Features
TLS curve preferences from the cluster’s TLS security profile are now applied to generated kubelet configurations. A KubeletConfig’s profile takes precedence when specified.
Custom TLS curve groups are applied when the feature is enabled. When disabled, custom groups are cleared during bootstrap.
Bug Fixes
Kubelet configurations that specify curve preferences directly are rejected when the KubeletConfig also specifies custom TLS curve groups.
Unsupported custom curve groups are omitted.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->

Diff: 291 lines (+218 / -73) across 3 files Reviewer: harche Review duration: 16536m
All Vouch review confidence checks passed
Residual risk 0.25 = Change Risk (0.63) × (1 − Review Confidence (0.60)). Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.63 · 291 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%
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.340
Shallow Review Depth shallow_review_depth
0.289
Sensitive Paths sensitive_paths
0.063
Real PR Conversation Timeline
1 comments
"Review active on #6695"
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: 63.1% (MEDIUM) · Higher = larger blast radius
63.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: 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: 24.9% · Safe to merge
24.9%