Attempt to make use of postgres helm chart without setting DATABASE_URL
This commit is contained in:
parent
fa7f7acd2b
commit
74f1ec9f6c
7 changed files with 62 additions and 13 deletions
|
@ -48,10 +48,14 @@ spec:
|
|||
env:
|
||||
- name: SERVER_ROLE
|
||||
value: "beat"
|
||||
{{- if .Values.env.secret.DATABASE_URL }}
|
||||
- name: DATABASE_URL
|
||||
value: {{ .Values.env.secret.DATABASE_URL }}
|
||||
{{- end }}
|
||||
envFrom:
|
||||
- secretRef:
|
||||
name: {{ include "django.fullname" . }}
|
||||
- configMapRef:
|
||||
name: {{ include "django.fullname" . }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue