k8wiz
Kyverno
Medium
Validation

What happens when a resource violates a Kyverno validation policy with 'validationFailureAction' set to 'enforce'?

Select your answer:

Show answer and explanation

Answer: The resource is rejected and not admitted to the cluster

Explanation

When 'validationFailureAction' is set to 'enforce', resources that violate the policy are rejected and not admitted to the cluster. This is the strictest enforcement level.

Read more about Kyverno