summaryrefslogtreecommitdiffstats
path: root/kubernetes/common/etcd-init/templates/job.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'kubernetes/common/etcd-init/templates/job.yaml')
-rw-r--r--kubernetes/common/etcd-init/templates/job.yaml1
1 files changed, 1 insertions, 0 deletions
diff --git a/kubernetes/common/etcd-init/templates/job.yaml b/kubernetes/common/etcd-init/templates/job.yaml
index 4b8e2e5fdd..a517264d57 100644
--- a/kubernetes/common/etcd-init/templates/job.yaml
+++ b/kubernetes/common/etcd-init/templates/job.yaml
@@ -98,6 +98,7 @@ spec:
{{- if .Values.affinity }}
affinity: {{ toYaml .Values.affinity | nindent 10 }}
{{- end }}
+ serviceAccountName: {{ include "common.fullname" (dict "suffix" "read" "dot" . )}}
volumes:
- name: localtime
hostPath: