add ServiceAccount to pre-install-job template
This commit is contained in:
parent
0d5921af5e
commit
e07bd0e7ce
|
@ -20,6 +20,7 @@ spec:
|
||||||
imagePullSecrets:
|
imagePullSecrets:
|
||||||
{{- toYaml . | nindent 8 }}
|
{{- toYaml . | nindent 8 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
serviceAccountName: {{ include "django.serviceAccountName" . }}
|
||||||
restartPolicy: Never
|
restartPolicy: Never
|
||||||
containers:
|
containers:
|
||||||
- name: pre-install-job
|
- name: pre-install-job
|
||||||
|
|
Loading…
Reference in a new issue