charts/boday-it/templates/web-deployment.yaml aktualisiert
This commit is contained in:
parent
d8b074d731
commit
4f3c6e0cf9
1 changed files with 6 additions and 1 deletions
|
|
@ -17,7 +17,12 @@ spec:
|
||||||
- name: collectstatic
|
- name: collectstatic
|
||||||
image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"
|
image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"
|
||||||
imagePullPolicy: {{ .Values.image.pullPolicy }}
|
imagePullPolicy: {{ .Values.image.pullPolicy }}
|
||||||
command: ["/bin/sh", "-c", "python manage.py collectstatic --noinput"]
|
command:
|
||||||
|
- /bin/sh
|
||||||
|
- -c
|
||||||
|
- |
|
||||||
|
python manage.py migrate --noinput && \
|
||||||
|
python manage.py collectstatic --noinput
|
||||||
env:
|
env:
|
||||||
- name: DEBUG
|
- name: DEBUG
|
||||||
value: {{ .Values.django.debug | quote }}
|
value: {{ .Values.django.debug | quote }}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue