Interview Prep/CI/CD/Secrets, Supply Chain and DORA

How do you verify only signed images run in Kubernetes?

AdvancedScenarioSecrets, Supply Chain and DORA
Answer

Situation read → Admission-time enforcement.

What I'd do →

  1. Sign in CI with cosign sign (keyless via OIDC).
  2. Install Kyverno with a verifyImages policy requiring the signature from the CI identity and issuer.
  3. Start in Audit, then switch to Enforce.

Why → Unsigned or foreign images are rejected at the API server.

Interview tip → Mention rolling out in audit mode first.

All CI/CD questions

More on Secrets, Supply Chain and DORA