From bc0f4973d818d073f89cc56ac842c6cf62b60a4d Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Fri, 8 May 2020 09:42:21 +0200 Subject: [PATCH] helm: fix bootstrap not being used correctly --- helm/templates/web-deployment.yaml | 6 ++---- helm/templates/worker-deployment.yaml | 3 +-- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/helm/templates/web-deployment.yaml b/helm/templates/web-deployment.yaml index c0db1e964..b898fd426 100644 --- a/helm/templates/web-deployment.yaml +++ b/helm/templates/web-deployment.yaml @@ -28,9 +28,8 @@ spec: - name: passbook-database-migrations image: "beryju/passbook:{{ .Values.image.tag }}" imagePullPolicy: Always - command: - - ./manage.py args: + - ./manage.py - migrate volumeMounts: - mountPath: /etc/passbook @@ -59,9 +58,8 @@ spec: - name: {{ .Chart.Name }} image: "beryju/passbook:{{ .Values.image.tag }}" imagePullPolicy: Always - command: - - uwsgi args: + - uwsgi - uwsgi.ini volumeMounts: - mountPath: /etc/passbook diff --git a/helm/templates/worker-deployment.yaml b/helm/templates/worker-deployment.yaml index 61b7a12fa..82dcdf275 100644 --- a/helm/templates/worker-deployment.yaml +++ b/helm/templates/worker-deployment.yaml @@ -28,9 +28,8 @@ spec: - name: {{ .Chart.Name }} image: "beryju/passbook:{{ .Values.image.tag }}" imagePullPolicy: IfNotPresent - command: - - celery args: + - celery - worker - --autoscale=10,3 - -E