Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

helm add email config #780

Merged
merged 6 commits into from
Mar 26, 2022
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
helm add email secret config
  • Loading branch information
lusson-luo committed Mar 26, 2022
commit 2695334503f7681f56620023092a52aa3c293a1a
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
- [Docs] Update FAQ telegram and Amazon SNS - [#765](https://github.com/jertel/elastalert2/pull/765) - @nsano-rururu
- Upgrade Pytest 7.0.1 to 7.1.1 - [#776](https://github.com/jertel/elastalert2/pull/776) - @nsano-rururu
- [Email] Fixed schema.yaml setting in email_from_field - [#778](https://github.com/jertel/elastalert2/pull/778) - @nsano-rururu
- [helm] helm add email and password config - [#780](https://github.com/jertel/elastalert2/pull/780) - @lusson-luo

# 2.4.0

Expand Down
2 changes: 2 additions & 0 deletions chart/elastalert2/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -92,3 +92,5 @@ The command removes all the Kubernetes components associated with the chart and
| `nodeSelector` | Node selector for deployment | {} |
| `affinity` | Affinity specifications for the deployed pod(s) | {} |
| `tolerations` | Tolerations for deployment | [] |
| `stmp_auth.from_email` | send email, If the value is not empty, the smtp_auth secret will be created, which configures the information of the sending mailbox | [] |
| `stmp_auth.password` | email password | [] |
13 changes: 13 additions & 0 deletions chart/elastalert2/templates/smtp-auth.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{{- if .Values.stmp_auth }}
apiVersion: v1
kind: Secret
metadata:
name: elastalert-smtp-auth
labels:
app: elastalert2
type: kubernetes.io/Opaque
stringData:
smtp_auth.yaml: |-
user: {{ .Values.stmp_auth.from_email }}
password: {{ .Values.stmp_auth.password }}
{{- end}}
5 changes: 5 additions & 0 deletions chart/elastalert2/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -225,6 +225,11 @@ affinity: {}
# effect: "NoSchedule"
tolerations: []

# email send config
# stmp_auth:
# from_email: "" # send email
# password: "" # password

extraVolumes: []
# - name: smtp-auth
# secret:
Expand Down