Interview Prep/Helm/Release Lifecycle, Repositories & OCI

How do chart signing and provenance work?

AdvancedConceptRelease Lifecycle, Repositories & OCI
Answer

Classic Helm provenance uses PGP: helm package --sign --key 'DevOps Shack' --keyring ~/.gnupg/secring.gpg creates shop-1.4.0.tgz.prov with the chart digest and a signature; helm verify shop-1.4.0.tgz or helm install --verify checks it.

For OCI charts, most teams in 2025–2026 sign with Sigstore cosign, exactly like images:

cosign sign --yes ghcr.io/devopsshack/charts/shop@sha256:3f1c...
cosign verify ghcr.io/devopsshack/charts/shop:1.4.0 --certificate-identity-regexp 'https://github.com/devopsshack/.*' --certificate-oidc-issuer https://token.actions.githubusercontent.com

Admission policies (Kyverno) or Argo CD then verify before deploying.

All Helm questions Roadmap: Helm

More on Release Lifecycle, Repositories & OCI