mirror of
https://github.com/kyverno/kyverno.git
synced 2025-03-06 16:06:56 +00:00
24 lines
452 B
YAML
24 lines
452 B
YAML
|
apiVersion: chainsaw.kyverno.io/v1alpha1
|
||
|
kind: Test
|
||
|
metadata:
|
||
|
creationTimestamp: null
|
||
|
name: policy-different-resource-group
|
||
|
spec:
|
||
|
steps:
|
||
|
- name: step-01
|
||
|
try:
|
||
|
- apply:
|
||
|
file: policy-1.yaml
|
||
|
- assert:
|
||
|
file: policy-1-assert.yaml
|
||
|
- name: step-2
|
||
|
try:
|
||
|
- apply:
|
||
|
file: policy-2.yaml
|
||
|
- assert:
|
||
|
file: policy-2-assert.yaml
|
||
|
- name: step-3
|
||
|
try:
|
||
|
- assert:
|
||
|
file: webhooks.yaml
|