Skip to main content

Mailgun alerts

Send kwatch incident alerts to Mailgun. Use the interactive manager for installation and credential setup. This page explains the provider fields and shows a minimal configuration fragment.

Before you start, have these values ready:

  • apiKey โ€” API key.
  • domain โ€” Sending domain.
  • from โ€” From address.
  • to โ€” Recipients (comma-separated).

Credentials, tokens, keys, passwords, and webhook URLs must be mounted from a Kubernetes Secret. Use an exact ${file:/absolute/path} reference for every field marked Secret.

Configurationโ€‹

FieldTypeRequiredSecretValidationDefaultDescription
apiKeystringyesyesโ€”โ€”API key
domainstringyesnoโ€”โ€”Sending domain
fromstringyesnoโ€”โ€”From address
tostringyesnoโ€”โ€”Recipients (comma-separated)
subjectstringnonoโ€”โ€”Email subject
urlstringnonourlโ€”Optional endpoint override (e.g. EU region)
routesjsonnonojsonโ€”Optional JSON route filters.
retry.maxAttemptsintegernonointegerโ€”Optional maximum retry attempts.
retry.delaystringnonoโ€”โ€”Optional retry delay, for example 5s.
fallbackstringnonoโ€”โ€”Optional fallback provider name.

Minimal exampleโ€‹

alert:
mailgun:
apiKey: "${file:/config/mailgun-apiKey}"
domain: <domain>
from: <from>
to: <to>

Add routes, retry, and fallback when you need delivery filtering or recovery. See the channels overview for guidance, or the complete provider reference for the catalog-wide view.