1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2025-03-06 07:57:07 +00:00
kyverno/test/conformance/chainsaw/exceptions/only-for-specific-user/exception.yaml
Mariam Fahmy b7bf894fe9
chore: use v2 for exceptions in chainsaw tests (#10529)
Signed-off-by: Mariam Fahmy <mariam.fahmy@nirmata.com>
2024-06-24 11:54:57 +00:00

20 lines
373 B
YAML

apiVersion: kyverno.io/v2
kind: PolicyException
metadata:
name: mynewpolex
spec:
background: false
exceptions:
- policyName: require-labels
ruleNames:
- require-team
match:
any:
- resources:
kinds:
- ConfigMap
names:
- emergency
subjects:
- kind: User
name: chip