From 5facaf79bb45d1284f11764a9debad47e38ea4c2 Mon Sep 17 00:00:00 2001 From: Eric Meehan Date: Wed, 1 Apr 2026 16:19:15 -0400 Subject: [PATCH] Fixed DATABASE_URL --- mailman3/templates/core.yaml | 2 +- mailman3/templates/web.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/mailman3/templates/core.yaml b/mailman3/templates/core.yaml index ab4d873..bc7e328 100644 --- a/mailman3/templates/core.yaml +++ b/mailman3/templates/core.yaml @@ -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 diff --git a/mailman3/templates/web.yaml b/mailman3/templates/web.yaml index 703e91e..d3c794a 100644 --- a/mailman3/templates/web.yaml +++ b/mailman3/templates/web.yaml @@ -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 }}