mirror of
https://github.com/kyverno/kyverno.git
synced 2025-03-10 01:46:55 +00:00
29 lines
520 B
YAML
29 lines
520 B
YAML
|
---
|
||
|
apiVersion: chainsaw.kyverno.io/v1alpha1
|
||
|
kind: Test
|
||
|
metadata:
|
||
|
creationTimestamp: null
|
||
|
name: dyn-op-validate-and-mutate
|
||
|
spec:
|
||
|
steps:
|
||
|
- name: step-01
|
||
|
try:
|
||
|
- apply:
|
||
|
file: policy-01.yaml
|
||
|
- assert:
|
||
|
file: policy-assert1.yaml
|
||
|
- name: step-02
|
||
|
try:
|
||
|
- assert:
|
||
|
file: webhooks-02.yaml
|
||
|
- name: step-03
|
||
|
try:
|
||
|
- apply:
|
||
|
file: policy-03.yaml
|
||
|
- assert:
|
||
|
file: policy-assert2.yaml
|
||
|
- name: step-04
|
||
|
try:
|
||
|
- assert:
|
||
|
file: webhooks-04.yaml
|