Kyverno
Medium
Generation
What is the purpose of a generation rule in Kyverno?
Select your answer:
Show answer and explanation
Answer: To create additional resources based on a trigger resource
Explanation
Generation rules in Kyverno are used to create additional resources when a matching resource is created or updated. For example, creating a NetworkPolicy whenever a new Namespace is created.
More medium Kyverno questions
- 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?
- Which of the following is a valid JMESPath expression in a Kyverno policy?
- What is the purpose of the 'exclude' field in a Kyverno policy?
- What is the purpose of the 'preconditions' field in a Kyverno rule?