fix: add email notifier to argocd-notifier (#395)
* Add email notifier configuration to argocd-notifications chart * Bump version in chart * Quote strings in argocd-notifications email notifier Co-authored-by: Domenico Commisso <dcommisso@users.noreply.github.com>
This commit is contained in:
parent
7d5d20f615
commit
8c96f76451
3 changed files with 28 additions and 1 deletions
|
@ -3,7 +3,7 @@ appVersion: 0.7.0
|
|||
description: A Helm chart for ArgoCD notifications, an add-on to ArgoCD.
|
||||
name: argocd-notifications
|
||||
type: application
|
||||
version: 1.0.6
|
||||
version: 1.0.7
|
||||
home: https://github.com/argoproj/argo-helm
|
||||
icon: https://raw.githubusercontent.com/argoproj/argo/master/docs/assets/argo.png
|
||||
keywords:
|
||||
|
|
|
@ -27,4 +27,13 @@ stringData:
|
|||
{{- $v | toYaml | nindent 8 }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
{{- if .Values.secret.notifiers.email.enabled }}
|
||||
email:
|
||||
host: {{ .Values.secret.notifiers.email.host | quote }}
|
||||
port: {{ .Values.secret.notifiers.email.port }}
|
||||
insecure_skip_verify: {{ .Values.secret.notifiers.email.insecure_skip_verify }}
|
||||
username: {{ .Values.secret.notifiers.email.username | quote }}
|
||||
password: {{ .Values.secret.notifiers.email.password | quote }}
|
||||
from: {{ .Values.secret.notifiers.email.from | quote }}
|
||||
{{- end }}
|
||||
{{ end }}
|
||||
|
|
|
@ -69,6 +69,24 @@ secret:
|
|||
# username: username
|
||||
# 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: {}
|
||||
# limits:
|
||||
# cpu: 100m
|
||||
|
|
Loading…
Reference in a new issue