v0.6.2 🙅
Notable Changes
This release brings a new EnforcePodAnnotations
AdmitFunc for enforcing a set of annotations (and validating their values) on admitted Pods.
The AdmitFunc takes a map[string]func(string) bool
of required annotations, which allows you to dynamically validate annotation values (e.g. DNS names, JSON schemas, etc.) during admission - where string
is the current value and the returned bool
determines whether the value is acceptable or not.
EnforcePodAnnotations can inspect Pods, Deployments, StatefulSets, DaemonSets & Jobs, as these all create Pods.