k8wiz
Kyverno
Hard
Validation

Kyverno 1.16 ships CEL-based policy types at API version v1beta1. Which one validates resources with CEL expressions, in the style of Kubernetes ValidatingAdmissionPolicy?

Select your answer:

Show answer and explanation

Answer: ValidatingPolicy

Explanation

ValidatingPolicy expresses rules as CEL expressions, like Kubernetes ValidatingAdmissionPolicy, and adds Kyverno features such as background scans and policy reports. The same family includes MutatingPolicy, GeneratingPolicy, DeletingPolicy and ImageValidatingPolicy, plus namespaced versions of some of them. Existing ClusterPolicy resources keep working.