Skip to content

Commit ee60f02

Browse files
authored
chore(controller): process do not mount a serviceaccount (#200)
1 parent bc6567a commit ee60f02

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

rootfs/scheduler/resources/deployment.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,7 @@ def manifest(self, namespace, name, image, command, args, spec_annotations, **kw
107107

108108
# set the old deployment spec annotations on this deployment
109109
manifest['spec']['template']['metadata']['annotations'] = spec_annotations
110+
manifest['spec']['template']['spec']['automountServiceAccountToken'] = False
110111
if annotations:
111112
manifest['spec']['template']['metadata']['annotations'].update(annotations)
112113
if "resource_version" in kwargs:

0 commit comments

Comments
 (0)