1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2025-03-10 09:56:55 +00:00
kyverno/test/conformance/kuttl/exceptions/check-variables/standard/exception-rejected.yaml
Mariam Fahmy e969248483
chore: bump cleanup policies to v2beta1 (#8621)
Signed-off-by: Mariam Fahmy <mariam.fahmy@nirmata.com>
2023-10-12 19:45:33 +08:00

17 lines
314 B
YAML

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