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.
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?