1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2025-03-10 09:56:55 +00:00
kyverno/test/conformance/chainsaw/cleanup/validation/no-user-info-in-match/chainsaw-test.yaml
Charles-Edouard Brétéché 4a557ba2cf
chore: convert chainsaw tests to Test resource (#9094)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-12-06 16:27:10 +00:00

24 lines
545 B
YAML
Executable file

apiVersion: chainsaw.kyverno.io/v1alpha1
kind: Test
metadata:
creationTimestamp: null
name: no-user-info-in-match
spec:
steps:
- name: step-01
try:
- apply:
expect:
- check:
($error != null): true
file: cleanuppolicy-with-subjects.yaml
- apply:
expect:
- check:
($error != null): true
file: cleanuppolicy-with-roles.yaml
- apply:
expect:
- check:
($error != null): true
file: cleanuppolicy-with-clusterroles.yaml