1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2025-03-09 01:16:55 +00:00
kyverno/test/conformance/kuttl/cleanup/validation/no-user-info-in-match/README.md
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

294 B

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