[ENHANCEMENT] Replace kube-rbac-proxy with controller-runtime built-in metrics auth #372
All Vouch review confidence checks passed
Residual risk 0.45 = Change Risk (0.78) × (1 − Review Confidence (0.42)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.78 · 186 lines diff across 2 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.02 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 10%
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
Shallow Review Depth
shallow_review_depth
0.344
Diff Size
diff_size
0.313
No Reviewer Assigned
no_reviewer_assigned
0.120
Sensitive Paths
sensitive_paths
0.078
Real PR Conversation Timeline
1 comments
"Review active on #372"
general
weight: 0.35
slashpai
<!--
See the contributing guide for detailed guidance about contributing.
https://github.com/perses/perses-operator/blob/main/CONTRIBUTING.md
-->
Description
<!-- Describe the big picture of your changes here to communicate to the maintainers why we should accept this pull request. -->
Replace the kube-rbac-proxy sidecar with controller-runtime's built-in
SecureServing and FilterProvider for metrics endpoint authentication
and authorization, as recommended by Kubebuilder since v3.15.0.
Closes: #341
Type of change
<!-- What type of changes does your code introduce? Put an
xin the box that applies. -->FEATURE(non-breaking change which adds functionality)ENHANCEMENT(non-breaking change which improves existing functionality)BUGFIX(non-breaking change which fixes an issue)BREAKINGCHANGE(fix or feature that would cause existing functionality to not work as expected)DOC(documentation only)IGNORE(tooling, build system, CI, etc.)Verification
<!-- How did you test it? How do you know it works? -->
Checklist