AlertmanagerConfig.spec.receivers[].emailConfigs[]
EmailConfig configures notifications via Email.
| Field / Type | Description |
|---|---|
authIdentity | authIdentity defines the identity to use for SMTP authentication. This is typically used with PLAIN authentication mechanism.
|
authPassword defines the secret's key that contains the password to use for authentication. The secret needs to be in the same namespace as the AlertmanagerConfig object and accessible by the Prometheus Operator.
| |
authSecret defines the secret's key that contains the CRAM-MD5 secret. This is used for CRAM-MD5 authentication mechanism. The secret needs to be in the same namespace as the AlertmanagerConfig object and accessible by the Prometheus Operator.
| |
authUsername | authUsername defines the username to use for SMTP authentication. This is used for SMTP AUTH when the server requires authentication.
|
forceImplicitTLS | forceImplicitTLS defines whether to force use of implicit TLS (direct TLS connection) for better security. true: force use of implicit TLS (direct TLS connection on any port) false: force disable implicit TLS (use explicit TLS/STARTTLS if required) nil (default): auto-detect based on port (465=implicit, other=explicit) for backward compatibility It requires Alertmanager >= v0.31.0. |
from | from defines the sender address for email notifications. This appears as the "From" field in the email header.
|
headers defines additional email header key/value pairs. These override any headers previously set by the notification implementation.
| |
hello | hello defines the hostname to identify to the SMTP server. This is used in the SMTP HELO/EHLO command during the connection handshake.
|
html | html defines the HTML body of the email notification. This allows for rich formatting in the email content. |
requireTLS | requireTLS defines the SMTP TLS requirement. Note that Go does not support unencrypted connections to remote SMTP endpoints. |
sendResolved | sendResolved defines whether or not to notify about resolved alerts. |
smarthost | smarthost defines the SMTP host and port through which emails are sent. Format should be "hostname:port", e.g. "smtp.example.com:587".
|
text | text defines the plain text body of the email notification. This provides a fallback for email clients that don't support HTML.
|
threading defines the threading configuration for email receiver. It requires Alertmanager >= v0.30.0. | |
tlsConfig defines the TLS configuration for SMTP connections. This includes settings for certificates, CA validation, and TLS protocol options. | |
to | to defines the email address to send notifications to. This is the recipient address for alert notifications.
|