1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2025-03-06 07:57:07 +00:00
kyverno/charts/kyverno-policies/ci/test-preconditions.yaml

15 lines
389 B
YAML
Raw Normal View History

podSecurityStandard: restricted
includeOtherPolicies:
- require-non-root-groups
policyPreconditions:
require-run-as-non-root-user:
any:
- key: "{{ request.object.metadata.name }}"
operator: NotEquals
value: "dcgm-exporter*"
adding-capabilities-strict:
any:
- key: "{{ request.object.metadata.name }}"
operator: NotEquals
value: "dcgm-exporter*"