Security, topic 45 of 61
Admission control and policy
Optional
Admission controllers see each object before it is stored and may change it or refuse it. Some are built in, such as the one that applies LimitRange defaults. Your own rules can run as webhooks, through Kyverno or OPA Gatekeeper, or in the API server itself with ValidatingAdmissionPolicy and its CEL expressions.
Policies are how a platform team requires labels, refuses the latest tag, or allows images from approved registries only. Run a new rule in audit mode first.
On Opsfolk
Nothing of ours for this topic yet: an article is on its way.
Elsewhere
- Admission controllersOfficial