3 Commits
v1.0.6 ... main

Author SHA1 Message Date
5facaf79bb Fixed DATABASE_URL 2026-04-01 16:19:15 -04:00
0faf17c7ee SMTP port in core template 2026-04-01 13:11:58 -04:00
7c62c36c4f Fixing PostgreSQL and SMTP configuration 2026-04-01 13:08:48 -04:00
3 changed files with 5 additions and 4 deletions

1
.gitignore vendored
View File

@@ -1,2 +1,3 @@
*.swp
*.tar.gz
mailman3/charts/*

View File

@@ -51,7 +51,7 @@ spec:
- name: SMTP_HOST
value: {{ .Values.smtp.host }}
- name: SMTP_PORT
value: {{ .Values.smtp.port }}
value: "{{ .Values.smtp.port }}"
{{- else }}
- name: SMTP_HOST
value: {{ include "mailman3.fullname" . }}-core.{{ .Release.Namespace }}.svc.{{ $clusterDomain }}
@@ -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 }}
@@ -70,7 +70,7 @@ spec:
- name: SMTP_HOST
value: {{ .Values.smtp.host }}
- name: SMTP_PORT
value: {{ .Values.smtp.port }}
value: "{{ .Values.smtp.port }}"
- name: SMTP_HOST_USER
value: {{ .Values.smtp.host_user }}
- name: SMTP_HOST_PASSWORD