prometheus operator v0.93.1

AlertmanagerConfig.spec.receivers.slackConfigs.httpConfig.authorization.spec.receivers.emailConfigs

emailConfigs defines the list of Email configurations.

16 fields
AlertmanagerConfig.spec.receivers.slackConfigs.httpConfig.authorization.spec.receivers.emailConfigs fields and descriptions
Field / TypeDescription
authIdentity
string

authIdentity defines the identity to use for SMTP authentication. This is typically used with PLAIN authentication mechanism.

  • minLength: 1
object

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.

  • x-kubernetes-map-type: "atomic"
object

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.

  • x-kubernetes-map-type: "atomic"
authUsername
string

authUsername defines the username to use for SMTP authentication. This is used for SMTP AUTH when the server requires authentication.

  • minLength: 1
forceImplicitTLS
boolean

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
string

from defines the sender address for email notifications. This appears as the "From" field in the email header.

  • minLength: 1
object[]

headers defines additional email header key/value pairs. These override any headers previously set by the notification implementation.

  • x-kubernetes-list-type: "atomic"
hello
string

hello defines the hostname to identify to the SMTP server. This is used in the SMTP HELO/EHLO command during the connection handshake.

  • minLength: 1
html
string

html defines the HTML body of the email notification. This allows for rich formatting in the email content.

requireTLS
boolean

requireTLS defines the SMTP TLS requirement. Note that Go does not support unencrypted connections to remote SMTP endpoints.

sendResolved
boolean

sendResolved defines whether or not to notify about resolved alerts.

smarthost
string

smarthost defines the SMTP host and port through which emails are sent. Format should be "hostname:port", e.g. "smtp.example.com:587".

  • minLength: 1
text
string

text defines the plain text body of the email notification. This provides a fallback for email clients that don't support HTML.

  • minLength: 1
object

threading defines the threading configuration for email receiver. It requires Alertmanager >= v0.30.0.

object

tlsConfig defines the TLS configuration for SMTP connections. This includes settings for certificates, CA validation, and TLS protocol options.

to
string

to defines the email address to send notifications to. This is the recipient address for alert notifications.

  • minLength: 1