Fixed DATABASE_URL
This commit is contained in:
@@ -60,7 +60,7 @@ spec:
|
||||
- name: DATABASE_CLASS
|
||||
value: mailman.database.postgresql.PostgreSQLDatabase
|
||||
- name: DATABASE_URL
|
||||
value: "postgresql://{{ .Values.postgresql.global.postgresql.auth.username }}:{{ .Values.postgresql.global.postgresql.auth.password }}@postgresql/mailman"
|
||||
value: "postgresql://{{ .Values.postgresql.global.postgresql.auth.username }}:{{ .Values.postgresql.global.postgresql.auth.password }}@{{ include 'mailman3/fullname' }}-postgresql/mailman"
|
||||
{{- else }}
|
||||
- name: DATABASE_CLASS
|
||||
value: mailman.database.sqlite.SQLiteDatabase
|
||||
|
||||
@@ -53,7 +53,7 @@ spec:
|
||||
{{- end }}
|
||||
{{- if .Values.postgresql.enabled }}
|
||||
- name: DATABASE_URL
|
||||
value: "postgresql://{{ .Values.postgresql.global.postgresql.auth.username }}:{{ .Values.postgresql.global.postgresql.auth.password }}@postgresql/mailman"
|
||||
value: "postgresql://{{ .Values.postgresql.global.postgresql.auth.username }}:{{ .Values.postgresql.global.postgresql.auth.password }}@{{ include 'mailman3/fullname' }}-postgresql/mailman"
|
||||
- name: DATABASE_TYPE
|
||||
value: postgresql
|
||||
{{- else }}
|
||||
|
||||
Reference in New Issue
Block a user