Testing Policies

Manage success and failure test scenarios for policies.

The Kyverno CLI test command can be used to test if a policy is behaving as expected.

Please refer to the test command documentation for details. You can also find examples in the sample policies repository.

Last modified April 10, 2021 at 1:47 PM PST: fixes based on review (65683ad)