EOX GitLab Instance

Skip to content
Snippets Groups Projects
Commit 2f3c0a34 authored by Stephan's avatar Stephan
Browse files

fix database host

parent 33e32828
No related branches found
No related tags found
2 merge requests!37Chart,!36Staging to master to prepare 1.0.0 release
......@@ -56,6 +56,8 @@ spec:
- name: {{ $key }}
value: {{ $value | quote }}
{{- end }}
- name: DB_HOST
value: {{ .Release.Name }}-database
{{- range $key, $value := .Values.config.django }}
- name: {{ $key }}
value: {{ $value | quote }}
......@@ -73,7 +75,7 @@ spec:
- name: STARTUP_SCRIPTS
value: /wait-initialized.sh
- name: WAIT_SERVICES
value: {{ .Values.config.database.DB_HOST }}:{{ .Values.config.database.DB_PORT }}
value: {{ .Release.Name }}-database:{{ .Values.config.database.DB_PORT }}
volumeMounts:
- mountPath: /init-db.sh
name: init-db
......
......@@ -5,7 +5,6 @@ config:
GDAL_DISABLE_READDIR_ON_OPEN: "TRUE"
COLLECT_STATIC: "false"
database:
DB_HOST: database
DB_NAME: dbname
DB_PORT: "5432"
DB_PW: dbpw
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment