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?
- 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?
- What is the purpose of the 'background' field in a Kyverno policy?
- What is the purpose of the 'validationFailureAction' field in a Kyverno policy?