helm: fix arguments not being arrys

This commit is contained in:
Jens Langhammer 2020-09-06 15:52:22 +02:00
parent dd017e7190
commit 80e8a3d63c
2 changed files with 3 additions and 5 deletions

View File

@ -26,9 +26,7 @@ spec:
- name: passbook-database-migrations
image: "{{ .Values.image.name }}:{{ .Values.image.tag }}"
imagePullPolicy: Always
args:
- ./manage.py
- migrate
args: [migrate]
envFrom:
- configMapRef:
name: {{ include "passbook.fullname" . }}-config
@ -53,7 +51,7 @@ spec:
- name: {{ .Chart.Name }}
image: "{{ .Values.image.name }}:{{ .Values.image.tag }}"
imagePullPolicy: Always
args: server
args: [server]
envFrom:
- configMapRef:
name: {{ include "passbook.fullname" . }}-config

View File

@ -26,7 +26,7 @@ spec:
- name: {{ .Chart.Name }}
image: "{{ .Values.image.name }}:{{ .Values.image.tag }}"
imagePullPolicy: IfNotPresent
args: worker
args: [worker]
envFrom:
- configMapRef:
name: "{{ include "passbook.fullname" . }}-config"