Support ClusterTrustBundle CA references in BackendTLSPolicy and frontend validation #1726
All Vouch review confidence checks passed
Residual risk 0.34 = Change Risk (0.95) × (1 − Review Confidence (0.64)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.95 · 1286 lines diff across 16 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.35 · 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.400
Sensitive Paths
sensitive_paths
0.095
Mass File Touch
mass_file_touch
0.080
Real PR Conversation Timeline
2 items
Approved
(Automatic review)
justinsb
codebot-robot
Support
certificates.k8s.io/ClusterTrustBundleCA certificate references inBackendTLSPolicy(spec.validation.caCertificateRefs) and Gateway frontend TLS validation (spec.tls.frontend.*.validation.caCertificateRefs).Changes
ClusterTrustBundle(certificates.k8s.io) CA references inBackendTLSPolicy(routes, ext_proc, and policy status) and Gateway frontend TLS validation, readingspec.trustBundlePEM through the same validation and data-plane paths used forConfigMapCA bundles.ClusterTrustBundleresources in controller setup (preferringcertificates.k8s.io/v1and falling back tocertificates.k8s.io/v1beta1), triggering reconciliation on add/update/delete.ClusterTrustBundleAPI: the controller starts and reconciles normally, while references to aClusterTrustBundlefail withInvalidCACertificateRef/NoValidCACertificateand a clear message stating the API is not served.SupportClusterTrustBundlefromunsupportedFeaturestoSupportedFeatures.get,list, andwatchRBAC permissions oncertificates.k8s.io/clustertrustbundlesin controller manifests.pkg/state/clustertrustbundle_test.go,pkg/controller/utils_test.go) and envtest integration tests (pkg/gari/clustertrustbundle_test.go) covering live watch/reconciliation and clusters without theClusterTrustBundleAPI.Fixes #1023