mirror of
https://github.com/kyverno/kyverno.git
synced 2025-03-11 10:26:54 +00:00
19 lines
402 B
YAML
19 lines
402 B
YAML
|
apiVersion: chainsaw.kyverno.io/v1alpha1
|
||
|
kind: TestStep
|
||
|
metadata:
|
||
|
name: cleanuppolicy
|
||
|
spec:
|
||
|
try:
|
||
|
- apply:
|
||
|
file: cleanuppolicy-with-subjects.yaml
|
||
|
check:
|
||
|
(error == null): false
|
||
|
- apply:
|
||
|
file: cleanuppolicy-with-roles.yaml
|
||
|
check:
|
||
|
(error == null): false
|
||
|
- apply:
|
||
|
file: cleanuppolicy-with-clusterroles.yaml
|
||
|
check:
|
||
|
(error == null): false
|