Interview Prep/Helm/OCI, CI/CD & GitOps

How do you verify chart signatures before deployment?

AdvancedScenarioOCI, CI/CD & GitOps
Answer

Situation read → Supply chain: only trusted, signed charts should reach the cluster.

What I'd do →

  1. Sign in CI with cosign keyless (GitHub OIDC) after helm push.
  2. Verify in CD: cosign verify <chart-ref>@<digest> --certificate-identity-regexp ... --certificate-oidc-issuer ... before helm upgrade.
  3. For images inside, enforce signature verification with Kyverno verifyImages or Sigstore policy-controller.
  4. For classic repos, helm install --verify with PGP provenance.

Why → Verifying at deploy time blocks tampered or unofficial artifacts.

Interview tip → Mention both chart and image signing.

All Helm questions Roadmap: Helm

More on OCI, CI/CD & GitOps