helm: remove explicit bootstrapping

This commit is contained in:
Jens Langhammer 2020-04-22 11:45:36 +02:00
parent aac7e6be90
commit 4eb7c5f94b
2 changed files with 2 additions and 8 deletions

View file

@ -31,8 +31,6 @@ spec:
command: command:
- ./manage.py - ./manage.py
args: args:
- bootstrap
- ./manage.py
- migrate - migrate
volumeMounts: volumeMounts:
- mountPath: /etc/passbook - mountPath: /etc/passbook
@ -62,10 +60,8 @@ spec:
image: "beryju/passbook:{{ .Values.image.tag }}" image: "beryju/passbook:{{ .Values.image.tag }}"
imagePullPolicy: Always imagePullPolicy: Always
command: command:
- ./manage.py
args:
- bootstrap
- uwsgi - uwsgi
args:
- uwsgi.ini - uwsgi.ini
volumeMounts: volumeMounts:
- mountPath: /etc/passbook - mountPath: /etc/passbook

View file

@ -29,10 +29,8 @@ spec:
image: "beryju/passbook:{{ .Values.image.tag }}" image: "beryju/passbook:{{ .Values.image.tag }}"
imagePullPolicy: IfNotPresent imagePullPolicy: IfNotPresent
command: command:
- ./manage.py
args:
- bootstrap
- celery - celery
args:
- worker - worker
- --autoscale=10,3 - --autoscale=10,3
- -E - -E