Skip to content

Commit

Permalink
[ADD] smtp auth variable
Browse files Browse the repository at this point in the history
  • Loading branch information
alexnuttinck committed Nov 3, 2023
1 parent aa71791 commit 6e43e18
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ apiVersion: v2
name: plausible-analytics
description: A Helm Chart for Plausible Analytics - Simple, open-source, lightweight (< 1 KB) and privacy-friendly web analytics alternative to Google Analytics.
type: application
version: 0.2.1
version: 0.2.2
appVersion: 2.0.0
keywords:
- web analytics
Expand Down
2 changes: 2 additions & 0 deletions templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,7 @@ spec:
- name: SMTP_HOST_PORT
value: {{ .Values.mailer.smtp.port | toString | quote }}
{{- end }}
{{- if .Values.mailer.smtp.auth }}
{{- if .Values.mailer.smtp.username }}
- name: SMTP_USER_NAME
value: {{ .Values.mailer.smtp.username | toString | quote }}
Expand All @@ -142,6 +143,7 @@ spec:
secretKeyRef:
key: SMTP_USER_PWD
name: {{ include "plausible-analytics.secretName" . }}
{{- end }}
{{- if .Values.mailer.smtp.ssl }}
- name: SMTP_HOST_SSL_ENABLED
value: {{ .Values.mailer.smtp.ssl | toString | quote }}
Expand Down
3 changes: 2 additions & 1 deletion values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,10 @@ mailer:
smtp:
host: "" # The host address of your smtp server.
port: "" # The port of your smtp server.
auth: false # If SMTP auth is enabled.
username: "" # The username/email in case SMTP auth is enabled.
password: "" # The password in case SMTP auth is enabled.
ssl: "" # If SSL is enabled for SMTP connection
ssl: false # If SSL is enabled for SMTP connection
retries: "" # Number of retries to make until mailer gives up.
mailgun:
apiKey: ""
Expand Down

0 comments on commit 6e43e18

Please sign in to comment.