mirror of
https://github.com/kyverno/kyverno.git
synced 2025-03-10 09:56:55 +00:00
26 lines
510 B
YAML
26 lines
510 B
YAML
|
apiVersion: chainsaw.kyverno.io/v1alpha1
|
||
|
kind: Test
|
||
|
metadata:
|
||
|
creationTimestamp: null
|
||
|
name: patchstrategicmerge-global-addifnotpresent
|
||
|
spec:
|
||
|
steps:
|
||
|
- name: step-01
|
||
|
try:
|
||
|
- apply:
|
||
|
file: policy.yaml
|
||
|
- assert:
|
||
|
file: policy-ready.yaml
|
||
|
- name: step-02
|
||
|
try:
|
||
|
- apply:
|
||
|
file: resource01.yaml
|
||
|
- assert:
|
||
|
file: resource01-mutated.yaml
|
||
|
- name: step-03
|
||
|
try:
|
||
|
- apply:
|
||
|
file: resource02.yaml
|
||
|
- assert:
|
||
|
file: resource02-mutated.yaml
|