Interview Prep/DevSecOps/Supply Chain Security

You signed images in CI. How do you make sure the cluster only runs signed images?

IntermediateScenarioSupply Chain Security
Answer

Situation read → Signing without verification is decoration. Verification must happen at admission.

What I'd do →

  1. Deploy Kyverno (verifyImages) or the Sigstore policy-controller.
  2. Define the trusted identity (issuer and subject) as in the signing pipeline.
  3. Start with validationFailureAction: Audit, review violations, then Enforce.
  4. Use mutateDigest: true to rewrite tags to digests.
  5. Exempt system namespaces with explicit rules.

Why → Admission control covers deployments from any source, including manual kubectl.

Interview tip → Mention that you also verify attestations, such as SBOM and scan results.

All DevSecOps questions Roadmap: Supply chain, secrets & identity

More on Supply Chain Security