1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2025-03-06 16:06:56 +00:00
kyverno/test/conformance/chainsaw/exceptions/events-creation/chainsaw-test.yaml
Charles-Edouard Brétéché f2561d0095
chore: convert chainsaw tests to Test resource (#9100)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-12-06 21:39:17 +00:00

35 lines
728 B
YAML
Executable file

apiVersion: chainsaw.kyverno.io/v1alpha1
kind: Test
metadata:
creationTimestamp: null
name: events-creation
spec:
steps:
- name: step-01
try:
- apply:
file: policy.yaml
- assert:
file: policy-assert.yaml
- name: step-02
try:
- apply:
file: chainsaw-step-02-apply-1.yaml
- apply:
file: chainsaw-step-02-apply-2.yaml
- name: step-03
try:
- apply:
file: chainsaw-step-03-apply-1.yaml
- apply:
file: chainsaw-step-03-apply-2.yaml
- name: step-04
try:
- sleep:
duration: 3s
- name: step-05
try:
- assert:
file: chainsaw-step-05-assert-1.yaml
- assert:
file: chainsaw-step-05-assert-2.yaml