mirror of
https://github.com/kyverno/kyverno.git
synced 2025-03-09 17:37:12 +00:00
* chore: bump chainsaw * more template use * v0.2.10 * go mod --------- Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com> Co-authored-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
32 lines
560 B
YAML
Executable file
32 lines
560 B
YAML
Executable file
apiVersion: chainsaw.kyverno.io/v1alpha1
|
|
kind: Test
|
|
metadata:
|
|
name: report-deletion
|
|
spec:
|
|
steps:
|
|
- name: step-00
|
|
try:
|
|
- apply:
|
|
file: ns.yaml
|
|
- assert:
|
|
file: ns.yaml
|
|
- name: step-01
|
|
try:
|
|
- apply:
|
|
file: pod.yaml
|
|
- assert:
|
|
file: pod.yaml
|
|
- name: step-02
|
|
try:
|
|
- apply:
|
|
file: policy.yaml
|
|
- assert:
|
|
file: policy-assert.yaml
|
|
- name: step-03
|
|
try:
|
|
- error:
|
|
file: report-error-1.yaml
|
|
- name: step-04
|
|
try:
|
|
- error:
|
|
file: report-error-2.yaml
|