1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2025-03-07 00:17:13 +00:00
kyverno/test/conformance/kuttl/cleanup/validation/no-user-info-in-match
Charles-Edouard Brétéché 76b716da4e
fix: cleanup policies with user infos in match/exclude should be rejected (#5943)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-01-09 21:00:35 +08:00
..
01-cleanuppolicy.yaml fix: cleanup policies with user infos in match/exclude should be rejected (#5943) 2023-01-09 21:00:35 +08:00
cleanuppolicy-with-clusterroles.yaml fix: cleanup policies with user infos in match/exclude should be rejected (#5943) 2023-01-09 21:00:35 +08:00
cleanuppolicy-with-roles.yaml fix: cleanup policies with user infos in match/exclude should be rejected (#5943) 2023-01-09 21:00:35 +08:00
cleanuppolicy-with-subjects.yaml fix: cleanup policies with user infos in match/exclude should be rejected (#5943) 2023-01-09 21:00:35 +08:00
README.md fix: cleanup policies with user infos in match/exclude should be rejected (#5943) 2023-01-09 21:00:35 +08: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