2023-11-24 11:17:58 +01:00
|
|
|
---
|
2023-11-24 01:02:22 +01:00
|
|
|
apiVersion: chainsaw.kyverno.io/v1alpha1
|
|
|
|
kind: TestStep
|
|
|
|
metadata:
|
2023-11-24 11:17:58 +01:00
|
|
|
creationTimestamp: null
|
2023-11-24 01:02:22 +01:00
|
|
|
name: cleanuppolicy
|
|
|
|
spec:
|
2023-11-24 11:17:58 +01:00
|
|
|
timeouts: {}
|
2023-11-24 01:02:22 +01:00
|
|
|
try:
|
|
|
|
- apply:
|
|
|
|
check:
|
2023-11-24 11:17:58 +01:00
|
|
|
(error != null): true
|
|
|
|
file: cleanuppolicy-with-subjects.yaml
|
2023-11-24 01:02:22 +01:00
|
|
|
- apply:
|
|
|
|
check:
|
2023-11-24 11:17:58 +01:00
|
|
|
(error != null): true
|
|
|
|
file: cleanuppolicy-with-roles.yaml
|
2023-11-24 01:02:22 +01:00
|
|
|
- apply:
|
|
|
|
check:
|
2023-11-24 11:17:58 +01:00
|
|
|
(error != null): true
|
|
|
|
file: cleanuppolicy-with-clusterroles.yaml
|