1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2025-03-10 09:56:55 +00:00
kyverno/test/conformance/chainsaw/policy-validation/policy/admission-disabled/chainsaw-test.yaml

21 lines
413 B
YAML
Raw Normal View History

apiVersion: chainsaw.kyverno.io/v1alpha1
kind: Test
metadata:
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-verify-image.yaml