Commit f178a35c authored by Evili del Rio's avatar Evili del Rio

Change default database, username, and password for postgresql

parent 59480521
Pipeline #1766 failed with stage
in 9 seconds
......@@ -5,6 +5,6 @@ metadata:
data:
POSTGRES_DATABASE: {{ .Values.global.postgresql.postgresqlDatabase }}
POSTGRES_USER: {{ .Values.global.postgresql.postgresqlUsername }}
{{-if .Values.global.postgresql.postgresqlHost }}
{{- if .Values.global.postgresql.postgresqlHost }}
POSTGRES_HOST: {{ .Values.global.postgresql.postgresqlHost }}
{{-end }}
{{- end }}
......@@ -15,7 +15,7 @@ image:
#
django:
config:
DJANGO_ALLOWED_HOSTS: ['*']
DJANGO_ALLOWED_HOSTS: "['*']"
# DJANGO_DEBUG: info
# DJANGO_SUPERUSER_USERNAME: admin
# DJANGO_SUPERUSER_EMAIL: admin@example.com
......@@ -102,7 +102,7 @@ global:
secretKey:
postgresql:
postgresqlHost:
postgresqlUsername: django
postgresqlDatabase: django
postgresqlPassword: django
postgresqlUsername: {{ .Release.name }}
postgresqlDatabase: {{ .Release.name }}
postgresqlPassword: {{ .Release.name }}
servicePort: 5432
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment