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