An override key disappears without an error
A chart renames persistence.backup to persistence.backups or drops a legacy key. Helm happily ignores unknown keys and exits 0, while your production setting quietly reverts to the chart default.
helm lint and helm template only look at the new chart by itself. Stageproof renders what you run today alongside what you are about to merge, using your own values, and validates the diff against a local kube-apiserver. No cluster credentials, no account, and no LLM in the loop.
curl -fsSL https://stageproof.github.io/stageproof/install.sh | sh && export PATH="$HOME/.local/bin:$PATH"
$ stageproof check \ --repo https://ygqygq2.github.io/charts/ \ --chart nacos --from 2.1.9 --to 2.1.10 --current-k8s 1.35 stageproof BLOCKED exit 1 compare nacos@2.1.9 -> nacos@2.1.10 k8s 1.35 · checked: files, API server 1.35.0 ✓ PASS helm template rendered 17 Kubernetes objects cleanly ✓ PASS image tags 1 new or changed image tag checked ✕ FAIL API server 1.35.0 1 rejection ERROR k8s.apply.immutable_field Job/default/stageproof-rel-nacos-init-db Kubernetes rejected the update. `spec.template` is immutable. verdict BLOCKED (exit 1) · 0 AI calls
$ stageproof check \ --current-chart testdata/dropped/base \ --new-chart testdata/dropped/head \ -f testdata/dropped/values.yaml --current-k8s 1.35 stageproof BLOCKED exit 1 compare testdata/dropped/base -> testdata/dropped/head values testdata/dropped/values.yaml k8s 1.35 · checked: files ✓ PASS helm template rendered 1 Kubernetes object cleanly ✕ FAIL values.yaml AST 2 keys: 1 proven by rendering, 1 read in templates ✓ PASS k8s 1.35 compatibility 0 removed APIs or selector breaks on K8s 1.35 ERROR helm.values.silently_dropped testdata/dropped/values.yaml (message) Values key `message` was consumed in baseline chart but is silently ignored in upgraded chart. verdict BLOCKED (exit 1) · 859ms · 0 AI calls
$ stageproof check \ --repo https://kubernetes-sigs.github.io/metrics-server/ \ --chart metrics-server --from 3.12.2 --to 3.13.0 --current-k8s 1.35 stageproof PASSED exit 0 compare metrics-server@3.12.2 -> metrics-server@3.13.0 k8s 1.35 · checked: files, API server 1.35.0 ✓ PASS helm template rendered 9 Kubernetes objects cleanly ✓ PASS image tags 1 new or changed image tag checked ✓ PASS API server 1.35.0 Kubernetes 1.35.0 accepted the upgrade ✓ PASS impact Compared stored objects for 8 of 9 objects verdict PASSED (exit 0) · 0 AI calls
How you run it
Point it at a public chart repo, a git branch, an Argo CD Application, a Flux HelmRelease, or two folders of rendered YAML. Nothing gets installed in your cluster.
Pulls both versions of a public chart and compares them locally against Kubernetes 1.35.
Pass your real values.yaml with -f, or drop the last line to check the chart's defaults.
stageproof check \ --repo https://kubernetes-sigs.github.io/metrics-server/ \ --chart metrics-server \ --from 3.12.2 --to 3.13.0 \ --current-k8s 1.35 \ -f values.yaml
Run inside a git repo. It reads git diff against origin/main and checks every Helm chart, Argo CD Application, and Flux HelmRelease touched by your branch.
--current-k8s is the minor version you deploy to; --next-k8s warns on APIs disappearing in the next release. List non-default values files in .stageproof.yaml (or generate it with stageproof init).
stageproof check-pr \ --current-git origin/main \ --current-k8s 1.35 \ --next-k8s 1.36
Save as .github/workflows/stageproof.yml. It runs stageproof check-pr on every pull request and maintains a single comment with the verdict.
Keep the trigger on pull_request, not pull_request_target, so fork pull requests stay safe.
name: stageproof
on:
pull_request:
permissions:
contents: read
pull-requests: write
jobs:
check:
runs-on: ubuntu-latest
steps:
- uses: stageproof/action@v1
with:
current-k8s: "1.35"
Include the GitLab CI/CD catalog component in .gitlab-ci.yml to gate merge requests.
Set a masked STAGEPROOF_GITLAB_TOKEN variable if you want a merge request comment, since CI_JOB_TOKEN cannot write notes. Without it, the check still fails blocked upgrades and uploads the report as an artifact.
include:
- component: gitlab.com/zarovvvv/stageproof/stageproof@1
inputs:
current_k8s: "1.35"
Add the preset to renovate.json to embed a status badge from the nightly chart index directly in every Helm update PR.
The badge reflects chart defaults. Pair it with stageproof check-pr in CI to verify your actual values files.
{
"extends": ["github>stageproof/renovate-presets"]
}
Why green lint still breaks clusters
Most breakages do not show up when you inspect a single chart version. They show up in the transition between the objects already stored in etcd and the objects the new release emits.
A chart renames persistence.backup to persistence.backups or drops a legacy key. Helm happily ignores unknown keys and exits 0, while your production setting quietly reverts to the chart default.
A changed Deployment label selector, a non-hook Job whose pod template changed, a mutated StatefulSet claim template, or a renamed PersistentVolumeClaim looks valid on its own, then fails mid-rollout or deletes data on upgrade.
Stageproof applies the old manifests to a real local kube-apiserver for your Kubernetes minor, dry-runs the new release over them, checks CRD schema compatibility against existing objects, and HEAD-checks new container tags.
The public chart index runs Stageproof every night across 300 popular Helm charts and more than 22,000 version jumps on Kubernetes 1.35. Browse any chart's upgrade history, or paste your values.yaml locally in the browser to see which keys change.
What runs inside the binary
No plugins or hosted services required. Add --offline to skip registry HEAD requests, or --api-server off to run purely offline against the built-in Kubernetes table.
| Layer | What it catches | When it runs |
|---|---|---|
| Chart rendering | Template errors on Helm 3 or Helm 4, and rendered manifest differences between them | Every chart run (add --helm-compare for Helm 4 diff) |
| Values proof | Keys in your values files that the upgraded chart silently ignores, renames, or alters by default | -f, .stageproof.yaml, or Argo CD / Flux manifest values; otherwise chart defaults |
| Local API server | Removed Kubernetes APIs, immutable fields, invalid patches, and CRD schema regressions | Default (--api-server auto downloads and caches envtest binaries) |
| Impact & CRDs | Deleted PVCs, Namespaces, or CRDs, crds/ directory drift, restarts, and RBAC changes | Every run |
| Image tags | Missing container image tags or unsupported node architectures on changed images | Default (HTTP HEAD only; skip with --offline) |
| Next K8s minor | APIs still valid today that disappear in the next Kubernetes minor | Pass --next-k8s 1.36 (warns without blocking) |
| Cluster facts | Uses your cluster's exact Kubernetes version, CRDs, and node architectures without live access | Optional read-only stageproof facts export |
| CI & tooling | PR/MR comments, SARIF 2.1.0, explain, timed ignores in .stageproof.yaml, stdio MCP server | Built into the same binary |
| Live rehearsal | Full install, upgrade, smoke commands, and rollback inside a disposable local kind cluster | Opt-in with --live |
Accuracy measured on GitHub ubuntu-latest on 2026-11-25 (docs/accuracy.md, workflow run 45519144615): 18 / 18 real incidents caught, 18 / 18 clean controls passed, and 0 / 283 wrong blocks (0.00%) across 316 upgrade pairs from 105 CNCF projects.
Exit codes
Any CI pipeline that stops on a non-zero exit code can use Stageproof as a merge gate without glue code.
All file checks passed, and a temporary kind cluster installed, upgraded, ran smoke checks, and rolled back cleanly.
File and local API server checks passed. No live cluster was started, and the report says so explicitly.
A breaking change was found. The report names the exact rule, object, and reason. CI fails the merge.
The check could not complete (unreachable repo, bad flag, or --require-rehearsal without kind). CI fails.
Scope
The CLI, GitHub Action, GitLab CI component, Helm plugin, Renovate preset, and public chart index are all free and open source under Apache-2.0. Charts and values never leave your laptop or CI runner, nothing phones home, and production clusters are never touched.
Stageproof checks Helm chart upgrades: a chart on disk, the chart an Argo CD Application or Flux HelmRelease points at, or two rendered manifests (--before / --after). It does not scan container image CVEs, lint Terraform providers, replace language package bots, or call external AI APIs.