Skip to content

Commit

Permalink
feat: allow to configure from email
Browse files Browse the repository at this point in the history
  • Loading branch information
exu committed Nov 10, 2023
1 parent 296ae17 commit b5efbd2
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
4 changes: 4 additions & 0 deletions charts/testkube-cloud-api/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,10 @@ spec:
value: {{ .Values.api.smtp.password }}
{{- end }}
{{- end }}
- name: FROM_EMAIL
value: "{{ .Values.api.email.fromEmail }}"
- name: FROM_NAME
value: "{{ .Values.api.email.fromName }}"
- name: ROOT_DOMAIN
value: "{{ .Values.global.domain }}"
- name: METRICS_LISTEN_ADDR
Expand Down
3 changes: 3 additions & 0 deletions charts/testkube-cloud-api/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,9 @@ api:
useHelmHooks: true
# -- Configure which invitation mode to use (email|auto-accept): email uses SMTP protocol to send email invites and auto-accept immediately adds them
inviteMode: email
email:
fromEmail: "noreply@kubeshop.io"
fromName: "Testkube Cloud"
smtp:
# -- SMTP host
host: smtp.sendgrid.net
Expand Down

0 comments on commit b5efbd2

Please sign in to comment.