1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2025-03-12 10:56:54 +00:00
kyverno/test/conformance/chainsaw/exceptions/background-mode/standard/exception-rejected.yaml
Mariam Fahmy 8e0a7aa204
feat: promote policy exceptions to v2 (#9208)
Signed-off-by: Mariam Fahmy <mariam.fahmy@nirmata.com>
2023-12-19 10:43:39 +00:00

18 lines
No EOL
308 B
YAML

apiVersion: kyverno.io/v2
kind: PolicyException
metadata:
name: polex-wrong
spec:
background: true
exceptions:
- policyName: test
ruleNames:
- test
match:
any:
- resources:
kinds:
- Pods
subjects:
- kind: User
name: chip