Kyverno
Medium
Policies
What is the purpose of the 'kyverno.io/ignore' annotation?
Select your answer:
Show answer and explanation
Answer: To mark a resource to be ignored by specific Kyverno policies
Explanation
The 'kyverno.io/ignore' annotation can be added to a resource to make it be ignored by specific Kyverno policies. The value of the annotation should be a comma-separated list of policy names to ignore.
More medium Kyverno questions
- Which of the following is a valid way to use a variable in a Kyverno policy pattern?
- What is the purpose of the 'kyverno.io/generated-by' annotation?
- In a kyverno-test.yaml results entry, which field marks the result as coming from a CEL-based ValidatingPolicy?
- What happens when a resource violates a Kyverno validation policy with 'validationFailureAction' set to 'enforce'?
- What is the purpose of a generation rule in Kyverno?
- Which of the following is NOT a valid resource selection method in Kyverno policies?