Move db and django secrets to a kube secret
This commit is contained in:
parent
354d7562e5
commit
ffc28d6f94
3 changed files with 18 additions and 5 deletions
|
@ -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" . }}
|
Loading…
Add table
Add a link
Reference in a new issue