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/cel-policy-exceptions/empty-policy-ref/chainsaw-test.yaml

16 lines
383 B
YAML
Raw Normal View History

# yaml-language-server: $schema=https://raw.githubusercontent.com/kyverno/chainsaw/main/.schemas/json/test-chainsaw-v1alpha1.json
apiVersion: chainsaw.kyverno.io/v1alpha1
kind: Test
metadata:
name: empty-policy-ref
spec:
steps:
- name: create exception
try:
- apply:
expect:
- check:
($error != null): true
file: exception.yaml