1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2025-03-05 15:37:19 +00:00
kyverno/test/policy/mutate/policy_mutate_pod_disable_automountingapicred.yaml
2019-11-13 13:56:20 -08:00

16 lines
No EOL
338 B
YAML

apiVersion : kyverno.io/v1
kind: ClusterPolicy
metadata:
name: mutate-pod-disable-automoutingapicred
spec:
rules:
- name: pod-disable-automoutingapicred
match:
resources:
kinds:
- Pod
mutate:
overlay:
spec:
(serviceAccountName): "*"
automountServiceAccountToken: false