backend: Require per-user OIDC for Cluster Inventory #6
All Vouch review confidence checks passed
Residual risk 0.22 = Change Risk (0.42) × (1 − Review Confidence (0.47)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.42 · 221 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: 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
Shallow Review Depth
shallow_review_depth
0.344
Diff Size
diff_size
0.323
Ai Authored
ai_authored
0.050
Real PR Conversation Timeline
1 comments
"Review active on #6"
general
weight: 0.35
kahirokunn
Summary
Require per-user OIDC for Inventory-discovered clusters so each user's Kubernetes RBAC applies.
Discovered API servers must trust Headlamp's OIDC issuer and client.
Related: requested policy, original implementation.
Validation
<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
<!-- coderabbit-ai-generated:v1 -->
Summary by CodeRabbit
New Features
Cluster Inventory now uses Headlamp’s OIDC sign-in, and requests to discovered clusters use each signed-in user’s credentials.
Cluster discovery supports selecting connection details from cluster profiles while keeping shared credentials out of discovered contexts.
Changes
Cluster Inventory now requires OIDC client and issuer settings. Legacy provider-file, plugin, and related configuration options are unsupported.
Updated installation and configuration guidance explains OIDC setup, access requirements, and namespace selection.
Bug Fixes
Unauthenticated access to discovered clusters is rejected, including on reused connections.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->