Skip to content

Commit

Permalink
Release listmonk chart: v0.3.0, app: v4.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
th0th committed Nov 4, 2024
1 parent e148683 commit fb9a367
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 6 deletions.
1 change: 0 additions & 1 deletion charts/listmonk/templates/configmap-listmonk.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ data:
[app]
address = "0.0.0.0:80"
# Database.
[db]
host = "{{- include "listmonk.fullname" .}}-postgres"
port = 5432
Expand Down
13 changes: 9 additions & 4 deletions charts/listmonk/templates/deployment-listmonk.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,18 +19,23 @@ spec:
containers:
- env:
- name: LISTMONK_db__user
value: "{{ .Values.postgres.user }}"
value: {{ .Values.postgres.user }}
- name: LISTMONK_db__password
value: "{{ .Values.postgres.password }}"
value: {{ .Values.postgres.password }}
image: {{ .Values.listmonk.image.repository }}:{{ .Values.listmonk.image.tag | default .Chart.AppVersion }}
name: listmonk
volumeMounts:
- mountPath: /listmonk/config.toml
name: config
subPath: config.toml
initContainers:
- name: init
image: {{ .Values.listmonk.image.repository }}:{{ .Values.listmonk.image.tag }}
- env:
- name: LISTMONK_db__user
value: {{ .Values.postgres.user }}
- name: LISTMONK_db__password
value: {{ .Values.postgres.password }}
name: init
image: {{ .Values.listmonk.image.repository }}:{{ .Values.listmonk.image.tag | default .Chart.AppVersion }}
command:
- ./listmonk
- --install
Expand Down
2 changes: 1 addition & 1 deletion charts/listmonk/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ listmonk:
postgres:
# -- enable postgres
enabled: true
# -- when not enabled, the external postgress service hostname is required
# -- when not enabled, the external postgres service hostname is required
hostname: ""
# -- the postgres database name
database: listmonk
Expand Down

0 comments on commit fb9a367

Please sign in to comment.