Add email notifier configuration to argocd-notifications chart
This commit is contained in:
parent
7d5d20f615
commit
06696db36b
2 changed files with 27 additions and 0 deletions
|
@ -27,4 +27,13 @@ stringData:
|
||||||
{{- $v | toYaml | nindent 8 }}
|
{{- $v | toYaml | nindent 8 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
{{- if .Values.secret.notifiers.email.enabled }}
|
||||||
|
email:
|
||||||
|
host: {{ .Values.secret.notifiers.email.host }}
|
||||||
|
port: {{ .Values.secret.notifiers.email.port }}
|
||||||
|
insecure_skip_verify: {{ .Values.secret.notifiers.email.insecure_skip_verify }}
|
||||||
|
username: {{ .Values.secret.notifiers.email.username }}
|
||||||
|
password: {{ .Values.secret.notifiers.email.password }}
|
||||||
|
from: {{ .Values.secret.notifiers.email.from }}
|
||||||
|
{{- end }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
|
@ -69,6 +69,24 @@ secret:
|
||||||
# username: username
|
# username: username
|
||||||
# password: mypassword
|
# password: mypassword
|
||||||
|
|
||||||
|
email:
|
||||||
|
# For more information: https://argoproj-labs.github.io/argocd-notifications/services/overview/
|
||||||
|
|
||||||
|
# Specifies whether email notifier should be configured
|
||||||
|
enabled: false
|
||||||
|
# SMTP endpoint
|
||||||
|
host:
|
||||||
|
# SMTP port
|
||||||
|
port:
|
||||||
|
# enable/disable check on TLS certificate
|
||||||
|
insecure_skip_verify:
|
||||||
|
# SMTP username
|
||||||
|
username:
|
||||||
|
# SMTP password
|
||||||
|
password:
|
||||||
|
# email address in from field
|
||||||
|
from:
|
||||||
|
|
||||||
resources: {}
|
resources: {}
|
||||||
# limits:
|
# limits:
|
||||||
# cpu: 100m
|
# cpu: 100m
|
||||||
|
|
Loading…
Reference in a new issue