helm: fix bootstrap not being used correctly

This commit is contained in:
Jens Langhammer 2020-05-08 09:42:21 +02:00
parent 179f0097c0
commit bc0f4973d8
2 changed files with 3 additions and 6 deletions

View file

@ -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

View file

@ -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