sentry-kubernetes / charts

Easily deploy Sentry on your Kubernetes Cluster
MIT License
1.01k stars 489 forks source link

Email not sent because 'From' is missing #1331

Open arend-melissant-tnt opened 3 weeks ago

arend-melissant-tnt commented 3 weeks ago

On prem, latest version.

Invite emails are not sent, test email is also not working

On the console output i can see that the mail is complete, apart from the 'from' field which is empty. So when i set it to smtp i.s.o. console an exception is thrown.

However, the mail setup is correct:

mail: backend: console useTls: true useSsl: false username: "redacted" password: "redacted" port: 587 host: "sandbox.smtp.mailtrap.io" from: "sentry@teamntime.com"

arend-melissant-tnt commented 3 weeks ago

if i look at /etc/sentry/sentry.conf.py is get the following

... SENTRY_OPTIONS['mail.port'] = int(os.getenv("SENTRY_EMAIL_PORT", "587")) SENTRY_OPTIONS['mail.host'] = os.getenv("SENTRY_EMAIL_HOST", "sandbox.smtp.mailtrap.io") SENTRY_OPTIONS['mail.from'] = os.getenv("SENTRY_EMAIL_FROM", "Sentry sentry@teamntime.com") ...

so the config is processed by the chart.....

the env var is empty BTW