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?
- The Kyverno 1.20 Helm chart refuses to upgrade because legacy kyverno.io policies exist. Which value lets the upgrade proceed?
- A GeneratingPolicy that clones a Secret into new namespaces fails with a forbidden error. Which label on a ClusterRole merges its rules into the Kyverno background controller's permissions?
- A Kyverno MutatingPolicy ApplyConfiguration can't set a container's args because the list is atomic. Which setting allows the change?