Kyverno
Medium
Generation
What is the purpose of the 'kyverno.io/generated-by' annotation?
Select your answer:
Show answer and explanation
Answer: To indicate which policy generated a resource
Explanation
The 'kyverno.io/generated-by' annotation is added to resources generated by Kyverno to indicate which policy generated the resource. This helps track the source of generated resources.
More medium Kyverno questions
- 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?
- 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?