From 80e8a3d63ca5009d97230e23bb2ac490ddaf7600 Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Sun, 6 Sep 2020 15:52:22 +0200 Subject: [PATCH] helm: fix arguments not being arrys --- helm/templates/web-deployment.yaml | 6 ++---- helm/templates/worker-deployment.yaml | 2 +- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/helm/templates/web-deployment.yaml b/helm/templates/web-deployment.yaml index c33c7acdf..7daeb5e45 100644 --- a/helm/templates/web-deployment.yaml +++ b/helm/templates/web-deployment.yaml @@ -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 diff --git a/helm/templates/worker-deployment.yaml b/helm/templates/worker-deployment.yaml index dca135e80..ffc21fe46 100644 --- a/helm/templates/worker-deployment.yaml +++ b/helm/templates/worker-deployment.yaml @@ -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"