mirror of
https://github.com/kyverno/kyverno.git
synced 2025-03-10 18:06:55 +00:00
22 lines
395 B
YAML
22 lines
395 B
YAML
|
apiVersion: chainsaw.kyverno.io/v1alpha1
|
||
|
kind: Test
|
||
|
metadata:
|
||
|
creationTimestamp: null
|
||
|
name: multiple-exceptions-with-pod-security
|
||
|
spec:
|
||
|
steps:
|
||
|
- name: step-01
|
||
|
try:
|
||
|
- apply:
|
||
|
file: policy.yaml
|
||
|
- assert:
|
||
|
file: policy-assert.yaml
|
||
|
- name: step-02
|
||
|
try:
|
||
|
- apply:
|
||
|
file: exceptions.yaml
|
||
|
- name: step-03
|
||
|
try:
|
||
|
- apply:
|
||
|
file: pod.yaml
|