1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2025-03-09 17:37:12 +00:00
kyverno/test/conformance/chainsaw/exceptions/exclude-host-process-and-host-namespaces/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

17 lines
320 B
YAML

apiVersion: kyverno.io/v2
kind: PolicyException
metadata:
name: pod-security-exception
namespace: policy-exception-ns-1
spec:
exceptions:
- policyName: psa-2
ruleNames:
- baseline
match:
any:
- resources:
namespaces:
- staging-ns-1
podSecurity:
- controlName: HostProcess