1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2025-03-12 02:46:56 +00:00
kyverno/test/conformance/chainsaw/cleanup/validation/no-user-info-in-match/01-cleanuppolicy.yaml
Charles-Edouard Brétéché d6933fff4f
chore: all chainsaw tests (#9011)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-11-24 11:17:58 +01:00

21 lines
444 B
YAML

---
apiVersion: chainsaw.kyverno.io/v1alpha1
kind: TestStep
metadata:
creationTimestamp: null
name: cleanuppolicy
spec:
timeouts: {}
try:
- apply:
check:
(error != null): true
file: cleanuppolicy-with-subjects.yaml
- apply:
check:
(error != null): true
file: cleanuppolicy-with-roles.yaml
- apply:
check:
(error != null): true
file: cleanuppolicy-with-clusterroles.yaml