docs(proposals): add KEP-3165 for filesystem webhook certificates #3166
All Vouch review confidence checks passed
Residual risk 0.23 = 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 · 338 lines diff across 4 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
Diff Size
diff_size
0.349
Shallow Review Depth
shallow_review_depth
0.344
Real PR Conversation Timeline
1 comments
"Review active on #3166"
general
weight: 0.35
tariq-hasan
Purpose of this PR
This adds the provisional design document for #3165. The Spark Operator webhook
currently obtains serving certificates through its self-signed or cert-manager
paths, both of which assume certificate material is stored in a Kubernetes
Secret and copied into the serving directory. Clusters whose platform PKI
delivers short-lived certificates directly as files have no supported path that
preserves live rotation and avoids unnecessary Secret ownership.
Proposed changes:
filesystemcertificate provider while preserving theexisting self-signed default and cert-manager compatibility flag.
caBundleownership, withexactly one operator or external writer.
least-privilege RBAC, observability, and test requirements.
before implementation.
Fixes #3165
Change Category
Rationale
Admission webhooks are fail-closed, and serving-certificate and trust rotation
span filesystem generations, two admission objects, API-server propagation, and
multiple webhook replicas. Agreeing on the ownership and rotation contract
before implementation avoids encoding an unsafe or incompatible API.
The two points where maintainer direction is most useful are in
Open Questions:
1. Whether to enhance controller-runtime's certificate watcher or approve a
small bounded polling loader in Spark Operator.
2. Whether the initial chart should support generic injector annotations,
static CA PEM, or only out-of-band external ownership.
Checklist
Additional Notes
Documentation-only change; no production code or generated manifests are
modified, so unit tests were not run.
Validation performed locally:
git diff --checkpasses.upstream/master.