1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2025-04-15 16:56:56 +00:00
kyverno/test/conformance/chainsaw/exceptions/with-wildcard/03-configmap.yaml

21 lines
391 B
YAML
Raw Normal View History

---
apiVersion: chainsaw.kyverno.io/v1alpha1
kind: TestStep
metadata:
creationTimestamp: null
name: configmap
spec:
timeouts: {}
try:
- apply:
file: configmap-allowed.yaml
- apply:
expect:
- check:
($error != null): true
file: configmap-rejected.yaml
- assert:
file: configmap-allowed.yaml
- error:
file: configmap-rejected.yaml