Skip to content

Commit

Permalink
feat: Allow SES SourceARN to be set (#438)
Browse files Browse the repository at this point in the history
  • Loading branch information
hardillb authored Jul 17, 2024
2 parents d12f397 + 8d1daaa commit 45cda84
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 1 deletion.
4 changes: 3 additions & 1 deletion helm/flowforge/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,9 @@ To use STMP to send email

To use AWS SES to send email

- `forge.email.ses.region` the AWS region the SES service is enabled
- `forge.email.ses.region` the AWS region the SES service is enabled (required to enable AWS SES)
- `forge.email.ses.sourceArn` the AWS ARN for the identity to send email as (optional, default not set)
- `forge.email.ses.fromArn` the AWS ARN for the identity to place in From field(optional, default same as `forge.email.ses.sourceArn`)

### MQTT Broker

Expand Down
6 changes: 6 additions & 0 deletions helm/flowforge/templates/configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,12 @@ data:
{{- if .Values.forge.email.ses }}
ses:
region: {{ .Values.forge.email.ses.region }}
{{- if .Values.forge.email.ses.sourceArn }}
sourceArn: {{ .Values.forge.email.ses.sourceArn }}
{{- end }}
{{- if .Values.forge.email.ses.fromArn }}
fromArn: {{ .Values.forge.email.ses.fromArn }}
{{- end }}
{{- end }}
{{- else }}
email:
Expand Down
6 changes: 6 additions & 0 deletions helm/flowforge/values.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,12 @@
"properties": {
"region": {
"type": "string"
},
"sourceArn": {
"type": "string"
},
"fromArn": {
"type": "string"
}
},
"required": [
Expand Down

0 comments on commit 45cda84

Please sign in to comment.