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