Move db and django secrets to a kube secret

This commit is contained in:
David Burke 2020-01-15 21:48:27 -05:00
parent 354d7562e5
commit ffc28d6f94
3 changed files with 18 additions and 5 deletions

View file

@ -17,9 +17,10 @@ spec:
image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"
command: ["./manage.py","migrate"]
env:
- name: DATABASE_URL
- name: SECRET_KEY
- name: DEBUG
value: "False"
- name: STATIC_URL
value: /
value: /
envFrom:
- secretRef:
name: {{ include "glitchtip.fullname" . }}