Fixed DATABASE_URL

This commit is contained in:
2026-04-01 16:19:15 -04:00
parent 0faf17c7ee
commit 5facaf79bb
2 changed files with 2 additions and 2 deletions

View File

@@ -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

View File

@@ -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 }}