Kyverno
Medium
Policies
What is the purpose of the 'exclude' field in a Kyverno policy?
Select your answer:
Show answer and explanation
Answer: To exclude certain resources from being subject to the policy
Explanation
The 'exclude' field in a Kyverno policy is used to exclude certain resources from being subject to the policy, even if they match the 'match' criteria. This is useful for creating exceptions to policy rules.
More medium Kyverno questions
- What is the purpose of the 'preconditions' field in a Kyverno rule?
- 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?