1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2025-03-06 16:06:56 +00:00
kyverno/test/policy/mutate/policy_mutate_pod_disable_automountingapicred.yaml

16 lines
338 B
YAML
Raw Normal View History

2019-11-13 13:56:20 -08:00
apiVersion : kyverno.io/v1
2019-09-06 10:03:24 -07:00
kind: ClusterPolicy
metadata:
name: mutate-pod-disable-automoutingapicred
spec:
rules:
- name: pod-disable-automoutingapicred
match:
resources:
kinds:
- Pod
mutate:
overlay:
spec:
(serviceAccountName): "*"
automountServiceAccountToken: false