1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2025-03-10 18:06:55 +00:00
kyverno/test/conformance/chainsaw/cleanup/v2/validation/no-user-info-in-match
Charles-Edouard Brétéché 46b9a6e3e2
test: add cleanup v2 chainsaw tests (#10476)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-06-14 13:19:48 +00:00
..
chainsaw-test.yaml test: add cleanup v2 chainsaw tests (#10476) 2024-06-14 13:19:48 +00:00
cleanuppolicy-with-clusterroles.yaml test: add cleanup v2 chainsaw tests (#10476) 2024-06-14 13:19:48 +00:00
cleanuppolicy-with-roles.yaml test: add cleanup v2 chainsaw tests (#10476) 2024-06-14 13:19:48 +00:00
cleanuppolicy-with-subjects.yaml test: add cleanup v2 chainsaw tests (#10476) 2024-06-14 13:19:48 +00:00
README.md test: add cleanup v2 chainsaw tests (#10476) 2024-06-14 13:19:48 +00:00

Description

This test creates a cleanup policy containing user infos in match statement. The creation should fail as cleanup policies with user infos are not allowed.

Steps

    • Try create a couple of cleanup policies, expecting the creation to fail because they contain user infos