Back to Practice
Challenge

Validate, Mutate, Generate

An exam-pace Kyverno drill fusing all three core policy types in one pass: a validate policy that enforces a label, a mutate policy that injects one, and a generate policy that seeds a resource into new namespaces — each proven live.

Your mission

A drill: paced and scored like the exam, fusing Kyverno's three core policy types in one pass. Kyverno is already installed. In the apps namespace you'll write a validate policy that enforces a label, a mutate policy that injects one, and a generate policy that seeds a resource into new namespaces — proving each live.

kubectl config set-context --current --namespace=apps

Skills you'll put into practice

kyvernopolicykcaexam-drill

Make it your own.

Use this topic as a starting point for a fresh custom scenario.

Create a variation