Kyverno
Easy
Generation
When you migrate a ClusterPolicy to the CEL-based types, which kind replaces a generate rule?
Select your answer:
Show answer and explanation
Answer: GeneratingPolicy
Explanation
Each CEL-based policy type does one job. Validate rules become ValidatingPolicy, mutate rules become MutatingPolicy, generate rules become GeneratingPolicy and verifyImages rules become ImageValidatingPolicy. DeletingPolicy replaces CleanupPolicy, not generate rules.
More easy Kyverno questions
- What is Kyverno?
- Which Kubernetes resource type does Kyverno use to define policies?
- What are the three main types of rules in Kyverno policies?
- Which command is used to install Kyverno in a Kubernetes cluster?
- What is the purpose of a validation rule in Kyverno?
- What is the purpose of a mutation rule in Kyverno?