feat(deploy): add automountServiceAccountToke=false to migrations job
This commit is contained in:
parent
70ef8933a9
commit
11cc2027b8
1 changed files with 1 additions and 0 deletions
|
|
@ -17,6 +17,7 @@ spec:
|
||||||
app.kubernetes.io/component: "database-migrations"
|
app.kubernetes.io/component: "database-migrations"
|
||||||
batch.kubernetes.io/job-name: {{ .Release.Name }}-migrations-{{ now | unixEpoch }}
|
batch.kubernetes.io/job-name: {{ .Release.Name }}-migrations-{{ now | unixEpoch }}
|
||||||
spec:
|
spec:
|
||||||
|
automountServiceAccountToken: false
|
||||||
{{- with .Values.migrations.image.pullSecrets }}
|
{{- with .Values.migrations.image.pullSecrets }}
|
||||||
imagePullSecrets:
|
imagePullSecrets:
|
||||||
{{- toYaml . | nindent 8 }}
|
{{- toYaml . | nindent 8 }}
|
||||||
|
|
|
||||||
Reference in a new issue