1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2025-03-06 16:06:56 +00:00
kyverno/test/conformance/kuttl/exceptions/with-wildcard/03-configmap.yaml
Charles-Edouard Brétéché 8d137acd15
feature: add wildcard support in policy exception rule names (#6773)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-04-04 05:48:55 +00:00

10 lines
200 B
YAML

apiVersion: kuttl.dev/v1beta1
kind: TestStep
apply:
- file: configmap-allowed.yaml
- file: configmap-rejected.yaml
shouldFail: true
assert:
- configmap-allowed.yaml
error:
- configmap-rejected.yaml