Compare commits
4 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
5facaf79bb
|
|||
|
0faf17c7ee
|
|||
|
7c62c36c4f
|
|||
|
4fb8fb9a3d
|
1
.gitignore
vendored
1
.gitignore
vendored
@@ -1,2 +1,3 @@
|
||||
*.swp
|
||||
*.tar.gz
|
||||
mailman3/charts/*
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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,13 +70,13 @@ 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
|
||||
value: {{ .Values.smtp.host_password }}
|
||||
- name: SMTP_USE_TLS
|
||||
value: {{ .Values.smtp.use_tls }}
|
||||
value: "{{ .Values.smtp.use_tls }}"
|
||||
{{- else }}
|
||||
- name: SMTP_HOST
|
||||
value: {{ include "mailman3.fullname" . }}-core.{{ .Release.Namespace }}.svc.{{ $clusterDomain }}
|
||||
|
||||
Reference in New Issue
Block a user