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

fix: Add Email debug #447

Merged
merged 2 commits into from
Aug 7, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
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
1 change: 1 addition & 0 deletions helm/flowforge/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ If `forge.cloudProvider` is set to `aws` then the following should be set
To use STMP to send email

- `forge.email.from` email address to send mail as can include name e.g. "\"FlowForge\" <[email protected]>"
- `forge.email.debug` prints emails to stdout, useful for debugging email problems (default false)
- `forge.email.smtp.host` if not set email is disabled
- `forge.email.smtp.port` (default `587`)
- `forge.email.smtp.tls` (default `false`)
Expand Down
3 changes: 3 additions & 0 deletions helm/flowforge/templates/configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,9 @@ data:
{{- if .Values.forge.email }}
email:
enabled: true
{{- if .Values.forge.email.debug }}
debug: {{ .Values.forge.email.debug | default false }}
{{- end }}
{{- if .Values.forge.email.from }}
from: {{ .Values.forge.email.from | quote }}
{{- end}}
Expand Down
3 changes: 3 additions & 0 deletions helm/flowforge/values.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,9 @@
"from": {
"type": "string"
},
"debug": {
"type": "boolean"
},
"smtp": {
"type": "object",
"properties":{
Expand Down
Loading