1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2025-03-10 01:46:55 +00:00
kyverno/test/conformance/chainsaw/generate/validation/policy/use-generate-existing-on-policy-update
Mariam Fahmy 60a8384fd4
feat: add tests for different values of generateExisting (#10807)
Signed-off-by: Mariam Fahmy <mariam.fahmy@nirmata.com>
2024-08-08 12:11:20 +00:00
..
chainsaw-test.yaml feat: add tests for different values of generateExisting (#10807) 2024-08-08 12:11:20 +00:00
policy.yaml feat: add tests for different values of generateExisting (#10807) 2024-08-08 12:11:20 +00:00
README.md feat: add tests for different values of generateExisting (#10807) 2024-08-08 12:11:20 +00:00

Description

This test ensures that the creation of a generate policy that makes use of spec.generateExistingOnPolicyUpdate is blocked since it is a deprecated field.

Expected Behavior

The test passes if the policy creation is blocked, otherwise fails.