From 4eb7c5f94bd781001705560247509d1a2f1993c8 Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Wed, 22 Apr 2020 11:45:36 +0200 Subject: [PATCH] helm: remove explicit bootstrapping --- helm/templates/web-deployment.yaml | 6 +----- helm/templates/worker-deployment.yaml | 4 +--- 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/helm/templates/web-deployment.yaml b/helm/templates/web-deployment.yaml index e25df741f..c0db1e964 100644 --- a/helm/templates/web-deployment.yaml +++ b/helm/templates/web-deployment.yaml @@ -31,8 +31,6 @@ spec: command: - ./manage.py args: - - bootstrap - - ./manage.py - migrate volumeMounts: - mountPath: /etc/passbook @@ -62,10 +60,8 @@ spec: image: "beryju/passbook:{{ .Values.image.tag }}" imagePullPolicy: Always command: - - ./manage.py - args: - - bootstrap - uwsgi + args: - uwsgi.ini volumeMounts: - mountPath: /etc/passbook diff --git a/helm/templates/worker-deployment.yaml b/helm/templates/worker-deployment.yaml index eded48123..61b7a12fa 100644 --- a/helm/templates/worker-deployment.yaml +++ b/helm/templates/worker-deployment.yaml @@ -29,10 +29,8 @@ spec: image: "beryju/passbook:{{ .Values.image.tag }}" imagePullPolicy: IfNotPresent command: - - ./manage.py - args: - - bootstrap - celery + args: - worker - --autoscale=10,3 - -E