helm: remove explicit bootstrapping
This commit is contained in:
parent
aac7e6be90
commit
4eb7c5f94b
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
Reference in a new issue