1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2025-03-11 02:16:53 +00:00
kyverno/test/conformance/chainsaw/cleanup/validation/no-user-info-in-match/01-cleanuppolicy.yaml

25 lines
501 B
YAML
Raw Normal View History

---
apiVersion: chainsaw.kyverno.io/v1alpha1
kind: TestStep
metadata:
creationTimestamp: null
name: cleanuppolicy
spec:
timeouts: {}
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