Email can be sent via AWS SES or by specifying your own SMTP options.
# SES
First, specify the ses strategy in values.yaml:
email:
strategy: ses
# IAM Policy
The IAM user or role used for SES must have the following permissions:
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Action": ["ses:SendEmail", "ses:SendRawEmail"],
"Resource": "*"
}
]
}
# Credentials
Then you'll need to specify your base64-encoded AWS credentials and add them to your
secrets.yaml:
apiVersion: v1
data:
AWS_ACCESS_KEY_ID: aGVsbG93b3JsZA==
AWS_SECRET_ACCESS_KEY: aGVsbG93b3JsZA==
kind: Secret
metadata:
name: fwinsights-secrets
type: Opaque
Note that if you're using other AWS integrations (like S3 above) they will use the same AWS credentials.
# SMTP
You can follow these instructions (opens new window) for using a Gmail account with SMTP.
values.yaml:
email:
strategy: smtp
smtpHost: smtp.gmail.com
smtpUsername: you@gmail.com
smtpPort: "465"
You'll need to put the password in your secrets.yaml:
apiVersion: v1
data:
SMTP_PASSWORD: aGVsbG93b3JsZA==
kind: Secret
metadata:
name: fwinsights-secrets
type: Opaque
← Ingress Session keys →