mirror of
https://github.com/kyverno/kyverno.git
synced 2025-03-09 17:37:12 +00:00
* chore: bump chainsaw Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com> * more template use Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com> * v0.2.10 Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com> * go mod Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com> --------- Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
41 lines
788 B
YAML
Executable file
41 lines
788 B
YAML
Executable file
apiVersion: chainsaw.kyverno.io/v1alpha1
|
|
kind: Test
|
|
metadata:
|
|
name: background-subresource
|
|
spec:
|
|
steps:
|
|
- name: step-01
|
|
try:
|
|
- apply:
|
|
expect:
|
|
- check:
|
|
($error != null): true
|
|
file: policy-1.yaml
|
|
- name: step-02
|
|
try:
|
|
- apply:
|
|
expect:
|
|
- check:
|
|
($error != null): true
|
|
file: policy-2.yaml
|
|
- name: step-03
|
|
try:
|
|
- apply:
|
|
expect:
|
|
- check:
|
|
($error != null): true
|
|
file: policy-3.yaml
|
|
- name: step-04
|
|
try:
|
|
- apply:
|
|
expect:
|
|
- check:
|
|
($error != null): true
|
|
file: policy-4.yaml
|
|
- name: step-05
|
|
try:
|
|
- apply:
|
|
expect:
|
|
- check:
|
|
($error != null): true
|
|
file: policy-5.yaml
|