k8wiz
Kyverno
Medium
Policies

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

Select your answer:

Show answer and explanation

Answer: To apply the policy to existing resources in addition to newly created ones

Explanation

The 'background' field, when set to true, applies the policy to existing resources in addition to newly created or updated ones. This is useful for ensuring all resources in the cluster comply with the policy, not just new ones.

Read more about Kyverno