[OOM] Fixing k8s ServiceAccounts
[oom.git] / kubernetes / common / postgres-init / templates / job.yaml
index 15260f0..09c21fe 100644 (file)
@@ -102,6 +102,7 @@ spec:
       affinity:
 {{ toYaml .Values.affinity | indent 10 }}
       {{- end }}
+      serviceAccountName: {{ include "common.fullname" (dict "suffix" "read" "dot" . )}}
       volumes:
       - name: localtime
         hostPath: