Skip to content

Commit

Permalink
helm: add r-server env variable for notifications receiver
Browse files Browse the repository at this point in the history
  • Loading branch information
giuseppe-steduto authored and mdonadoni committed Sep 5, 2023
1 parent 1bc8456 commit 01e7c8e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions helm/reana/templates/cronjobs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,8 @@ spec:
{{- end }}
- name: REANA_NOTIFICATIONS_ENABLED
value: "{{ .Values.notifications.enabled }}"
- name: REANA_EMAIL_RECEIVER
value: {{ .Values.notifications.email_config.receiver }}
- name: REANA_EMAIL_SENDER
value: {{ .Values.notifications.email_config.sender }}
- name: REANA_EMAIL_SMTP_SERVER
Expand Down
2 changes: 2 additions & 0 deletions helm/reana/templates/reana-server.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,8 @@ spec:
- name: REANA_NOTIFICATIONS_ENABLED
value: "{{ .Values.notifications.enabled }}"
{{- if .Values.notifications.enabled }}
- name: REANA_EMAIL_RECEIVER
value: {{ .Values.notifications.email_config.receiver }}
- name: REANA_EMAIL_SENDER
value: {{ .Values.notifications.email_config.sender }}
- name: REANA_EMAIL_SMTP_SERVER
Expand Down

0 comments on commit 01e7c8e

Please sign in to comment.