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/exceptions/good-bad-conditions/chainsaw-test.yaml
Khaled Emara 21602a1e1f
fix(polex): multiple polexes with conditions (#9994)
Signed-off-by: Khaled Emara <khaled.emara@nirmata.com>
Co-authored-by: Mariam Fahmy <mariam.fahmy@nirmata.com>
2024-05-06 10:28:39 +00:00

24 lines
437 B
YAML
Executable file

apiVersion: chainsaw.kyverno.io/v1alpha1
kind: Test
metadata:
creationTimestamp: null
name: conditions
spec:
steps:
- name: step-01
try:
- apply:
file: policy.yaml
- name: step-02
try:
- apply:
file: failing-exception.yaml
- apply:
file: passing-exception.yaml
- finally:
- sleep:
duration: 5s
name: step-03
try:
- apply:
file: good-deployment.yaml