1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2025-03-09 09:26:54 +00:00
kyverno/test/conformance/kuttl/exceptions/check-variables/standard/exception-rejected.yaml

18 lines
315 B
YAML
Raw Normal View History

apiVersion: kyverno.io/v2alpha1
kind: PolicyException
metadata:
name: polex-wrong
spec:
background: true
exceptions:
- policyName: test
ruleNames:
- test
match:
any:
- resources:
kinds:
- Pods
names:
- "{{ request.userInfo.username }}"