charts/boday-it/templates/web-deployment.yaml aktualisiert

This commit is contained in:
bast 2026-11-01 00:44:46 +00:00
parent d8b074d731
commit 4f3c6e0cf9

View file

@ -17,7 +17,12 @@ spec:
- name: collectstatic
image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"
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:
- name: DEBUG
value: {{ .Values.django.debug | quote }}