feat(deps): upgrade bundled kubectl to v1.36.7 and automate patch updates #3285
All Vouch review confidence checks passed
Residual risk 0.33 = Change Risk (0.62) × (1 − Review Confidence (0.47)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.62 · 263 lines diff across 3 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.334
Sensitive Paths
sensitive_paths
0.062
Real PR Conversation Timeline
1 comments
"Review active on #3285"
general
weight: 0.35
tariq-hasan
Purpose of this PR
The kubectl image used by the CRD-upgrade Helm hook (
hook.upgradeCrd=true) was pinned to v1.33.2, which no longer gets patches. This bumps it and stops the version from going stale again.Proposed changes:
.github/kubectl-version.txt(new): single source of truth for the kubectl version, now1.36.7..github/workflows/build-and-push-images.yaml: readKUBECTL_VERSIONfrom that file instead of a hardcoded env var.docker/Dockerfile.kubectl: bump theARG KUBECTL_VERSIONdefault to1.36.7for local builds..github/workflows/update-kubectl.yaml(new): weekly + manual workflow that checksdl.k8s.io/release/stable-<minor>.txtand opens a signed-off PR when a new patch is out.docs/release.md: kubectl version policy, how the weekly bump works and how to move to a new minor.Fixes #3234
Change Category
Rationale
make.ARGdefault stays sodocker buildworks locally; the weekly workflow keeps both in sync.Checklist
Additional Notes
build-and-push-images.yaml, so the version change moved there.GITHUB_TOKEN. It needs "Allow GitHub Actions to create and approve pull requests" enabled, and CI on those PRs has to be started by closing and reopening them. Happy to switch to a GitHub App token if maintainers prefer.