mirror of
https://github.com/kyverno/kyverno.git
synced 2025-03-10 18:06:55 +00:00
27 lines
555 B
YAML
27 lines
555 B
YAML
|
apiVersion: chainsaw.kyverno.io/v1alpha1
|
||
|
kind: Test
|
||
|
metadata:
|
||
|
creationTimestamp: null
|
||
|
name: admission-disabled
|
||
|
spec:
|
||
|
steps:
|
||
|
- name: step-01
|
||
|
try:
|
||
|
- apply:
|
||
|
file: policy-validate.yaml
|
||
|
- apply:
|
||
|
expect:
|
||
|
- check:
|
||
|
($error != null): true
|
||
|
file: policy-mutate.yaml
|
||
|
- apply:
|
||
|
expect:
|
||
|
- check:
|
||
|
($error != null): true
|
||
|
file: policy-generate.yaml
|
||
|
- apply:
|
||
|
expect:
|
||
|
- check:
|
||
|
($error != null): true
|
||
|
file: policy-verify-image.yaml
|