[OOM] Fixing k8s ServiceAccounts
[oom.git] / kubernetes / common / etcd-init / templates / job.yaml
index 4b8e2e5..a517264 100644 (file)
@@ -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: