fix(http-add-on): keep per-component keys out of the shared securityContext #931
All Vouch review confidence checks passed
Residual risk 0.26 = Change Risk (0.66) × (1 − Review Confidence (0.60)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.66 · 369 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.354
Shallow Review Depth
shallow_review_depth
0.289
Sensitive Paths
sensitive_paths
0.066
Real PR Conversation Timeline
1 comments
"Review active on #931"
general
weight: 0.35
linkvt
<!-- Thank you for contributing!
Read more about how you can contribute in our contribution guide:
https://github.com/kedacore/charts/blob/main/CONTRIBUTING.md
-->
In the http-add-on chart,
securityContextandpodSecurityContexttake shared defaults plus optional per-component overrides (operator,scaler,interceptor, commented invalues.yaml). Each Deployment uses its own key when present and otherwise falls back totoYaml .Values.securityContext. That fallback dumps the whole map, per-component keys included, so setting an override for one component breaks the other two:renders, for the interceptor container and the scaler pod:
The fallback now uses
omit .Values.securityContext "operator" "scaler" "interceptor"(same forpodSecurityContext) in the three Deployments. With the values above the render is valid (Valid: 21, Invalid: 0), and with the default values the output is byte-for-byte the same as onmain(checked withdiffofhelm template).helm lint http-add-onpasses. No values or README change.Checklist
Fixes #