mirror of
https://github.com/kyverno/kyverno.git
synced 2025-03-12 02:46:56 +00:00
21 lines
444 B
YAML
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
|