OCPBUGS-105459: Remove kube-rbac-proxy sidecar and enable native TLS metrics in daemon #771
All Vouch review confidence checks passed
Residual risk 0.26 = Change Risk (0.65) × (1 − Review Confidence (0.60)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.65 · 342 lines diff across 4 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.17 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
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.349
Shallow Review Depth
shallow_review_depth
0.289
Sensitive Paths
sensitive_paths
0.065
Real PR Conversation Timeline
1 comments
"Review active on #771"
general
weight: 0.35
asood-rh
Fixes: https://redhat.atlassian.net/browse/OCPBUGS-105459
Replace the kube-rbac-proxy sidecar container with controller-runtime's built-in TLS serving for the daemon metrics endpoint. The daemon now handles TLS termination, authentication, and authorization directly using the cluster's TLS profile configuration.
- What this PR does and why is it needed
<!--
A summary of the changes within this pull request and some context
as to why they were made
-->
As part https://redhat.atlassian.net/browse/CORENET-7108 implementation for TLS was done for controller that involved removal of kube-rbac-proxy sidecar. The sidecar was not removed for daemonset that resulted in causing the bug where ingress node firewall operator could be installed on ppc64le but daemonset could not be created.
- Special notes for reviewers
<!--
What exactly did you change - you may also defer to information
contained in commit messages. At a bare minimum it's worth highlighting
which areas of the code were changed as it's easier to assign reviewers
-->
The changes are only for ingress node firewall daemonset as controller already has TLS support.
- How to verify it
No additional tests added but existing tests modified.
make test
make test-race
go test ./controllers/... -count=1
- Description for the changelog
<!--
Write a short (one line) summary that describes the changes in this
pull request for inclusion in the changelog:
-->
Completes the TLS support for ingress node firewall operator.
<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
Summary by CodeRabbit
New Features
Improvements
Documentation & Tests
<!-- end of auto-generated comment: release notes by coderabbit.ai -->