k8wiz
Kyverno
Hard
Policies

What is the purpose of the 'context' field in a Kyverno policy?

Select your answer:

Show answer and explanation

Answer: To define variables that can be used in the policy rules

Explanation

The 'context' field in a Kyverno policy is used to define variables that can be used in the policy rules. These variables can be populated from various sources like ConfigMaps, API calls, or other resources.