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 →
- Sign in CI with cosign keyless (GitHub OIDC) after
helm push. - Verify in CD:
cosign verify <chart-ref>@<digest> --certificate-identity-regexp ... --certificate-oidc-issuer ...beforehelm upgrade. - For images inside, enforce signature verification with Kyverno
verifyImagesor Sigstore policy-controller. - For classic repos,
helm install --verifywith PGP provenance.
Why → Verifying at deploy time blocks tampered or unofficial artifacts.
Interview tip → Mention both chart and image signing.
More on OCI, CI/CD & GitOps
Design the CI pipeline for an internal Helm chart.IntermediateYour org is moving charts from ChartMuseum to an OCI registry. What changes for consumers?IntermediateA chart version was overwritten in the registry and two clusters now run different content for "1.4.0". How do you prevent it?AdvancedHow would you give GitHub Actions push access to ECR for charts without long-lived keys?IntermediateYou are adopting Argo CD for apps currently deployed with `helm upgrade` from CI. How do you migrate?AdvancedArgo CD shows a Helm app permanently OutOfSync even right after a sync. What do you look for?Intermediate