Skip to content

Commit fa1fb69

Browse files
authored
add mail settings (#5)
* add mail settings * bump chart
1 parent f6707c1 commit fa1fb69

File tree

3 files changed

+25
-1
lines changed

3 files changed

+25
-1
lines changed

charts/atuin/Chart.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ type: application
1919
# This is the chart version. This version number should be incremented each time you make changes
2020
# to the chart and its templates, including the app version.
2121
# Versions are expected to follow Semantic Versioning (https://semver.org/)
22-
version: 0.3.2
22+
version: 0.4.0
2323

2424
# This is the version number of the application being deployed. This version number should be
2525
# incremented each time you make changes to the application. Versions are not expected to

charts/atuin/templates/deployment.yaml

+16
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,22 @@ spec:
8181
- name: ATUIN_METRICS__PORT
8282
value: "{{ .Values.atuin.metrics.port}}"
8383
{{- end }}
84+
85+
{{- if .Values.atuin.mail.enabled }}
86+
- name: ATUIN_MAIL__ENABLED
87+
value: "true"
88+
89+
{{- if .Values.atuin.mail.postmark.token}}
90+
- name: ATUIN_MAIL__POSTMARK__TOKEN
91+
value: {{ .Values.atuin.mail.postmark.token }}
92+
{{- end }}
93+
94+
- name: ATUIN_MAIL__VERIFICATION__FROM
95+
value: "{{ .Values.atuin.mail.verification.from }}"
96+
97+
- name: ATUIN_MAIL__VERIFICATION__SUBJECT
98+
value: "{{ .Values.atuin.mail.verification.subject }}"
99+
{{- end }}
84100
ports:
85101
- name: http
86102
containerPort: {{ .Values.service.port }}

charts/atuin/values.yaml

+8
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,14 @@ atuin:
4040
host: "0.0.0.0"
4141
port: 9001
4242

43+
mail:
44+
enabled: false
45+
postmark:
46+
token: null
47+
verification:
48+
from: "Atuin"
49+
subject: "Atuin Verification"
50+
4351
logLevel: info
4452

4553
# Enable registration

0 commit comments

Comments
 (0)