1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2025-03-06 16:06:56 +00:00
kyverno/test/conformance/chainsaw/exceptions/events-creation/chainsaw-step-02-apply-2.yaml
Charles-Edouard Brétéché f2561d0095
chore: convert chainsaw tests to Test resource (#9100)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-12-06 21:39:17 +00:00

15 lines
369 B
YAML
Executable file

apiVersion: kyverno.io/v2beta1
kind: PolicyException
metadata:
name: policy-exception-allow-latest
namespace: policy-exception-events-creation-polex-ns
spec:
exceptions:
- policyName: disallow-latest-tag-events-creation
ruleNames:
- validate-image-tag
match:
any:
- resources:
namespaces:
- policy-exception-events-creation-ns