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
|
@ -9,4 +9,10 @@ metadata:
|
|||
data:
|
||||
{{- range $k, $v := .Values.env.normal }}
|
||||
{{ $k }}: {{ $v | quote }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
{{- if .Values.postgresql.enabled }}
|
||||
DATABASE_HOST: {{ include "django.postgresql.host" . | quote }}
|
||||
DATABASE_USER: {{ include "django.postgresql.username" . | quote }}
|
||||
DATABASE_NAME: {{ include "django.postgresql.name" . | quote }}
|
||||
DATABASE_PORT: {{ include "django.postgresql.port" . | quote }}
|
||||
{{- end }}
|
||||
|
|
Reference in a new issue