How do you sign and verify Helm charts stored as OCI artifacts?
IntermediateProductionSupply Chain Security at Scale
Answer
Push the chart to an OCI registry, then sign its digest with Cosign like any image.
helm package ./chart
helm push api-1.8.0.tgz oci://ghcr.io/acme/charts
cosign sign --yes ghcr.io/acme/charts/api@sha256:abc...
cosign verify ghcr.io/acme/charts/api@sha256:abc... \
--certificate-identity-regexp '^https://github.com/acme/' \
--certificate-oidc-issuer https://token.actions.githubusercontent.com
GitOps controllers can enforce it: Flux's OCIRepository supports spec.verify.provider: cosign; for Argo CD, verify in the pipeline that promotes the chart version.
More on Supply Chain Security at Scale
How do you design an end-to-end supply-chain security architecture for 200 services?AdvancedWhat does it take to reach SLSA Build Level 3 in practice?AdvancedHow do you use GitHub artifact attestations for build provenance, and how do consumers verify them?IntermediateWhere and how do you store SBOMs at scale?IntermediateWhat does "sign everything" mean in a mature supply chain?IntermediateHow do you write an admission policy that verifies both the signer identity and an SBOM attestation?Advanced