Interview Prep/DevSecOps/Supply chain: signing, SBOM and dependencies

After enabling signature verification, pods fail because the manifest uses `image: api:1.4` and the policy mutates it to a digest the registry rejects

AdvancedTroubleshootingSupply chain: signing, SBOM and dependencies
Answer

Likely causes → Kyverno verifyImages with mutateDigest: true resolves the tag at admission; the tag was moved, or a short name resolved to docker.io/library/api instead of your registry.

Diagnose → kubectl get pod <p> -o jsonpath='{.spec.containers[*].image}' and compare with crane digest <full-ref>.

Fix → Use fully-qualified references by digest in manifests (ghcr.io/acme/api@sha256:...), set the policy imageReferences to your registry only.

Prevent → GitOps writes digests, not tags (Renovate or Argo CD Image Updater with digest strategy).

All DevSecOps questions Roadmap: Supply chain, secrets & identity

More on Supply chain: signing, SBOM and dependencies