Interview Prep/DevSecOps/Incident Response and Governance

Teams complain that the platform team changes Kyverno policies without warning and breaks deployments. How do you govern policy changes?

IntermediateScenarioIncident Response and Governance
Answer

Situation read → Policies are code that affects every team. They need the same change process as code.

What I'd do →

  1. Keep policies in Git with PR review, including a reviewer from consuming teams for major changes.
  2. Test policies in CI against sample manifests (kyverno test) and a dry run against live resources.
    kyverno apply policies/ --cluster --policy-report
    
  3. Roll out every new policy in Audit mode first, publish the violations, then switch to Enforce on an announced date.
  4. Publish a changelog and a channel for policy announcements.

Why → Audit-first rollout turns surprises into planned migrations.

Interview tip → "Audit, communicate, enforce" is the rollout pattern.

All DevSecOps questions

More on Incident Response and Governance