Kyverno
Easy
Policies
Which of the following is NOT a valid rule type in a Kyverno policy?
Select your answer:
Show answer and explanation
Answer: enforce
Explanation
The valid rule types in a Kyverno policy are 'validate', 'mutate', and 'generate'. 'Enforce' is not a valid rule type, but rather a value for the 'validationFailureAction' field.
More easy Kyverno questions
- Which command is used to generate a policy from a resource?
- Which command is used to check if Kyverno is ready in a Kubernetes cluster?
- Which apiVersion does a Kyverno CLI kyverno-test.yaml file use?
- What does kyverno test do when an actual policy result doesn't match the expected one?
- In a kyverno-test.yaml file, which expected result do you write for a resource the policy should block?
- What is Kyverno?