k8wiz
Kyverno
Easy
Testing

In a kyverno-test.yaml file, which expected result do you write for a resource the policy should block?

Select your answer:

Show answer and explanation

Answer: fail

Explanation

Expected results use the policy report values pass, fail, warn, error and skip. A resource that violates a validation is reported as fail, even when the policy would deny it at admission. skip is the expected result for a resource covered by a policy exception.

Read more about Kyverno