Kyverno
Medium
Policies
What is the purpose of the 'preconditions' field in a Kyverno rule?
Select your answer:
Show answer and explanation
Answer: To specify conditions that must be met before the rule is applied
Explanation
The 'preconditions' field in a Kyverno rule specifies conditions that must be met before the rule is applied to a resource. If the preconditions are not met, the rule is skipped.
More medium Kyverno questions
- Which of the following is a valid pattern matching syntax in Kyverno?
- What is the purpose of the 'audit' value for 'validationFailureAction' in a Kyverno policy?
- What is the purpose of the 'synchronize' field in a Kyverno generate rule?
- Which of the following is NOT a valid operation in a Kyverno mutate rule?
- What is the purpose of the 'policyReport' resource in Kyverno?
- Which of the following is a valid way to exclude system namespaces in a Kyverno policy?