mirror of
https://github.com/kyverno/kyverno.git
synced 2025-03-06 07:57:07 +00:00
15 lines
389 B
YAML
15 lines
389 B
YAML
|
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*"
|