1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2025-03-09 17:37:12 +00:00
kyverno/test/conformance/chainsaw/webhooks/policy-clusterscope-resource/chainsaw-test.yaml
Charles-Edouard Brétéché 7113aa111a
feat: use more chainsaw test templates (#11281)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-10-01 20:46:10 +00:00

13 lines
276 B
YAML
Executable file

apiVersion: chainsaw.kyverno.io/v1alpha1
kind: Test
metadata:
name: policy-clusterscope-resource
spec:
steps:
- name: step-01
try:
- apply:
file: policy.yaml
expect:
- check:
($error != null): true