- AlertmanagerConfig [monitoring.coreos.com/v1beta1]
- Specification
- .spec
- .spec.inhibitRules
- .spec.inhibitRules[]
- .spec.inhibitRules[].sourceMatch
- .spec.inhibitRules[].sourceMatch[]
- .spec.inhibitRules[].targetMatch
- .spec.inhibitRules[].targetMatch[]
- .spec.receivers
- .spec.receivers[]
- .spec.receivers[].emailConfigs
- .spec.receivers[].emailConfigs[]
- .spec.receivers[].emailConfigs[].authPassword
- .spec.receivers[].emailConfigs[].authSecret
- .spec.receivers[].emailConfigs[].headers
- .spec.receivers[].emailConfigs[].headers[]
- .spec.receivers[].emailConfigs[].tlsConfig
- .spec.receivers[].emailConfigs[].tlsConfig.ca
- .spec.receivers[].emailConfigs[].tlsConfig.ca.configMap
- .spec.receivers[].emailConfigs[].tlsConfig.ca.secret
- .spec.receivers[].emailConfigs[].tlsConfig.cert
- .spec.receivers[].emailConfigs[].tlsConfig.cert.configMap
- .spec.receivers[].emailConfigs[].tlsConfig.cert.secret
- .spec.receivers[].emailConfigs[].tlsConfig.keySecret
- .spec.receivers[].opsgenieConfigs
- .spec.receivers[].opsgenieConfigs[]
- .spec.receivers[].opsgenieConfigs[].apiKey
- .spec.receivers[].opsgenieConfigs[].details
- .spec.receivers[].opsgenieConfigs[].details[]
- .spec.receivers[].opsgenieConfigs[].httpConfig
- .spec.receivers[].opsgenieConfigs[].httpConfig.authorization
- .spec.receivers[].opsgenieConfigs[].httpConfig.authorization.credentials
- .spec.receivers[].opsgenieConfigs[].httpConfig.basicAuth
- .spec.receivers[].opsgenieConfigs[].httpConfig.basicAuth.password
- .spec.receivers[].opsgenieConfigs[].httpConfig.basicAuth.username
- .spec.receivers[].opsgenieConfigs[].httpConfig.bearerTokenSecret
- .spec.receivers[].opsgenieConfigs[].httpConfig.oauth2
- .spec.receivers[].opsgenieConfigs[].httpConfig.oauth2.clientId
- .spec.receivers[].opsgenieConfigs[].httpConfig.oauth2.clientId.configMap
- .spec.receivers[].opsgenieConfigs[].httpConfig.oauth2.clientId.secret
- .spec.receivers[].opsgenieConfigs[].httpConfig.oauth2.clientSecret
- .spec.receivers[].opsgenieConfigs[].httpConfig.tlsConfig
- .spec.receivers[].opsgenieConfigs[].httpConfig.tlsConfig.ca
- .spec.receivers[].opsgenieConfigs[].httpConfig.tlsConfig.ca.configMap
- .spec.receivers[].opsgenieConfigs[].httpConfig.tlsConfig.ca.secret
- .spec.receivers[].opsgenieConfigs[].httpConfig.tlsConfig.cert
- .spec.receivers[].opsgenieConfigs[].httpConfig.tlsConfig.cert.configMap
- .spec.receivers[].opsgenieConfigs[].httpConfig.tlsConfig.cert.secret
- .spec.receivers[].opsgenieConfigs[].httpConfig.tlsConfig.keySecret
- .spec.receivers[].opsgenieConfigs[].responders
- .spec.receivers[].opsgenieConfigs[].responders[]
- .spec.receivers[].pagerdutyConfigs
- .spec.receivers[].pagerdutyConfigs[]
- .spec.receivers[].pagerdutyConfigs[].details
- .spec.receivers[].pagerdutyConfigs[].details[]
- .spec.receivers[].pagerdutyConfigs[].httpConfig
- .spec.receivers[].pagerdutyConfigs[].httpConfig.authorization
- .spec.receivers[].pagerdutyConfigs[].httpConfig.authorization.credentials
- .spec.receivers[].pagerdutyConfigs[].httpConfig.basicAuth
- .spec.receivers[].pagerdutyConfigs[].httpConfig.basicAuth.password
- .spec.receivers[].pagerdutyConfigs[].httpConfig.basicAuth.username
- .spec.receivers[].pagerdutyConfigs[].httpConfig.bearerTokenSecret
- .spec.receivers[].pagerdutyConfigs[].httpConfig.oauth2
- .spec.receivers[].pagerdutyConfigs[].httpConfig.oauth2.clientId
- .spec.receivers[].pagerdutyConfigs[].httpConfig.oauth2.clientId.configMap
- .spec.receivers[].pagerdutyConfigs[].httpConfig.oauth2.clientId.secret
- .spec.receivers[].pagerdutyConfigs[].httpConfig.oauth2.clientSecret
- .spec.receivers[].pagerdutyConfigs[].httpConfig.tlsConfig
- .spec.receivers[].pagerdutyConfigs[].httpConfig.tlsConfig.ca
- .spec.receivers[].pagerdutyConfigs[].httpConfig.tlsConfig.ca.configMap
- .spec.receivers[].pagerdutyConfigs[].httpConfig.tlsConfig.ca.secret
- .spec.receivers[].pagerdutyConfigs[].httpConfig.tlsConfig.cert
- .spec.receivers[].pagerdutyConfigs[].httpConfig.tlsConfig.cert.configMap
- .spec.receivers[].pagerdutyConfigs[].httpConfig.tlsConfig.cert.secret
- .spec.receivers[].pagerdutyConfigs[].httpConfig.tlsConfig.keySecret
- .spec.receivers[].pagerdutyConfigs[].pagerDutyImageConfigs
- .spec.receivers[].pagerdutyConfigs[].pagerDutyImageConfigs[]
- .spec.receivers[].pagerdutyConfigs[].pagerDutyLinkConfigs
- .spec.receivers[].pagerdutyConfigs[].pagerDutyLinkConfigs[]
- .spec.receivers[].pagerdutyConfigs[].routingKey
- .spec.receivers[].pagerdutyConfigs[].serviceKey
- .spec.receivers[].pushoverConfigs
- .spec.receivers[].pushoverConfigs[]
- .spec.receivers[].pushoverConfigs[].httpConfig
- .spec.receivers[].pushoverConfigs[].httpConfig.authorization
- .spec.receivers[].pushoverConfigs[].httpConfig.authorization.credentials
- .spec.receivers[].pushoverConfigs[].httpConfig.basicAuth
- .spec.receivers[].pushoverConfigs[].httpConfig.basicAuth.password
- .spec.receivers[].pushoverConfigs[].httpConfig.basicAuth.username
- .spec.receivers[].pushoverConfigs[].httpConfig.bearerTokenSecret
- .spec.receivers[].pushoverConfigs[].httpConfig.oauth2
- .spec.receivers[].pushoverConfigs[].httpConfig.oauth2.clientId
- .spec.receivers[].pushoverConfigs[].httpConfig.oauth2.clientId.configMap
- .spec.receivers[].pushoverConfigs[].httpConfig.oauth2.clientId.secret
- .spec.receivers[].pushoverConfigs[].httpConfig.oauth2.clientSecret
- .spec.receivers[].pushoverConfigs[].httpConfig.tlsConfig
- .spec.receivers[].pushoverConfigs[].httpConfig.tlsConfig.ca
- .spec.receivers[].pushoverConfigs[].httpConfig.tlsConfig.ca.configMap
- .spec.receivers[].pushoverConfigs[].httpConfig.tlsConfig.ca.secret
- .spec.receivers[].pushoverConfigs[].httpConfig.tlsConfig.cert
- .spec.receivers[].pushoverConfigs[].httpConfig.tlsConfig.cert.configMap
- .spec.receivers[].pushoverConfigs[].httpConfig.tlsConfig.cert.secret
- .spec.receivers[].pushoverConfigs[].httpConfig.tlsConfig.keySecret
- .spec.receivers[].pushoverConfigs[].token
- .spec.receivers[].pushoverConfigs[].userKey
- .spec.receivers[].slackConfigs
- .spec.receivers[].slackConfigs[]
- .spec.receivers[].slackConfigs[].actions
- .spec.receivers[].slackConfigs[].actions[]
- .spec.receivers[].slackConfigs[].actions[].confirm
- .spec.receivers[].slackConfigs[].apiURL
- .spec.receivers[].slackConfigs[].fields
- .spec.receivers[].slackConfigs[].fields[]
- .spec.receivers[].slackConfigs[].httpConfig
- .spec.receivers[].slackConfigs[].httpConfig.authorization
- .spec.receivers[].slackConfigs[].httpConfig.authorization.credentials
- .spec.receivers[].slackConfigs[].httpConfig.basicAuth
- .spec.receivers[].slackConfigs[].httpConfig.basicAuth.password
- .spec.receivers[].slackConfigs[].httpConfig.basicAuth.username
- .spec.receivers[].slackConfigs[].httpConfig.bearerTokenSecret
- .spec.receivers[].slackConfigs[].httpConfig.oauth2
- .spec.receivers[].slackConfigs[].httpConfig.oauth2.clientId
- .spec.receivers[].slackConfigs[].httpConfig.oauth2.clientId.configMap
- .spec.receivers[].slackConfigs[].httpConfig.oauth2.clientId.secret
- .spec.receivers[].slackConfigs[].httpConfig.oauth2.clientSecret
- .spec.receivers[].slackConfigs[].httpConfig.tlsConfig
- .spec.receivers[].slackConfigs[].httpConfig.tlsConfig.ca
- .spec.receivers[].slackConfigs[].httpConfig.tlsConfig.ca.configMap
- .spec.receivers[].slackConfigs[].httpConfig.tlsConfig.ca.secret
- .spec.receivers[].slackConfigs[].httpConfig.tlsConfig.cert
- .spec.receivers[].slackConfigs[].httpConfig.tlsConfig.cert.configMap
- .spec.receivers[].slackConfigs[].httpConfig.tlsConfig.cert.secret
- .spec.receivers[].slackConfigs[].httpConfig.tlsConfig.keySecret
- .spec.receivers[].snsConfigs
- .spec.receivers[].snsConfigs[]
- .spec.receivers[].snsConfigs[].httpConfig
- .spec.receivers[].snsConfigs[].httpConfig.authorization
- .spec.receivers[].snsConfigs[].httpConfig.authorization.credentials
- .spec.receivers[].snsConfigs[].httpConfig.basicAuth
- .spec.receivers[].snsConfigs[].httpConfig.basicAuth.password
- .spec.receivers[].snsConfigs[].httpConfig.basicAuth.username
- .spec.receivers[].snsConfigs[].httpConfig.bearerTokenSecret
- .spec.receivers[].snsConfigs[].httpConfig.oauth2
- .spec.receivers[].snsConfigs[].httpConfig.oauth2.clientId
- .spec.receivers[].snsConfigs[].httpConfig.oauth2.clientId.configMap
- .spec.receivers[].snsConfigs[].httpConfig.oauth2.clientId.secret
- .spec.receivers[].snsConfigs[].httpConfig.oauth2.clientSecret
- .spec.receivers[].snsConfigs[].httpConfig.tlsConfig
- .spec.receivers[].snsConfigs[].httpConfig.tlsConfig.ca
- .spec.receivers[].snsConfigs[].httpConfig.tlsConfig.ca.configMap
- .spec.receivers[].snsConfigs[].httpConfig.tlsConfig.ca.secret
- .spec.receivers[].snsConfigs[].httpConfig.tlsConfig.cert
- .spec.receivers[].snsConfigs[].httpConfig.tlsConfig.cert.configMap
- .spec.receivers[].snsConfigs[].httpConfig.tlsConfig.cert.secret
- .spec.receivers[].snsConfigs[].httpConfig.tlsConfig.keySecret
- .spec.receivers[].snsConfigs[].sigv4
- .spec.receivers[].snsConfigs[].sigv4.accessKey
- .spec.receivers[].snsConfigs[].sigv4.secretKey
- .spec.receivers[].telegramConfigs
- .spec.receivers[].telegramConfigs[]
- .spec.receivers[].telegramConfigs[].botToken
- .spec.receivers[].telegramConfigs[].httpConfig
- .spec.receivers[].telegramConfigs[].httpConfig.authorization
- .spec.receivers[].telegramConfigs[].httpConfig.authorization.credentials
- .spec.receivers[].telegramConfigs[].httpConfig.basicAuth
- .spec.receivers[].telegramConfigs[].httpConfig.basicAuth.password
- .spec.receivers[].telegramConfigs[].httpConfig.basicAuth.username
- .spec.receivers[].telegramConfigs[].httpConfig.bearerTokenSecret
- .spec.receivers[].telegramConfigs[].httpConfig.oauth2
- .spec.receivers[].telegramConfigs[].httpConfig.oauth2.clientId
- .spec.receivers[].telegramConfigs[].httpConfig.oauth2.clientId.configMap
- .spec.receivers[].telegramConfigs[].httpConfig.oauth2.clientId.secret
- .spec.receivers[].telegramConfigs[].httpConfig.oauth2.clientSecret
- .spec.receivers[].telegramConfigs[].httpConfig.tlsConfig
- .spec.receivers[].telegramConfigs[].httpConfig.tlsConfig.ca
- .spec.receivers[].telegramConfigs[].httpConfig.tlsConfig.ca.configMap
- .spec.receivers[].telegramConfigs[].httpConfig.tlsConfig.ca.secret
- .spec.receivers[].telegramConfigs[].httpConfig.tlsConfig.cert
- .spec.receivers[].telegramConfigs[].httpConfig.tlsConfig.cert.configMap
- .spec.receivers[].telegramConfigs[].httpConfig.tlsConfig.cert.secret
- .spec.receivers[].telegramConfigs[].httpConfig.tlsConfig.keySecret
- .spec.receivers[].victoropsConfigs
- .spec.receivers[].victoropsConfigs[]
- .spec.receivers[].victoropsConfigs[].apiKey
- .spec.receivers[].victoropsConfigs[].customFields
- .spec.receivers[].victoropsConfigs[].customFields[]
- .spec.receivers[].victoropsConfigs[].httpConfig
- .spec.receivers[].victoropsConfigs[].httpConfig.authorization
- .spec.receivers[].victoropsConfigs[].httpConfig.authorization.credentials
- .spec.receivers[].victoropsConfigs[].httpConfig.basicAuth
- .spec.receivers[].victoropsConfigs[].httpConfig.basicAuth.password
- .spec.receivers[].victoropsConfigs[].httpConfig.basicAuth.username
- .spec.receivers[].victoropsConfigs[].httpConfig.bearerTokenSecret
- .spec.receivers[].victoropsConfigs[].httpConfig.oauth2
- .spec.receivers[].victoropsConfigs[].httpConfig.oauth2.clientId
- .spec.receivers[].victoropsConfigs[].httpConfig.oauth2.clientId.configMap
- .spec.receivers[].victoropsConfigs[].httpConfig.oauth2.clientId.secret
- .spec.receivers[].victoropsConfigs[].httpConfig.oauth2.clientSecret
- .spec.receivers[].victoropsConfigs[].httpConfig.tlsConfig
- .spec.receivers[].victoropsConfigs[].httpConfig.tlsConfig.ca
- .spec.receivers[].victoropsConfigs[].httpConfig.tlsConfig.ca.configMap
- .spec.receivers[].victoropsConfigs[].httpConfig.tlsConfig.ca.secret
- .spec.receivers[].victoropsConfigs[].httpConfig.tlsConfig.cert
- .spec.receivers[].victoropsConfigs[].httpConfig.tlsConfig.cert.configMap
- .spec.receivers[].victoropsConfigs[].httpConfig.tlsConfig.cert.secret
- .spec.receivers[].victoropsConfigs[].httpConfig.tlsConfig.keySecret
- .spec.receivers[].webhookConfigs
- .spec.receivers[].webhookConfigs[]
- .spec.receivers[].webhookConfigs[].httpConfig
- .spec.receivers[].webhookConfigs[].httpConfig.authorization
- .spec.receivers[].webhookConfigs[].httpConfig.authorization.credentials
- .spec.receivers[].webhookConfigs[].httpConfig.basicAuth
- .spec.receivers[].webhookConfigs[].httpConfig.basicAuth.password
- .spec.receivers[].webhookConfigs[].httpConfig.basicAuth.username
- .spec.receivers[].webhookConfigs[].httpConfig.bearerTokenSecret
- .spec.receivers[].webhookConfigs[].httpConfig.oauth2
- .spec.receivers[].webhookConfigs[].httpConfig.oauth2.clientId
- .spec.receivers[].webhookConfigs[].httpConfig.oauth2.clientId.configMap
- .spec.receivers[].webhookConfigs[].httpConfig.oauth2.clientId.secret
- .spec.receivers[].webhookConfigs[].httpConfig.oauth2.clientSecret
- .spec.receivers[].webhookConfigs[].httpConfig.tlsConfig
- .spec.receivers[].webhookConfigs[].httpConfig.tlsConfig.ca
- .spec.receivers[].webhookConfigs[].httpConfig.tlsConfig.ca.configMap
- .spec.receivers[].webhookConfigs[].httpConfig.tlsConfig.ca.secret
- .spec.receivers[].webhookConfigs[].httpConfig.tlsConfig.cert
- .spec.receivers[].webhookConfigs[].httpConfig.tlsConfig.cert.configMap
- .spec.receivers[].webhookConfigs[].httpConfig.tlsConfig.cert.secret
- .spec.receivers[].webhookConfigs[].httpConfig.tlsConfig.keySecret
- .spec.receivers[].webhookConfigs[].urlSecret
- .spec.receivers[].wechatConfigs
- .spec.receivers[].wechatConfigs[]
- .spec.receivers[].wechatConfigs[].apiSecret
- .spec.receivers[].wechatConfigs[].httpConfig
- .spec.receivers[].wechatConfigs[].httpConfig.authorization
- .spec.receivers[].wechatConfigs[].httpConfig.authorization.credentials
- .spec.receivers[].wechatConfigs[].httpConfig.basicAuth
- .spec.receivers[].wechatConfigs[].httpConfig.basicAuth.password
- .spec.receivers[].wechatConfigs[].httpConfig.basicAuth.username
- .spec.receivers[].wechatConfigs[].httpConfig.bearerTokenSecret
- .spec.receivers[].wechatConfigs[].httpConfig.oauth2
- .spec.receivers[].wechatConfigs[].httpConfig.oauth2.clientId
- .spec.receivers[].wechatConfigs[].httpConfig.oauth2.clientId.configMap
- .spec.receivers[].wechatConfigs[].httpConfig.oauth2.clientId.secret
- .spec.receivers[].wechatConfigs[].httpConfig.oauth2.clientSecret
- .spec.receivers[].wechatConfigs[].httpConfig.tlsConfig
- .spec.receivers[].wechatConfigs[].httpConfig.tlsConfig.ca
- .spec.receivers[].wechatConfigs[].httpConfig.tlsConfig.ca.configMap
- .spec.receivers[].wechatConfigs[].httpConfig.tlsConfig.ca.secret
- .spec.receivers[].wechatConfigs[].httpConfig.tlsConfig.cert
- .spec.receivers[].wechatConfigs[].httpConfig.tlsConfig.cert.configMap
- .spec.receivers[].wechatConfigs[].httpConfig.tlsConfig.cert.secret
- .spec.receivers[].wechatConfigs[].httpConfig.tlsConfig.keySecret
- .spec.route
- .spec.route.matchers
- .spec.route.matchers[]
- .spec.timeIntervals
- .spec.timeIntervals[]
- .spec.timeIntervals[].timeIntervals
- .spec.timeIntervals[].timeIntervals[]
- .spec.timeIntervals[].timeIntervals[].daysOfMonth
- .spec.timeIntervals[].timeIntervals[].daysOfMonth[]
- .spec.timeIntervals[].timeIntervals[].times
- .spec.timeIntervals[].timeIntervals[].times[]
- API endpoints
- Specification
AlertmanagerConfig [monitoring.coreos.com/v1beta1]
Description
AlertmanagerConfig defines a namespaced AlertmanagerConfig to be aggregated across multiple namespaces configuring one Alertmanager cluster.
Type
object
Required
spec
Specification
Property | Type | Description |
---|---|---|
|
| APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources |
|
| Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds |
| Standard object’s metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata | |
|
| AlertmanagerConfigSpec is a specification of the desired behavior of the Alertmanager configuration. By definition, the Alertmanager configuration only applies to alerts for which the |
.spec
Description
AlertmanagerConfigSpec is a specification of the desired behavior of the Alertmanager configuration. By definition, the Alertmanager configuration only applies to alerts for which the namespace
label is equal to the namespace of the AlertmanagerConfig resource.
Type
object
Property | Type | Description |
---|---|---|
|
| List of inhibition rules. The rules will only apply to alerts matching the resource’s namespace. |
|
| InhibitRule defines an inhibition rule that allows to mute alerts when other alerts are already firing. See https://prometheus.io/docs/alerting/latest/configuration/#inhibit_rule |
|
| List of receivers. |
|
| Receiver defines one or more notification integrations. |
|
| The Alertmanager route definition for alerts matching the resource’s namespace. If present, it will be added to the generated Alertmanager configuration as a first-level route. |
|
| List of TimeInterval specifying when the routes should be muted or active. |
|
| TimeInterval specifies the periods in time when notifications will be muted or active. |
.spec.inhibitRules
Description
List of inhibition rules. The rules will only apply to alerts matching the resource’s namespace.
Type
array
.spec.inhibitRules[]
Description
InhibitRule defines an inhibition rule that allows to mute alerts when other alerts are already firing. See https://prometheus.io/docs/alerting/latest/configuration/#inhibit_rule
Type
object
Property | Type | Description |
---|---|---|
|
| Labels that must have an equal value in the source and target alert for the inhibition to take effect. |
|
| Matchers for which one or more alerts have to exist for the inhibition to take effect. The operator enforces that the alert matches the resource’s namespace. |
|
| Matcher defines how to match on alert’s labels. |
|
| Matchers that have to be fulfilled in the alerts to be muted. The operator enforces that the alert matches the resource’s namespace. |
|
| Matcher defines how to match on alert’s labels. |
.spec.inhibitRules[].sourceMatch
Description
Matchers for which one or more alerts have to exist for the inhibition to take effect. The operator enforces that the alert matches the resource’s namespace.
Type
array
.spec.inhibitRules[].sourceMatch[]
Description
Matcher defines how to match on alert’s labels.
Type
object
Required
name
Property | Type | Description |
---|---|---|
|
| Match operator, one of |
|
| Label to match. |
|
| Label value to match. |
.spec.inhibitRules[].targetMatch
Description
Matchers that have to be fulfilled in the alerts to be muted. The operator enforces that the alert matches the resource’s namespace.
Type
array
.spec.inhibitRules[].targetMatch[]
Description
Matcher defines how to match on alert’s labels.
Type
object
Required
name
Property | Type | Description |
---|---|---|
|
| Match operator, one of |
|
| Label to match. |
|
| Label value to match. |
.spec.receivers
Description
List of receivers.
Type
array
.spec.receivers[]
Description
Receiver defines one or more notification integrations.
Type
object
Required
name
Property | Type | Description |
---|---|---|
|
| List of Email configurations. |
|
| EmailConfig configures notifications via Email. |
|
| Name of the receiver. Must be unique across all items from the list. |
|
| List of OpsGenie configurations. |
|
| OpsGenieConfig configures notifications via OpsGenie. See https://prometheus.io/docs/alerting/latest/configuration/#opsgenie_config |
|
| List of PagerDuty configurations. |
|
| PagerDutyConfig configures notifications via PagerDuty. See https://prometheus.io/docs/alerting/latest/configuration/#pagerduty_config |
|
| List of Pushover configurations. |
|
| PushoverConfig configures notifications via Pushover. See https://prometheus.io/docs/alerting/latest/configuration/#pushover_config |
|
| List of Slack configurations. |
|
| SlackConfig configures notifications via Slack. See https://prometheus.io/docs/alerting/latest/configuration/#slack_config |
|
| List of SNS configurations |
|
| SNSConfig configures notifications via AWS SNS. See https://prometheus.io/docs/alerting/latest/configuration/#sns_configs |
|
| List of Telegram configurations. |
|
| TelegramConfig configures notifications via Telegram. See https://prometheus.io/docs/alerting/latest/configuration/#telegram_config |
|
| List of VictorOps configurations. |
|
| VictorOpsConfig configures notifications via VictorOps. See https://prometheus.io/docs/alerting/latest/configuration/#victorops_config |
|
| List of webhook configurations. |
|
| WebhookConfig configures notifications via a generic receiver supporting the webhook payload. See https://prometheus.io/docs/alerting/latest/configuration/#webhook_config |
|
| List of WeChat configurations. |
|
| WeChatConfig configures notifications via WeChat. See https://prometheus.io/docs/alerting/latest/configuration/#wechat_config |
.spec.receivers[].emailConfigs
Description
List of Email configurations.
Type
array
.spec.receivers[].emailConfigs[]
Description
EmailConfig configures notifications via Email.
Type
object
Property | Type | Description |
---|---|---|
|
| The identity to use for authentication. |
|
| 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. |
|
| The secret’s key that contains the CRAM-MD5 secret. The secret needs to be in the same namespace as the AlertmanagerConfig object and accessible by the Prometheus Operator. |
|
| The username to use for authentication. |
|
| The sender address. |
|
| Further headers email header key/value pairs. Overrides any headers previously set by the notification implementation. |
|
| KeyValue defines a (key, value) tuple. |
|
| The hostname to identify to the SMTP server. |
|
| The HTML body of the email notification. |
|
| The SMTP TLS requirement. Note that Go does not support unencrypted connections to remote SMTP endpoints. |
|
| Whether or not to notify about resolved alerts. |
|
| The SMTP host and port through which emails are sent. E.g. example.com:25 |
|
| The text body of the email notification. |
|
| TLS configuration |
|
| The email address to send notifications to. |
.spec.receivers[].emailConfigs[].authPassword
Description
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.
Type
object
Required
key
name
Property | Type | Description |
---|---|---|
|
| The key of the secret to select from. Must be a valid secret key. |
|
| The name of the secret in the object’s namespace to select from. |
.spec.receivers[].emailConfigs[].authSecret
Description
The secret’s key that contains the CRAM-MD5 secret. The secret needs to be in the same namespace as the AlertmanagerConfig object and accessible by the Prometheus Operator.
Type
object
Required
key
name
Property | Type | Description |
---|---|---|
|
| The key of the secret to select from. Must be a valid secret key. |
|
| The name of the secret in the object’s namespace to select from. |
.spec.receivers[].emailConfigs[].headers
Description
Further headers email header key/value pairs. Overrides any headers previously set by the notification implementation.
Type
array
.spec.receivers[].emailConfigs[].headers[]
Description
KeyValue defines a (key, value) tuple.
Type
object
Required
key
value
Property | Type | Description |
---|---|---|
|
| Key of the tuple. |
|
| Value of the tuple. |
.spec.receivers[].emailConfigs[].tlsConfig
Description
TLS configuration
Type
object
Property | Type | Description |
---|---|---|
|
| Certificate authority used when verifying server certificates. |
|
| Client certificate to present when doing client-authentication. |
|
| Disable target certificate validation. |
|
| Secret containing the client key file for the targets. |
|
| Used to verify the hostname for the targets. |
.spec.receivers[].emailConfigs[].tlsConfig.ca
Description
Certificate authority used when verifying server certificates.
Type
object
Property | Type | Description |
---|---|---|
|
| ConfigMap containing data to use for the targets. |
|
| Secret containing data to use for the targets. |
.spec.receivers[].emailConfigs[].tlsConfig.ca.configMap
Description
ConfigMap containing data to use for the targets.
Type
object
Required
key
Property | Type | Description |
---|---|---|
|
| The key to select. |
|
| Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? |
|
| Specify whether the ConfigMap or its key must be defined |
.spec.receivers[].emailConfigs[].tlsConfig.ca.secret
Description
Secret containing data to use for the targets.
Type
object
Required
key
Property | Type | Description |
---|---|---|
|
| The key of the secret to select from. Must be a valid secret key. |
|
| Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? |
|
| Specify whether the Secret or its key must be defined |
.spec.receivers[].emailConfigs[].tlsConfig.cert
Description
Client certificate to present when doing client-authentication.
Type
object
Property | Type | Description |
---|---|---|
|
| ConfigMap containing data to use for the targets. |
|
| Secret containing data to use for the targets. |
.spec.receivers[].emailConfigs[].tlsConfig.cert.configMap
Description
ConfigMap containing data to use for the targets.
Type
object
Required
key
Property | Type | Description |
---|---|---|
|
| The key to select. |
|
| Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? |
|
| Specify whether the ConfigMap or its key must be defined |
.spec.receivers[].emailConfigs[].tlsConfig.cert.secret
Description
Secret containing data to use for the targets.
Type
object
Required
key
Property | Type | Description |
---|---|---|
|
| The key of the secret to select from. Must be a valid secret key. |
|
| Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? |
|
| Specify whether the Secret or its key must be defined |
.spec.receivers[].emailConfigs[].tlsConfig.keySecret
Description
Secret containing the client key file for the targets.
Type
object
Required
key
Property | Type | Description |
---|---|---|
|
| The key of the secret to select from. Must be a valid secret key. |
|
| Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? |
|
| Specify whether the Secret or its key must be defined |
.spec.receivers[].opsgenieConfigs
Description
List of OpsGenie configurations.
Type
array
.spec.receivers[].opsgenieConfigs[]
Description
OpsGenieConfig configures notifications via OpsGenie. See https://prometheus.io/docs/alerting/latest/configuration/#opsgenie_config
Type
object
Property | Type | Description |
---|---|---|
|
| Comma separated list of actions that will be available for the alert. |
|
| The secret’s key that contains the OpsGenie API key. The secret needs to be in the same namespace as the AlertmanagerConfig object and accessible by the Prometheus Operator. |
|
| The URL to send OpsGenie API requests to. |
|
| Description of the incident. |
|
| A set of arbitrary key/value pairs that provide further detail about the incident. |
|
| KeyValue defines a (key, value) tuple. |
|
| Optional field that can be used to specify which domain alert is related to. |
|
| HTTP client configuration. |
|
| Alert text limited to 130 characters. |
|
| Additional alert note. |
|
| Priority level of alert. Possible values are P1, P2, P3, P4, and P5. |
|
| List of responders responsible for notifications. |
|
| OpsGenieConfigResponder defines a responder to an incident. One of |
|
| Whether or not to notify about resolved alerts. |
|
| Backlink to the sender of the notification. |
|
| Comma separated list of tags attached to the notifications. |
.spec.receivers[].opsgenieConfigs[].apiKey
Description
The secret’s key that contains the OpsGenie API key. The secret needs to be in the same namespace as the AlertmanagerConfig object and accessible by the Prometheus Operator.
Type
object
Required
key
name
Property | Type | Description |
---|---|---|
|
| The key of the secret to select from. Must be a valid secret key. |
|
| The name of the secret in the object’s namespace to select from. |
.spec.receivers[].opsgenieConfigs[].details
Description
A set of arbitrary key/value pairs that provide further detail about the incident.
Type
array
.spec.receivers[].opsgenieConfigs[].details[]
Description
KeyValue defines a (key, value) tuple.
Type
object
Required
key
value
Property | Type | Description |
---|---|---|
|
| Key of the tuple. |
|
| Value of the tuple. |
.spec.receivers[].opsgenieConfigs[].httpConfig
Description
HTTP client configuration.
Type
object
Property | Type | Description |
---|---|---|
|
| Authorization header configuration for the client. This is mutually exclusive with BasicAuth and is only available starting from Alertmanager v0.22+. |
|
| BasicAuth for the client. This is mutually exclusive with Authorization. If both are defined, BasicAuth takes precedence. |
|
| The secret’s key that contains the bearer token to be used by the client for authentication. The secret needs to be in the same namespace as the AlertmanagerConfig object and accessible by the Prometheus Operator. |
|
| FollowRedirects specifies whether the client should follow HTTP 3xx redirects. |
|
| OAuth2 client credentials used to fetch a token for the targets. |
|
| Optional proxy URL. |
|
| TLS configuration for the client. |
.spec.receivers[].opsgenieConfigs[].httpConfig.authorization
Description
Authorization header configuration for the client. This is mutually exclusive with BasicAuth and is only available starting from Alertmanager v0.22+.
Type
object
Property | Type | Description |
---|---|---|
|
| The secret’s key that contains the credentials of the request |
|
| Set the authentication type. Defaults to Bearer, Basic will cause an error |
.spec.receivers[].opsgenieConfigs[].httpConfig.authorization.credentials
Description
The secret’s key that contains the credentials of the request
Type
object
Required
key
Property | Type | Description |
---|---|---|
|
| The key of the secret to select from. Must be a valid secret key. |
|
| Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? |
|
| Specify whether the Secret or its key must be defined |
.spec.receivers[].opsgenieConfigs[].httpConfig.basicAuth
Description
BasicAuth for the client. This is mutually exclusive with Authorization. If both are defined, BasicAuth takes precedence.
Type
object
Property | Type | Description |
---|---|---|
|
| The secret in the service monitor namespace that contains the password for authentication. |
|
| The secret in the service monitor namespace that contains the username for authentication. |
.spec.receivers[].opsgenieConfigs[].httpConfig.basicAuth.password
Description
The secret in the service monitor namespace that contains the password for authentication.
Type
object
Required
key
Property | Type | Description |
---|---|---|
|
| The key of the secret to select from. Must be a valid secret key. |
|
| Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? |
|
| Specify whether the Secret or its key must be defined |
.spec.receivers[].opsgenieConfigs[].httpConfig.basicAuth.username
Description
The secret in the service monitor namespace that contains the username for authentication.
Type
object
Required
key
Property | Type | Description |
---|---|---|
|
| The key of the secret to select from. Must be a valid secret key. |
|
| Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? |
|
| Specify whether the Secret or its key must be defined |
.spec.receivers[].opsgenieConfigs[].httpConfig.bearerTokenSecret
Description
The secret’s key that contains the bearer token to be used by the client for authentication. The secret needs to be in the same namespace as the AlertmanagerConfig object and accessible by the Prometheus Operator.
Type
object
Required
key
name
Property | Type | Description |
---|---|---|
|
| The key of the secret to select from. Must be a valid secret key. |
|
| The name of the secret in the object’s namespace to select from. |
.spec.receivers[].opsgenieConfigs[].httpConfig.oauth2
Description
OAuth2 client credentials used to fetch a token for the targets.
Type
object
Required
clientId
clientSecret
tokenUrl
Property | Type | Description |
---|---|---|
|
| The secret or configmap containing the OAuth2 client id |
|
| The secret containing the OAuth2 client secret |
|
| Parameters to append to the token URL |
|
| OAuth2 scopes used for the token request |
|
| The URL to fetch the token from |
.spec.receivers[].opsgenieConfigs[].httpConfig.oauth2.clientId
Description
The secret or configmap containing the OAuth2 client id
Type
object
Property | Type | Description |
---|---|---|
|
| ConfigMap containing data to use for the targets. |
|
| Secret containing data to use for the targets. |
.spec.receivers[].opsgenieConfigs[].httpConfig.oauth2.clientId.configMap
Description
ConfigMap containing data to use for the targets.
Type
object
Required
key
Property | Type | Description |
---|---|---|
|
| The key to select. |
|
| Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? |
|
| Specify whether the ConfigMap or its key must be defined |
.spec.receivers[].opsgenieConfigs[].httpConfig.oauth2.clientId.secret
Description
Secret containing data to use for the targets.
Type
object
Required
key
Property | Type | Description |
---|---|---|
|
| The key of the secret to select from. Must be a valid secret key. |
|
| Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? |
|
| Specify whether the Secret or its key must be defined |
.spec.receivers[].opsgenieConfigs[].httpConfig.oauth2.clientSecret
Description
The secret containing the OAuth2 client secret
Type
object
Required
key
Property | Type | Description |
---|---|---|
|
| The key of the secret to select from. Must be a valid secret key. |
|
| Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? |
|
| Specify whether the Secret or its key must be defined |
.spec.receivers[].opsgenieConfigs[].httpConfig.tlsConfig
Description
TLS configuration for the client.
Type
object
Property | Type | Description |
---|---|---|
|
| Certificate authority used when verifying server certificates. |
|
| Client certificate to present when doing client-authentication. |
|
| Disable target certificate validation. |
|
| Secret containing the client key file for the targets. |
|
| Used to verify the hostname for the targets. |
.spec.receivers[].opsgenieConfigs[].httpConfig.tlsConfig.ca
Description
Certificate authority used when verifying server certificates.
Type
object
Property | Type | Description |
---|---|---|
|
| ConfigMap containing data to use for the targets. |
|
| Secret containing data to use for the targets. |
.spec.receivers[].opsgenieConfigs[].httpConfig.tlsConfig.ca.configMap
Description
ConfigMap containing data to use for the targets.
Type
object
Required
key
Property | Type | Description |
---|---|---|
|
| The key to select. |
|
| Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? |
|
| Specify whether the ConfigMap or its key must be defined |
.spec.receivers[].opsgenieConfigs[].httpConfig.tlsConfig.ca.secret
Description
Secret containing data to use for the targets.
Type
object
Required
key
Property | Type | Description |
---|---|---|
|
| The key of the secret to select from. Must be a valid secret key. |
|
| Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? |
|
| Specify whether the Secret or its key must be defined |
.spec.receivers[].opsgenieConfigs[].httpConfig.tlsConfig.cert
Description
Client certificate to present when doing client-authentication.
Type
object
Property | Type | Description |
---|---|---|
|
| ConfigMap containing data to use for the targets. |
|
| Secret containing data to use for the targets. |
.spec.receivers[].opsgenieConfigs[].httpConfig.tlsConfig.cert.configMap
Description
ConfigMap containing data to use for the targets.
Type
object
Required
key
Property | Type | Description |
---|---|---|
|
| The key to select. |
|
| Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? |
|
| Specify whether the ConfigMap or its key must be defined |
.spec.receivers[].opsgenieConfigs[].httpConfig.tlsConfig.cert.secret
Description
Secret containing data to use for the targets.
Type
object
Required
key
Property | Type | Description |
---|---|---|
|
| The key of the secret to select from. Must be a valid secret key. |
|
| Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? |
|
| Specify whether the Secret or its key must be defined |
.spec.receivers[].opsgenieConfigs[].httpConfig.tlsConfig.keySecret
Description
Secret containing the client key file for the targets.
Type
object
Required
key
Property | Type | Description |
---|---|---|
|
| The key of the secret to select from. Must be a valid secret key. |
|
| Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? |
|
| Specify whether the Secret or its key must be defined |
.spec.receivers[].opsgenieConfigs[].responders
Description
List of responders responsible for notifications.
Type
array
.spec.receivers[].opsgenieConfigs[].responders[]
Description
OpsGenieConfigResponder defines a responder to an incident. One of id
, name
or username
has to be defined.
Type
object
Required
type
Property | Type | Description |
---|---|---|
|
| ID of the responder. |
|
| Name of the responder. |
|
| Type of responder. |
|
| Username of the responder. |
.spec.receivers[].pagerdutyConfigs
Description
List of PagerDuty configurations.
Type
array
.spec.receivers[].pagerdutyConfigs[]
Description
PagerDutyConfig configures notifications via PagerDuty. See https://prometheus.io/docs/alerting/latest/configuration/#pagerduty_config
Type
object
Property | Type | Description |
---|---|---|
|
| The class/type of the event. |
|
| Client identification. |
|
| Backlink to the sender of notification. |
|
| The part or component of the affected system that is broken. |
|
| Description of the incident. |
|
| Arbitrary key/value pairs that provide further detail about the incident. |
|
| KeyValue defines a (key, value) tuple. |
|
| A cluster or grouping of sources. |
|
| HTTP client configuration. |
|
| A list of image details to attach that provide further detail about an incident. |
|
| PagerDutyImageConfig attaches images to an incident |
|
| A list of link details to attach that provide further detail about an incident. |
|
| PagerDutyLinkConfig attaches text links to an incident |
|
| The secret’s key that contains the PagerDuty integration key (when using Events API v2). Either this field or |
|
| Whether or not to notify about resolved alerts. |
|
| The secret’s key that contains the PagerDuty service key (when using integration type “Prometheus”). Either this field or |
|
| Severity of the incident. |
|
| The URL to send requests to. |
.spec.receivers[].pagerdutyConfigs[].details
Description
Arbitrary key/value pairs that provide further detail about the incident.
Type
array
.spec.receivers[].pagerdutyConfigs[].details[]
Description
KeyValue defines a (key, value) tuple.
Type
object
Required
key
value
Property | Type | Description |
---|---|---|
|
| Key of the tuple. |
|
| Value of the tuple. |
.spec.receivers[].pagerdutyConfigs[].httpConfig
Description
HTTP client configuration.
Type
object
Property | Type | Description |
---|---|---|
|
| Authorization header configuration for the client. This is mutually exclusive with BasicAuth and is only available starting from Alertmanager v0.22+. |
|
| BasicAuth for the client. This is mutually exclusive with Authorization. If both are defined, BasicAuth takes precedence. |
|
| The secret’s key that contains the bearer token to be used by the client for authentication. The secret needs to be in the same namespace as the AlertmanagerConfig object and accessible by the Prometheus Operator. |
|
| FollowRedirects specifies whether the client should follow HTTP 3xx redirects. |
|
| OAuth2 client credentials used to fetch a token for the targets. |
|
| Optional proxy URL. |
|
| TLS configuration for the client. |
.spec.receivers[].pagerdutyConfigs[].httpConfig.authorization
Description
Authorization header configuration for the client. This is mutually exclusive with BasicAuth and is only available starting from Alertmanager v0.22+.
Type
object
Property | Type | Description |
---|---|---|
|
| The secret’s key that contains the credentials of the request |
|
| Set the authentication type. Defaults to Bearer, Basic will cause an error |
.spec.receivers[].pagerdutyConfigs[].httpConfig.authorization.credentials
Description
The secret’s key that contains the credentials of the request
Type
object
Required
key
Property | Type | Description |
---|---|---|
|
| The key of the secret to select from. Must be a valid secret key. |
|
| Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? |
|
| Specify whether the Secret or its key must be defined |
.spec.receivers[].pagerdutyConfigs[].httpConfig.basicAuth
Description
BasicAuth for the client. This is mutually exclusive with Authorization. If both are defined, BasicAuth takes precedence.
Type
object
Property | Type | Description |
---|---|---|
|
| The secret in the service monitor namespace that contains the password for authentication. |
|
| The secret in the service monitor namespace that contains the username for authentication. |
.spec.receivers[].pagerdutyConfigs[].httpConfig.basicAuth.password
Description
The secret in the service monitor namespace that contains the password for authentication.
Type
object
Required
key
Property | Type | Description |
---|---|---|
|
| The key of the secret to select from. Must be a valid secret key. |
|
| Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? |
|
| Specify whether the Secret or its key must be defined |
.spec.receivers[].pagerdutyConfigs[].httpConfig.basicAuth.username
Description
The secret in the service monitor namespace that contains the username for authentication.
Type
object
Required
key
Property | Type | Description |
---|---|---|
|
| The key of the secret to select from. Must be a valid secret key. |
|
| Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? |
|
| Specify whether the Secret or its key must be defined |
.spec.receivers[].pagerdutyConfigs[].httpConfig.bearerTokenSecret
Description
The secret’s key that contains the bearer token to be used by the client for authentication. The secret needs to be in the same namespace as the AlertmanagerConfig object and accessible by the Prometheus Operator.
Type
object
Required
key
name
Property | Type | Description |
---|---|---|
|
| The key of the secret to select from. Must be a valid secret key. |
|
| The name of the secret in the object’s namespace to select from. |
.spec.receivers[].pagerdutyConfigs[].httpConfig.oauth2
Description
OAuth2 client credentials used to fetch a token for the targets.
Type
object
Required
clientId
clientSecret
tokenUrl
Property | Type | Description |
---|---|---|
|
| The secret or configmap containing the OAuth2 client id |
|
| The secret containing the OAuth2 client secret |
|
| Parameters to append to the token URL |
|
| OAuth2 scopes used for the token request |
|
| The URL to fetch the token from |
.spec.receivers[].pagerdutyConfigs[].httpConfig.oauth2.clientId
Description
The secret or configmap containing the OAuth2 client id
Type
object
Property | Type | Description |
---|---|---|
|
| ConfigMap containing data to use for the targets. |
|
| Secret containing data to use for the targets. |
.spec.receivers[].pagerdutyConfigs[].httpConfig.oauth2.clientId.configMap
Description
ConfigMap containing data to use for the targets.
Type
object
Required
key
Property | Type | Description |
---|---|---|
|
| The key to select. |
|
| Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? |
|
| Specify whether the ConfigMap or its key must be defined |
.spec.receivers[].pagerdutyConfigs[].httpConfig.oauth2.clientId.secret
Description
Secret containing data to use for the targets.
Type
object
Required
key
Property | Type | Description |
---|---|---|
|
| The key of the secret to select from. Must be a valid secret key. |
|
| Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? |
|
| Specify whether the Secret or its key must be defined |
.spec.receivers[].pagerdutyConfigs[].httpConfig.oauth2.clientSecret
Description
The secret containing the OAuth2 client secret
Type
object
Required
key
Property | Type | Description |
---|---|---|
|
| The key of the secret to select from. Must be a valid secret key. |
|
| Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? |
|
| Specify whether the Secret or its key must be defined |
.spec.receivers[].pagerdutyConfigs[].httpConfig.tlsConfig
Description
TLS configuration for the client.
Type
object
Property | Type | Description |
---|---|---|
|
| Certificate authority used when verifying server certificates. |
|
| Client certificate to present when doing client-authentication. |
|
| Disable target certificate validation. |
|
| Secret containing the client key file for the targets. |
|
| Used to verify the hostname for the targets. |
.spec.receivers[].pagerdutyConfigs[].httpConfig.tlsConfig.ca
Description
Certificate authority used when verifying server certificates.
Type
object
Property | Type | Description |
---|---|---|
|
| ConfigMap containing data to use for the targets. |
|
| Secret containing data to use for the targets. |
.spec.receivers[].pagerdutyConfigs[].httpConfig.tlsConfig.ca.configMap
Description
ConfigMap containing data to use for the targets.
Type
object
Required
key
Property | Type | Description |
---|---|---|
|
| The key to select. |
|
| Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? |
|
| Specify whether the ConfigMap or its key must be defined |
.spec.receivers[].pagerdutyConfigs[].httpConfig.tlsConfig.ca.secret
Description
Secret containing data to use for the targets.
Type
object
Required
key
Property | Type | Description |
---|---|---|
|
| The key of the secret to select from. Must be a valid secret key. |
|
| Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? |
|
| Specify whether the Secret or its key must be defined |
.spec.receivers[].pagerdutyConfigs[].httpConfig.tlsConfig.cert
Description
Client certificate to present when doing client-authentication.
Type
object
Property | Type | Description |
---|---|---|
|
| ConfigMap containing data to use for the targets. |
|
| Secret containing data to use for the targets. |
.spec.receivers[].pagerdutyConfigs[].httpConfig.tlsConfig.cert.configMap
Description
ConfigMap containing data to use for the targets.
Type
object
Required
key
Property | Type | Description |
---|---|---|
|
| The key to select. |
|
| Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? |
|
| Specify whether the ConfigMap or its key must be defined |
.spec.receivers[].pagerdutyConfigs[].httpConfig.tlsConfig.cert.secret
Description
Secret containing data to use for the targets.
Type
object
Required
key
Property | Type | Description |
---|---|---|
|
| The key of the secret to select from. Must be a valid secret key. |
|
| Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? |
|
| Specify whether the Secret or its key must be defined |
.spec.receivers[].pagerdutyConfigs[].httpConfig.tlsConfig.keySecret
Description
Secret containing the client key file for the targets.
Type
object
Required
key
Property | Type | Description |
---|---|---|
|
| The key of the secret to select from. Must be a valid secret key. |
|
| Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? |
|
| Specify whether the Secret or its key must be defined |
.spec.receivers[].pagerdutyConfigs[].pagerDutyImageConfigs
Description
A list of image details to attach that provide further detail about an incident.
Type
array
.spec.receivers[].pagerdutyConfigs[].pagerDutyImageConfigs[]
Description
PagerDutyImageConfig attaches images to an incident
Type
object
Property | Type | Description |
---|---|---|
|
| Alt is the optional alternative text for the image. |
|
| Optional URL; makes the image a clickable link. |
|
| Src of the image being attached to the incident |
.spec.receivers[].pagerdutyConfigs[].pagerDutyLinkConfigs
Description
A list of link details to attach that provide further detail about an incident.
Type
array
.spec.receivers[].pagerdutyConfigs[].pagerDutyLinkConfigs[]
Description
PagerDutyLinkConfig attaches text links to an incident
Type
object
Property | Type | Description |
---|---|---|
|
| Text that describes the purpose of the link, and can be used as the link’s text. |
|
| Href is the URL of the link to be attached |
.spec.receivers[].pagerdutyConfigs[].routingKey
Description
The secret’s key that contains the PagerDuty integration key (when using Events API v2). Either this field or serviceKey
needs to be defined. The secret needs to be in the same namespace as the AlertmanagerConfig object and accessible by the Prometheus Operator.
Type
object
Required
key
name
Property | Type | Description |
---|---|---|
|
| The key of the secret to select from. Must be a valid secret key. |
|
| The name of the secret in the object’s namespace to select from. |
.spec.receivers[].pagerdutyConfigs[].serviceKey
Description
The secret’s key that contains the PagerDuty service key (when using integration type “Prometheus”). Either this field or routingKey
needs to be defined. The secret needs to be in the same namespace as the AlertmanagerConfig object and accessible by the Prometheus Operator.
Type
object
Required
key
name
Property | Type | Description |
---|---|---|
|
| The key of the secret to select from. Must be a valid secret key. |
|
| The name of the secret in the object’s namespace to select from. |
.spec.receivers[].pushoverConfigs
Description
List of Pushover configurations.
Type
array
.spec.receivers[].pushoverConfigs[]
Description
PushoverConfig configures notifications via Pushover. See https://prometheus.io/docs/alerting/latest/configuration/#pushover_config
Type
object
Property | Type | Description |
---|---|---|
|
| How long your notification will continue to be retried for, unless the user acknowledges the notification. |
|
| Whether notification message is HTML or plain text. |
|
| HTTP client configuration. |
|
| Notification message. |
|
| Priority, see https://pushover.net/api#priority |
|
| How often the Pushover servers will send the same notification to the user. Must be at least 30 seconds. |
|
| Whether or not to notify about resolved alerts. |
|
| The name of one of the sounds supported by device clients to override the user’s default sound choice |
|
| Notification title. |
|
| The secret’s key that contains the registered application’s API token, see https://pushover.net/apps. The secret needs to be in the same namespace as the AlertmanagerConfig object and accessible by the Prometheus Operator. |
|
| A supplementary URL shown alongside the message. |
|
| A title for supplementary URL, otherwise just the URL is shown |
|
| The secret’s key that contains the recipient user’s user key. The secret needs to be in the same namespace as the AlertmanagerConfig object and accessible by the Prometheus Operator. |
.spec.receivers[].pushoverConfigs[].httpConfig
Description
HTTP client configuration.
Type
object
Property | Type | Description |
---|---|---|
|
| Authorization header configuration for the client. This is mutually exclusive with BasicAuth and is only available starting from Alertmanager v0.22+. |
|
| BasicAuth for the client. This is mutually exclusive with Authorization. If both are defined, BasicAuth takes precedence. |
|
| The secret’s key that contains the bearer token to be used by the client for authentication. The secret needs to be in the same namespace as the AlertmanagerConfig object and accessible by the Prometheus Operator. |
|
| FollowRedirects specifies whether the client should follow HTTP 3xx redirects. |
|
| OAuth2 client credentials used to fetch a token for the targets. |
|
| Optional proxy URL. |
|
| TLS configuration for the client. |
.spec.receivers[].pushoverConfigs[].httpConfig.authorization
Description
Authorization header configuration for the client. This is mutually exclusive with BasicAuth and is only available starting from Alertmanager v0.22+.
Type
object
Property | Type | Description |
---|---|---|
|
| The secret’s key that contains the credentials of the request |
|
| Set the authentication type. Defaults to Bearer, Basic will cause an error |
.spec.receivers[].pushoverConfigs[].httpConfig.authorization.credentials
Description
The secret’s key that contains the credentials of the request
Type
object
Required
key
Property | Type | Description |
---|---|---|
|
| The key of the secret to select from. Must be a valid secret key. |
|
| Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? |
|
| Specify whether the Secret or its key must be defined |
.spec.receivers[].pushoverConfigs[].httpConfig.basicAuth
Description
BasicAuth for the client. This is mutually exclusive with Authorization. If both are defined, BasicAuth takes precedence.
Type
object
Property | Type | Description |
---|---|---|
|
| The secret in the service monitor namespace that contains the password for authentication. |
|
| The secret in the service monitor namespace that contains the username for authentication. |
.spec.receivers[].pushoverConfigs[].httpConfig.basicAuth.password
Description
The secret in the service monitor namespace that contains the password for authentication.
Type
object
Required
key
Property | Type | Description |
---|---|---|
|
| The key of the secret to select from. Must be a valid secret key. |
|
| Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? |
|
| Specify whether the Secret or its key must be defined |
.spec.receivers[].pushoverConfigs[].httpConfig.basicAuth.username
Description
The secret in the service monitor namespace that contains the username for authentication.
Type
object
Required
key
Property | Type | Description |
---|---|---|
|
| The key of the secret to select from. Must be a valid secret key. |
|
| Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? |
|
| Specify whether the Secret or its key must be defined |
.spec.receivers[].pushoverConfigs[].httpConfig.bearerTokenSecret
Description
The secret’s key that contains the bearer token to be used by the client for authentication. The secret needs to be in the same namespace as the AlertmanagerConfig object and accessible by the Prometheus Operator.
Type
object
Required
key
name
Property | Type | Description |
---|---|---|
|
| The key of the secret to select from. Must be a valid secret key. |
|
| The name of the secret in the object’s namespace to select from. |
.spec.receivers[].pushoverConfigs[].httpConfig.oauth2
Description
OAuth2 client credentials used to fetch a token for the targets.
Type
object
Required
clientId
clientSecret
tokenUrl
Property | Type | Description |
---|---|---|
|
| The secret or configmap containing the OAuth2 client id |
|
| The secret containing the OAuth2 client secret |
|
| Parameters to append to the token URL |
|
| OAuth2 scopes used for the token request |
|
| The URL to fetch the token from |
.spec.receivers[].pushoverConfigs[].httpConfig.oauth2.clientId
Description
The secret or configmap containing the OAuth2 client id
Type
object
Property | Type | Description |
---|---|---|
|
| ConfigMap containing data to use for the targets. |
|
| Secret containing data to use for the targets. |
.spec.receivers[].pushoverConfigs[].httpConfig.oauth2.clientId.configMap
Description
ConfigMap containing data to use for the targets.
Type
object
Required
key
Property | Type | Description |
---|---|---|
|
| The key to select. |
|
| Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? |
|
| Specify whether the ConfigMap or its key must be defined |
.spec.receivers[].pushoverConfigs[].httpConfig.oauth2.clientId.secret
Description
Secret containing data to use for the targets.
Type
object
Required
key
Property | Type | Description |
---|---|---|
|
| The key of the secret to select from. Must be a valid secret key. |
|
| Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? |
|
| Specify whether the Secret or its key must be defined |
.spec.receivers[].pushoverConfigs[].httpConfig.oauth2.clientSecret
Description
The secret containing the OAuth2 client secret
Type
object
Required
key
Property | Type | Description |
---|---|---|
|
| The key of the secret to select from. Must be a valid secret key. |
|
| Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? |
|
| Specify whether the Secret or its key must be defined |
.spec.receivers[].pushoverConfigs[].httpConfig.tlsConfig
Description
TLS configuration for the client.
Type
object
Property | Type | Description |
---|---|---|
|
| Certificate authority used when verifying server certificates. |
|
| Client certificate to present when doing client-authentication. |
|
| Disable target certificate validation. |
|
| Secret containing the client key file for the targets. |
|
| Used to verify the hostname for the targets. |
.spec.receivers[].pushoverConfigs[].httpConfig.tlsConfig.ca
Description
Certificate authority used when verifying server certificates.
Type
object
Property | Type | Description |
---|---|---|
|
| ConfigMap containing data to use for the targets. |
|
| Secret containing data to use for the targets. |
.spec.receivers[].pushoverConfigs[].httpConfig.tlsConfig.ca.configMap
Description
ConfigMap containing data to use for the targets.
Type
object
Required
key
Property | Type | Description |
---|---|---|
|
| The key to select. |
|
| Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? |
|
| Specify whether the ConfigMap or its key must be defined |
.spec.receivers[].pushoverConfigs[].httpConfig.tlsConfig.ca.secret
Description
Secret containing data to use for the targets.
Type
object
Required
key
Property | Type | Description |
---|---|---|
|
| The key of the secret to select from. Must be a valid secret key. |
|
| Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? |
|
| Specify whether the Secret or its key must be defined |
.spec.receivers[].pushoverConfigs[].httpConfig.tlsConfig.cert
Description
Client certificate to present when doing client-authentication.
Type
object
Property | Type | Description |
---|---|---|
|
| ConfigMap containing data to use for the targets. |
|
| Secret containing data to use for the targets. |
.spec.receivers[].pushoverConfigs[].httpConfig.tlsConfig.cert.configMap
Description
ConfigMap containing data to use for the targets.
Type
object
Required
key
Property | Type | Description |
---|---|---|
|
| The key to select. |
|
| Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? |
|
| Specify whether the ConfigMap or its key must be defined |
.spec.receivers[].pushoverConfigs[].httpConfig.tlsConfig.cert.secret
Description
Secret containing data to use for the targets.
Type
object
Required
key
Property | Type | Description |
---|---|---|
|
| The key of the secret to select from. Must be a valid secret key. |
|
| Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? |
|
| Specify whether the Secret or its key must be defined |
.spec.receivers[].pushoverConfigs[].httpConfig.tlsConfig.keySecret
Description
Secret containing the client key file for the targets.
Type
object
Required
key
Property | Type | Description |
---|---|---|
|
| The key of the secret to select from. Must be a valid secret key. |
|
| Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? |
|
| Specify whether the Secret or its key must be defined |
.spec.receivers[].pushoverConfigs[].token
Description
The secret’s key that contains the registered application’s API token, see https://pushover.net/apps. The secret needs to be in the same namespace as the AlertmanagerConfig object and accessible by the Prometheus Operator.
Type
object
Required
key
name
Property | Type | Description |
---|---|---|
|
| The key of the secret to select from. Must be a valid secret key. |
|
| The name of the secret in the object’s namespace to select from. |
.spec.receivers[].pushoverConfigs[].userKey
Description
The secret’s key that contains the recipient user’s user key. The secret needs to be in the same namespace as the AlertmanagerConfig object and accessible by the Prometheus Operator.
Type
object
Required
key
name
Property | Type | Description |
---|---|---|
|
| The key of the secret to select from. Must be a valid secret key. |
|
| The name of the secret in the object’s namespace to select from. |
.spec.receivers[].slackConfigs
Description
List of Slack configurations.
Type
array
.spec.receivers[].slackConfigs[]
Description
SlackConfig configures notifications via Slack. See https://prometheus.io/docs/alerting/latest/configuration/#slack_config
Type
object
Property | Type | Description |
---|---|---|
|
| A list of Slack actions that are sent with each notification. |
|
| SlackAction configures a single Slack action that is sent with each notification. See https://api.slack.com/docs/message-attachments#action_fields and https://api.slack.com/docs/message-buttons for more information. |
|
| The secret’s key that contains the Slack webhook URL. The secret needs to be in the same namespace as the AlertmanagerConfig object and accessible by the Prometheus Operator. |
|
| |
|
| The channel or user to send notifications to. |
|
| |
|
| |
|
| A list of Slack fields that are sent with each notification. |
|
| SlackField configures a single Slack field that is sent with each notification. Each field must contain a title, value, and optionally, a boolean value to indicate if the field is short enough to be displayed next to other fields designated as short. See https://api.slack.com/docs/message-attachments#fields for more information. |
|
| |
|
| HTTP client configuration. |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| Whether or not to notify about resolved alerts. |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
.spec.receivers[].slackConfigs[].actions
Description
A list of Slack actions that are sent with each notification.
Type
array
.spec.receivers[].slackConfigs[].actions[]
Description
SlackAction configures a single Slack action that is sent with each notification. See https://api.slack.com/docs/message-attachments#action_fields and https://api.slack.com/docs/message-buttons for more information.
Type
object
Required
text
type
Property | Type | Description |
---|---|---|
|
| SlackConfirmationField protect users from destructive actions or particularly distinguished decisions by asking them to confirm their button click one more time. See https://api.slack.com/docs/interactive-message-field-guide#confirmation_fields for more information. |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
.spec.receivers[].slackConfigs[].actions[].confirm
Description
SlackConfirmationField protect users from destructive actions or particularly distinguished decisions by asking them to confirm their button click one more time. See https://api.slack.com/docs/interactive-message-field-guide#confirmation_fields for more information.
Type
object
Required
text
Property | Type | Description |
---|---|---|
|
| |
|
| |
|
| |
|
|
.spec.receivers[].slackConfigs[].apiURL
Description
The secret’s key that contains the Slack webhook URL. The secret needs to be in the same namespace as the AlertmanagerConfig object and accessible by the Prometheus Operator.
Type
object
Required
key
name
Property | Type | Description |
---|---|---|
|
| The key of the secret to select from. Must be a valid secret key. |
|
| The name of the secret in the object’s namespace to select from. |
.spec.receivers[].slackConfigs[].fields
Description
A list of Slack fields that are sent with each notification.
Type
array
.spec.receivers[].slackConfigs[].fields[]
Description
SlackField configures a single Slack field that is sent with each notification. Each field must contain a title, value, and optionally, a boolean value to indicate if the field is short enough to be displayed next to other fields designated as short. See https://api.slack.com/docs/message-attachments#fields for more information.
Type
object
Required
title
value
Property | Type | Description |
---|---|---|
|
| |
|
| |
|
|
.spec.receivers[].slackConfigs[].httpConfig
Description
HTTP client configuration.
Type
object
Property | Type | Description |
---|---|---|
|
| Authorization header configuration for the client. This is mutually exclusive with BasicAuth and is only available starting from Alertmanager v0.22+. |
|
| BasicAuth for the client. This is mutually exclusive with Authorization. If both are defined, BasicAuth takes precedence. |
|
| The secret’s key that contains the bearer token to be used by the client for authentication. The secret needs to be in the same namespace as the AlertmanagerConfig object and accessible by the Prometheus Operator. |
|
| FollowRedirects specifies whether the client should follow HTTP 3xx redirects. |
|
| OAuth2 client credentials used to fetch a token for the targets. |
|
| Optional proxy URL. |
|
| TLS configuration for the client. |
.spec.receivers[].slackConfigs[].httpConfig.authorization
Description
Authorization header configuration for the client. This is mutually exclusive with BasicAuth and is only available starting from Alertmanager v0.22+.
Type
object
Property | Type | Description |
---|---|---|
|
| The secret’s key that contains the credentials of the request |
|
| Set the authentication type. Defaults to Bearer, Basic will cause an error |
.spec.receivers[].slackConfigs[].httpConfig.authorization.credentials
Description
The secret’s key that contains the credentials of the request
Type
object
Required
key
Property | Type | Description |
---|---|---|
|
| The key of the secret to select from. Must be a valid secret key. |
|
| Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? |
|
| Specify whether the Secret or its key must be defined |
.spec.receivers[].slackConfigs[].httpConfig.basicAuth
Description
BasicAuth for the client. This is mutually exclusive with Authorization. If both are defined, BasicAuth takes precedence.
Type
object
Property | Type | Description |
---|---|---|
|
| The secret in the service monitor namespace that contains the password for authentication. |
|
| The secret in the service monitor namespace that contains the username for authentication. |
.spec.receivers[].slackConfigs[].httpConfig.basicAuth.password
Description
The secret in the service monitor namespace that contains the password for authentication.
Type
object
Required
key
Property | Type | Description |
---|---|---|
|
| The key of the secret to select from. Must be a valid secret key. |
|
| Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? |
|
| Specify whether the Secret or its key must be defined |
.spec.receivers[].slackConfigs[].httpConfig.basicAuth.username
Description
The secret in the service monitor namespace that contains the username for authentication.
Type
object
Required
key
Property | Type | Description |
---|---|---|
|
| The key of the secret to select from. Must be a valid secret key. |
|
| Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? |
|
| Specify whether the Secret or its key must be defined |
.spec.receivers[].slackConfigs[].httpConfig.bearerTokenSecret
Description
The secret’s key that contains the bearer token to be used by the client for authentication. The secret needs to be in the same namespace as the AlertmanagerConfig object and accessible by the Prometheus Operator.
Type
object
Required
key
name
Property | Type | Description |
---|---|---|
|
| The key of the secret to select from. Must be a valid secret key. |
|
| The name of the secret in the object’s namespace to select from. |
.spec.receivers[].slackConfigs[].httpConfig.oauth2
Description
OAuth2 client credentials used to fetch a token for the targets.
Type
object
Required
clientId
clientSecret
tokenUrl
Property | Type | Description |
---|---|---|
|
| The secret or configmap containing the OAuth2 client id |
|
| The secret containing the OAuth2 client secret |
|
| Parameters to append to the token URL |
|
| OAuth2 scopes used for the token request |
|
| The URL to fetch the token from |
.spec.receivers[].slackConfigs[].httpConfig.oauth2.clientId
Description
The secret or configmap containing the OAuth2 client id
Type
object
Property | Type | Description |
---|---|---|
|
| ConfigMap containing data to use for the targets. |
|
| Secret containing data to use for the targets. |
.spec.receivers[].slackConfigs[].httpConfig.oauth2.clientId.configMap
Description
ConfigMap containing data to use for the targets.
Type
object
Required
key
Property | Type | Description |
---|---|---|
|
| The key to select. |
|
| Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? |
|
| Specify whether the ConfigMap or its key must be defined |
.spec.receivers[].slackConfigs[].httpConfig.oauth2.clientId.secret
Description
Secret containing data to use for the targets.
Type
object
Required
key
Property | Type | Description |
---|---|---|
|
| The key of the secret to select from. Must be a valid secret key. |
|
| Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? |
|
| Specify whether the Secret or its key must be defined |
.spec.receivers[].slackConfigs[].httpConfig.oauth2.clientSecret
Description
The secret containing the OAuth2 client secret
Type
object
Required
key
Property | Type | Description |
---|---|---|
|
| The key of the secret to select from. Must be a valid secret key. |
|
| Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? |
|
| Specify whether the Secret or its key must be defined |
.spec.receivers[].slackConfigs[].httpConfig.tlsConfig
Description
TLS configuration for the client.
Type
object
Property | Type | Description |
---|---|---|
|
| Certificate authority used when verifying server certificates. |
|
| Client certificate to present when doing client-authentication. |
|
| Disable target certificate validation. |
|
| Secret containing the client key file for the targets. |
|
| Used to verify the hostname for the targets. |
.spec.receivers[].slackConfigs[].httpConfig.tlsConfig.ca
Description
Certificate authority used when verifying server certificates.
Type
object
Property | Type | Description |
---|---|---|
|
| ConfigMap containing data to use for the targets. |
|
| Secret containing data to use for the targets. |
.spec.receivers[].slackConfigs[].httpConfig.tlsConfig.ca.configMap
Description
ConfigMap containing data to use for the targets.
Type
object
Required
key
Property | Type | Description |
---|---|---|
|
| The key to select. |
|
| Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? |
|
| Specify whether the ConfigMap or its key must be defined |
.spec.receivers[].slackConfigs[].httpConfig.tlsConfig.ca.secret
Description
Secret containing data to use for the targets.
Type
object
Required
key
Property | Type | Description |
---|---|---|
|
| The key of the secret to select from. Must be a valid secret key. |
|
| Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? |
|
| Specify whether the Secret or its key must be defined |
.spec.receivers[].slackConfigs[].httpConfig.tlsConfig.cert
Description
Client certificate to present when doing client-authentication.
Type
object
Property | Type | Description |
---|---|---|
|
| ConfigMap containing data to use for the targets. |
|
| Secret containing data to use for the targets. |
.spec.receivers[].slackConfigs[].httpConfig.tlsConfig.cert.configMap
Description
ConfigMap containing data to use for the targets.
Type
object
Required
key
Property | Type | Description |
---|---|---|
|
| The key to select. |
|
| Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? |
|
| Specify whether the ConfigMap or its key must be defined |
.spec.receivers[].slackConfigs[].httpConfig.tlsConfig.cert.secret
Description
Secret containing data to use for the targets.
Type
object
Required
key
Property | Type | Description |
---|---|---|
|
| The key of the secret to select from. Must be a valid secret key. |
|
| Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? |
|
| Specify whether the Secret or its key must be defined |
.spec.receivers[].slackConfigs[].httpConfig.tlsConfig.keySecret
Description
Secret containing the client key file for the targets.
Type
object
Required
key
Property | Type | Description |
---|---|---|
|
| The key of the secret to select from. Must be a valid secret key. |
|
| Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? |
|
| Specify whether the Secret or its key must be defined |
.spec.receivers[].snsConfigs
Description
List of SNS configurations
Type
array
.spec.receivers[].snsConfigs[]
Description
SNSConfig configures notifications via AWS SNS. See https://prometheus.io/docs/alerting/latest/configuration/#sns_configs
Type
object
Property | Type | Description |
---|---|---|
|
| The SNS API URL i.e. https://sns.us-east-2.amazonaws.com. If not specified, the SNS API URL from the SNS SDK will be used. |
|
| SNS message attributes. |
|
| HTTP client configuration. |
|
| The message content of the SNS notification. |
|
| Phone number if message is delivered via SMS in E.164 format. If you don’t specify this value, you must specify a value for the TopicARN or TargetARN. |
|
| Whether or not to notify about resolved alerts. |
|
| Configures AWS’s Signature Verification 4 signing process to sign requests. |
|
| Subject line when the message is delivered to email endpoints. |
|
| The mobile platform endpoint ARN if message is delivered via mobile notifications. If you don’t specify this value, you must specify a value for the topic_arn or PhoneNumber. |
|
| SNS topic ARN, i.e. arn:aws:sns:us-east-2:698519295917:My-Topic If you don’t specify this value, you must specify a value for the PhoneNumber or TargetARN. |
.spec.receivers[].snsConfigs[].httpConfig
Description
HTTP client configuration.
Type
object
Property | Type | Description |
---|---|---|
|
| Authorization header configuration for the client. This is mutually exclusive with BasicAuth and is only available starting from Alertmanager v0.22+. |
|
| BasicAuth for the client. This is mutually exclusive with Authorization. If both are defined, BasicAuth takes precedence. |
|
| The secret’s key that contains the bearer token to be used by the client for authentication. The secret needs to be in the same namespace as the AlertmanagerConfig object and accessible by the Prometheus Operator. |
|
| FollowRedirects specifies whether the client should follow HTTP 3xx redirects. |
|
| OAuth2 client credentials used to fetch a token for the targets. |
|
| Optional proxy URL. |
|
| TLS configuration for the client. |
.spec.receivers[].snsConfigs[].httpConfig.authorization
Description
Authorization header configuration for the client. This is mutually exclusive with BasicAuth and is only available starting from Alertmanager v0.22+.
Type
object
Property | Type | Description |
---|---|---|
|
| The secret’s key that contains the credentials of the request |
|
| Set the authentication type. Defaults to Bearer, Basic will cause an error |
.spec.receivers[].snsConfigs[].httpConfig.authorization.credentials
Description
The secret’s key that contains the credentials of the request
Type
object
Required
key
Property | Type | Description |
---|---|---|
|
| The key of the secret to select from. Must be a valid secret key. |
|
| Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? |
|
| Specify whether the Secret or its key must be defined |
.spec.receivers[].snsConfigs[].httpConfig.basicAuth
Description
BasicAuth for the client. This is mutually exclusive with Authorization. If both are defined, BasicAuth takes precedence.
Type
object
Property | Type | Description |
---|---|---|
|
| The secret in the service monitor namespace that contains the password for authentication. |
|
| The secret in the service monitor namespace that contains the username for authentication. |
.spec.receivers[].snsConfigs[].httpConfig.basicAuth.password
Description
The secret in the service monitor namespace that contains the password for authentication.
Type
object
Required
key
Property | Type | Description |
---|---|---|
|
| The key of the secret to select from. Must be a valid secret key. |
|
| Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? |
|
| Specify whether the Secret or its key must be defined |
.spec.receivers[].snsConfigs[].httpConfig.basicAuth.username
Description
The secret in the service monitor namespace that contains the username for authentication.
Type
object
Required
key
Property | Type | Description |
---|---|---|
|
| The key of the secret to select from. Must be a valid secret key. |
|
| Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? |
|
| Specify whether the Secret or its key must be defined |
.spec.receivers[].snsConfigs[].httpConfig.bearerTokenSecret
Description
The secret’s key that contains the bearer token to be used by the client for authentication. The secret needs to be in the same namespace as the AlertmanagerConfig object and accessible by the Prometheus Operator.
Type
object
Required
key
name
Property | Type | Description |
---|---|---|
|
| The key of the secret to select from. Must be a valid secret key. |
|
| The name of the secret in the object’s namespace to select from. |
.spec.receivers[].snsConfigs[].httpConfig.oauth2
Description
OAuth2 client credentials used to fetch a token for the targets.
Type
object
Required
clientId
clientSecret
tokenUrl
Property | Type | Description |
---|---|---|
|
| The secret or configmap containing the OAuth2 client id |
|
| The secret containing the OAuth2 client secret |
|
| Parameters to append to the token URL |
|
| OAuth2 scopes used for the token request |
|
| The URL to fetch the token from |
.spec.receivers[].snsConfigs[].httpConfig.oauth2.clientId
Description
The secret or configmap containing the OAuth2 client id
Type
object
Property | Type | Description |
---|---|---|
|
| ConfigMap containing data to use for the targets. |
|
| Secret containing data to use for the targets. |
.spec.receivers[].snsConfigs[].httpConfig.oauth2.clientId.configMap
Description
ConfigMap containing data to use for the targets.
Type
object
Required
key
Property | Type | Description |
---|---|---|
|
| The key to select. |
|
| Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? |
|
| Specify whether the ConfigMap or its key must be defined |
.spec.receivers[].snsConfigs[].httpConfig.oauth2.clientId.secret
Description
Secret containing data to use for the targets.
Type
object
Required
key
Property | Type | Description |
---|---|---|
|
| The key of the secret to select from. Must be a valid secret key. |
|
| Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? |
|
| Specify whether the Secret or its key must be defined |
.spec.receivers[].snsConfigs[].httpConfig.oauth2.clientSecret
Description
The secret containing the OAuth2 client secret
Type
object
Required
key
Property | Type | Description |
---|---|---|
|
| The key of the secret to select from. Must be a valid secret key. |
|
| Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? |
|
| Specify whether the Secret or its key must be defined |
.spec.receivers[].snsConfigs[].httpConfig.tlsConfig
Description
TLS configuration for the client.
Type
object
Property | Type | Description |
---|---|---|
|
| Certificate authority used when verifying server certificates. |
|
| Client certificate to present when doing client-authentication. |
|
| Disable target certificate validation. |
|
| Secret containing the client key file for the targets. |
|
| Used to verify the hostname for the targets. |
.spec.receivers[].snsConfigs[].httpConfig.tlsConfig.ca
Description
Certificate authority used when verifying server certificates.
Type
object
Property | Type | Description |
---|---|---|
|
| ConfigMap containing data to use for the targets. |
|
| Secret containing data to use for the targets. |
.spec.receivers[].snsConfigs[].httpConfig.tlsConfig.ca.configMap
Description
ConfigMap containing data to use for the targets.
Type
object
Required
key
Property | Type | Description |
---|---|---|
|
| The key to select. |
|
| Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? |
|
| Specify whether the ConfigMap or its key must be defined |
.spec.receivers[].snsConfigs[].httpConfig.tlsConfig.ca.secret
Description
Secret containing data to use for the targets.
Type
object
Required
key
Property | Type | Description |
---|---|---|
|
| The key of the secret to select from. Must be a valid secret key. |
|
| Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? |
|
| Specify whether the Secret or its key must be defined |
.spec.receivers[].snsConfigs[].httpConfig.tlsConfig.cert
Description
Client certificate to present when doing client-authentication.
Type
object
Property | Type | Description |
---|---|---|
|
| ConfigMap containing data to use for the targets. |
|
| Secret containing data to use for the targets. |
.spec.receivers[].snsConfigs[].httpConfig.tlsConfig.cert.configMap
Description
ConfigMap containing data to use for the targets.
Type
object
Required
key
Property | Type | Description |
---|---|---|
|
| The key to select. |
|
| Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? |
|
| Specify whether the ConfigMap or its key must be defined |
.spec.receivers[].snsConfigs[].httpConfig.tlsConfig.cert.secret
Description
Secret containing data to use for the targets.
Type
object
Required
key
Property | Type | Description |
---|---|---|
|
| The key of the secret to select from. Must be a valid secret key. |
|
| Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? |
|
| Specify whether the Secret or its key must be defined |
.spec.receivers[].snsConfigs[].httpConfig.tlsConfig.keySecret
Description
Secret containing the client key file for the targets.
Type
object
Required
key
Property | Type | Description |
---|---|---|
|
| The key of the secret to select from. Must be a valid secret key. |
|
| Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? |
|
| Specify whether the Secret or its key must be defined |
.spec.receivers[].snsConfigs[].sigv4
Description
Configures AWS’s Signature Verification 4 signing process to sign requests.
Type
object
Property | Type | Description |
---|---|---|
|
| AccessKey is the AWS API key. If blank, the environment variable |
|
| Profile is the named AWS profile used to authenticate. |
|
| Region is the AWS region. If blank, the region from the default credentials chain used. |
|
| RoleArn is the named AWS profile used to authenticate. |
|
| SecretKey is the AWS API secret. If blank, the environment variable |
.spec.receivers[].snsConfigs[].sigv4.accessKey
Description
AccessKey is the AWS API key. If blank, the environment variable AWS_ACCESS_KEY_ID
is used.
Type
object
Required
key
Property | Type | Description |
---|---|---|
|
| The key of the secret to select from. Must be a valid secret key. |
|
| Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? |
|
| Specify whether the Secret or its key must be defined |
.spec.receivers[].snsConfigs[].sigv4.secretKey
Description
SecretKey is the AWS API secret. If blank, the environment variable AWS_SECRET_ACCESS_KEY
is used.
Type
object
Required
key
Property | Type | Description |
---|---|---|
|
| The key of the secret to select from. Must be a valid secret key. |
|
| Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? |
|
| Specify whether the Secret or its key must be defined |
.spec.receivers[].telegramConfigs
Description
List of Telegram configurations.
Type
array
.spec.receivers[].telegramConfigs[]
Description
TelegramConfig configures notifications via Telegram. See https://prometheus.io/docs/alerting/latest/configuration/#telegram_config
Type
object
Property | Type | Description |
---|---|---|
|
| The Telegram API URL i.e. https://api.telegram.org. If not specified, default API URL will be used. |
|
| Telegram bot token The secret needs to be in the same namespace as the AlertmanagerConfig object and accessible by the Prometheus Operator. |
|
| The Telegram chat ID. |
|
| Disable telegram notifications |
|
| HTTP client configuration. |
|
| Message template |
|
| Parse mode for telegram message |
|
| Whether to notify about resolved alerts. |
.spec.receivers[].telegramConfigs[].botToken
Description
Telegram bot token The secret needs to be in the same namespace as the AlertmanagerConfig object and accessible by the Prometheus Operator.
Type
object
Required
key
name
Property | Type | Description |
---|---|---|
|
| The key of the secret to select from. Must be a valid secret key. |
|
| The name of the secret in the object’s namespace to select from. |
.spec.receivers[].telegramConfigs[].httpConfig
Description
HTTP client configuration.
Type
object
Property | Type | Description |
---|---|---|
|
| Authorization header configuration for the client. This is mutually exclusive with BasicAuth and is only available starting from Alertmanager v0.22+. |
|
| BasicAuth for the client. This is mutually exclusive with Authorization. If both are defined, BasicAuth takes precedence. |
|
| The secret’s key that contains the bearer token to be used by the client for authentication. The secret needs to be in the same namespace as the AlertmanagerConfig object and accessible by the Prometheus Operator. |
|
| FollowRedirects specifies whether the client should follow HTTP 3xx redirects. |
|
| OAuth2 client credentials used to fetch a token for the targets. |
|
| Optional proxy URL. |
|
| TLS configuration for the client. |
.spec.receivers[].telegramConfigs[].httpConfig.authorization
Description
Authorization header configuration for the client. This is mutually exclusive with BasicAuth and is only available starting from Alertmanager v0.22+.
Type
object
Property | Type | Description |
---|---|---|
|
| The secret’s key that contains the credentials of the request |
|
| Set the authentication type. Defaults to Bearer, Basic will cause an error |
.spec.receivers[].telegramConfigs[].httpConfig.authorization.credentials
Description
The secret’s key that contains the credentials of the request
Type
object
Required
key
Property | Type | Description |
---|---|---|
|
| The key of the secret to select from. Must be a valid secret key. |
|
| Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? |
|
| Specify whether the Secret or its key must be defined |
.spec.receivers[].telegramConfigs[].httpConfig.basicAuth
Description
BasicAuth for the client. This is mutually exclusive with Authorization. If both are defined, BasicAuth takes precedence.
Type
object
Property | Type | Description |
---|---|---|
|
| The secret in the service monitor namespace that contains the password for authentication. |
|
| The secret in the service monitor namespace that contains the username for authentication. |
.spec.receivers[].telegramConfigs[].httpConfig.basicAuth.password
Description
The secret in the service monitor namespace that contains the password for authentication.
Type
object
Required
key
Property | Type | Description |
---|---|---|
|
| The key of the secret to select from. Must be a valid secret key. |
|
| Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? |
|
| Specify whether the Secret or its key must be defined |
.spec.receivers[].telegramConfigs[].httpConfig.basicAuth.username
Description
The secret in the service monitor namespace that contains the username for authentication.
Type
object
Required
key
Property | Type | Description |
---|---|---|
|
| The key of the secret to select from. Must be a valid secret key. |
|
| Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? |
|
| Specify whether the Secret or its key must be defined |
.spec.receivers[].telegramConfigs[].httpConfig.bearerTokenSecret
Description
The secret’s key that contains the bearer token to be used by the client for authentication. The secret needs to be in the same namespace as the AlertmanagerConfig object and accessible by the Prometheus Operator.
Type
object
Required
key
name
Property | Type | Description |
---|---|---|
|
| The key of the secret to select from. Must be a valid secret key. |
|
| The name of the secret in the object’s namespace to select from. |
.spec.receivers[].telegramConfigs[].httpConfig.oauth2
Description
OAuth2 client credentials used to fetch a token for the targets.
Type
object
Required
clientId
clientSecret
tokenUrl
Property | Type | Description |
---|---|---|
|
| The secret or configmap containing the OAuth2 client id |
|
| The secret containing the OAuth2 client secret |
|
| Parameters to append to the token URL |
|
| OAuth2 scopes used for the token request |
|
| The URL to fetch the token from |
.spec.receivers[].telegramConfigs[].httpConfig.oauth2.clientId
Description
The secret or configmap containing the OAuth2 client id
Type
object
Property | Type | Description |
---|---|---|
|
| ConfigMap containing data to use for the targets. |
|
| Secret containing data to use for the targets. |
.spec.receivers[].telegramConfigs[].httpConfig.oauth2.clientId.configMap
Description
ConfigMap containing data to use for the targets.
Type
object
Required
key
Property | Type | Description |
---|---|---|
|
| The key to select. |
|
| Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? |
|
| Specify whether the ConfigMap or its key must be defined |
.spec.receivers[].telegramConfigs[].httpConfig.oauth2.clientId.secret
Description
Secret containing data to use for the targets.
Type
object
Required
key
Property | Type | Description |
---|---|---|
|
| The key of the secret to select from. Must be a valid secret key. |
|
| Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? |
|
| Specify whether the Secret or its key must be defined |
.spec.receivers[].telegramConfigs[].httpConfig.oauth2.clientSecret
Description
The secret containing the OAuth2 client secret
Type
object
Required
key
Property | Type | Description |
---|---|---|
|
| The key of the secret to select from. Must be a valid secret key. |
|
| Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? |
|
| Specify whether the Secret or its key must be defined |
.spec.receivers[].telegramConfigs[].httpConfig.tlsConfig
Description
TLS configuration for the client.
Type
object
Property | Type | Description |
---|---|---|
|
| Certificate authority used when verifying server certificates. |
|
| Client certificate to present when doing client-authentication. |
|
| Disable target certificate validation. |
|
| Secret containing the client key file for the targets. |
|
| Used to verify the hostname for the targets. |
.spec.receivers[].telegramConfigs[].httpConfig.tlsConfig.ca
Description
Certificate authority used when verifying server certificates.
Type
object
Property | Type | Description |
---|---|---|
|
| ConfigMap containing data to use for the targets. |
|
| Secret containing data to use for the targets. |
.spec.receivers[].telegramConfigs[].httpConfig.tlsConfig.ca.configMap
Description
ConfigMap containing data to use for the targets.
Type
object
Required
key
Property | Type | Description |
---|---|---|
|
| The key to select. |
|
| Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? |
|
| Specify whether the ConfigMap or its key must be defined |
.spec.receivers[].telegramConfigs[].httpConfig.tlsConfig.ca.secret
Description
Secret containing data to use for the targets.
Type
object
Required
key
Property | Type | Description |
---|---|---|
|
| The key of the secret to select from. Must be a valid secret key. |
|
| Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? |
|
| Specify whether the Secret or its key must be defined |
.spec.receivers[].telegramConfigs[].httpConfig.tlsConfig.cert
Description
Client certificate to present when doing client-authentication.
Type
object
Property | Type | Description |
---|---|---|
|
| ConfigMap containing data to use for the targets. |
|
| Secret containing data to use for the targets. |
.spec.receivers[].telegramConfigs[].httpConfig.tlsConfig.cert.configMap
Description
ConfigMap containing data to use for the targets.
Type
object
Required
key
Property | Type | Description |
---|---|---|
|
| The key to select. |
|
| Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? |
|
| Specify whether the ConfigMap or its key must be defined |
.spec.receivers[].telegramConfigs[].httpConfig.tlsConfig.cert.secret
Description
Secret containing data to use for the targets.
Type
object
Required
key
Property | Type | Description |
---|---|---|
|
| The key of the secret to select from. Must be a valid secret key. |
|
| Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? |
|
| Specify whether the Secret or its key must be defined |
.spec.receivers[].telegramConfigs[].httpConfig.tlsConfig.keySecret
Description
Secret containing the client key file for the targets.
Type
object
Required
key
Property | Type | Description |
---|---|---|
|
| The key of the secret to select from. Must be a valid secret key. |
|
| Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? |
|
| Specify whether the Secret or its key must be defined |
.spec.receivers[].victoropsConfigs
Description
List of VictorOps configurations.
Type
array
.spec.receivers[].victoropsConfigs[]
Description
VictorOpsConfig configures notifications via VictorOps. See https://prometheus.io/docs/alerting/latest/configuration/#victorops_config
Type
object
Property | Type | Description |
---|---|---|
|
| The secret’s key that contains the API key to use when talking to the VictorOps API. The secret needs to be in the same namespace as the AlertmanagerConfig object and accessible by the Prometheus Operator. |
|
| The VictorOps API URL. |
|
| Additional custom fields for notification. |
|
| KeyValue defines a (key, value) tuple. |
|
| Contains summary of the alerted problem. |
|
| The HTTP client’s configuration. |
|
| Describes the behavior of the alert (CRITICAL, WARNING, INFO). |
|
| The monitoring tool the state message is from. |
|
| A key used to map the alert to a team. |
|
| Whether or not to notify about resolved alerts. |
|
| Contains long explanation of the alerted problem. |
.spec.receivers[].victoropsConfigs[].apiKey
Description
The secret’s key that contains the API key to use when talking to the VictorOps API. The secret needs to be in the same namespace as the AlertmanagerConfig object and accessible by the Prometheus Operator.
Type
object
Required
key
name
Property | Type | Description |
---|---|---|
|
| The key of the secret to select from. Must be a valid secret key. |
|
| The name of the secret in the object’s namespace to select from. |
.spec.receivers[].victoropsConfigs[].customFields
Description
Additional custom fields for notification.
Type
array
.spec.receivers[].victoropsConfigs[].customFields[]
Description
KeyValue defines a (key, value) tuple.
Type
object
Required
key
value
Property | Type | Description |
---|---|---|
|
| Key of the tuple. |
|
| Value of the tuple. |
.spec.receivers[].victoropsConfigs[].httpConfig
Description
The HTTP client’s configuration.
Type
object
Property | Type | Description |
---|---|---|
|
| Authorization header configuration for the client. This is mutually exclusive with BasicAuth and is only available starting from Alertmanager v0.22+. |
|
| BasicAuth for the client. This is mutually exclusive with Authorization. If both are defined, BasicAuth takes precedence. |
|
| The secret’s key that contains the bearer token to be used by the client for authentication. The secret needs to be in the same namespace as the AlertmanagerConfig object and accessible by the Prometheus Operator. |
|
| FollowRedirects specifies whether the client should follow HTTP 3xx redirects. |
|
| OAuth2 client credentials used to fetch a token for the targets. |
|
| Optional proxy URL. |
|
| TLS configuration for the client. |
.spec.receivers[].victoropsConfigs[].httpConfig.authorization
Description
Authorization header configuration for the client. This is mutually exclusive with BasicAuth and is only available starting from Alertmanager v0.22+.
Type
object
Property | Type | Description |
---|---|---|
|
| The secret’s key that contains the credentials of the request |
|
| Set the authentication type. Defaults to Bearer, Basic will cause an error |
.spec.receivers[].victoropsConfigs[].httpConfig.authorization.credentials
Description
The secret’s key that contains the credentials of the request
Type
object
Required
key
Property | Type | Description |
---|---|---|
|
| The key of the secret to select from. Must be a valid secret key. |
|
| Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? |
|
| Specify whether the Secret or its key must be defined |
.spec.receivers[].victoropsConfigs[].httpConfig.basicAuth
Description
BasicAuth for the client. This is mutually exclusive with Authorization. If both are defined, BasicAuth takes precedence.
Type
object
Property | Type | Description |
---|---|---|
|
| The secret in the service monitor namespace that contains the password for authentication. |
|
| The secret in the service monitor namespace that contains the username for authentication. |
.spec.receivers[].victoropsConfigs[].httpConfig.basicAuth.password
Description
The secret in the service monitor namespace that contains the password for authentication.
Type
object
Required
key
Property | Type | Description |
---|---|---|
|
| The key of the secret to select from. Must be a valid secret key. |
|
| Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? |
|
| Specify whether the Secret or its key must be defined |
.spec.receivers[].victoropsConfigs[].httpConfig.basicAuth.username
Description
The secret in the service monitor namespace that contains the username for authentication.
Type
object
Required
key
Property | Type | Description |
---|---|---|
|
| The key of the secret to select from. Must be a valid secret key. |
|
| Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? |
|
| Specify whether the Secret or its key must be defined |
.spec.receivers[].victoropsConfigs[].httpConfig.bearerTokenSecret
Description
The secret’s key that contains the bearer token to be used by the client for authentication. The secret needs to be in the same namespace as the AlertmanagerConfig object and accessible by the Prometheus Operator.
Type
object
Required
key
name
Property | Type | Description |
---|---|---|
|
| The key of the secret to select from. Must be a valid secret key. |
|
| The name of the secret in the object’s namespace to select from. |
.spec.receivers[].victoropsConfigs[].httpConfig.oauth2
Description
OAuth2 client credentials used to fetch a token for the targets.
Type
object
Required
clientId
clientSecret
tokenUrl
Property | Type | Description |
---|---|---|
|
| The secret or configmap containing the OAuth2 client id |
|
| The secret containing the OAuth2 client secret |
|
| Parameters to append to the token URL |
|
| OAuth2 scopes used for the token request |
|
| The URL to fetch the token from |
.spec.receivers[].victoropsConfigs[].httpConfig.oauth2.clientId
Description
The secret or configmap containing the OAuth2 client id
Type
object
Property | Type | Description |
---|---|---|
|
| ConfigMap containing data to use for the targets. |
|
| Secret containing data to use for the targets. |
.spec.receivers[].victoropsConfigs[].httpConfig.oauth2.clientId.configMap
Description
ConfigMap containing data to use for the targets.
Type
object
Required
key
Property | Type | Description |
---|---|---|
|
| The key to select. |
|
| Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? |
|
| Specify whether the ConfigMap or its key must be defined |
.spec.receivers[].victoropsConfigs[].httpConfig.oauth2.clientId.secret
Description
Secret containing data to use for the targets.
Type
object
Required
key
Property | Type | Description |
---|---|---|
|
| The key of the secret to select from. Must be a valid secret key. |
|
| Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? |
|
| Specify whether the Secret or its key must be defined |
.spec.receivers[].victoropsConfigs[].httpConfig.oauth2.clientSecret
Description
The secret containing the OAuth2 client secret
Type
object
Required
key
Property | Type | Description |
---|---|---|
|
| The key of the secret to select from. Must be a valid secret key. |
|
| Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? |
|
| Specify whether the Secret or its key must be defined |
.spec.receivers[].victoropsConfigs[].httpConfig.tlsConfig
Description
TLS configuration for the client.
Type
object
Property | Type | Description |
---|---|---|
|
| Certificate authority used when verifying server certificates. |
|
| Client certificate to present when doing client-authentication. |
|
| Disable target certificate validation. |
|
| Secret containing the client key file for the targets. |
|
| Used to verify the hostname for the targets. |
.spec.receivers[].victoropsConfigs[].httpConfig.tlsConfig.ca
Description
Certificate authority used when verifying server certificates.
Type
object
Property | Type | Description |
---|---|---|
|
| ConfigMap containing data to use for the targets. |
|
| Secret containing data to use for the targets. |
.spec.receivers[].victoropsConfigs[].httpConfig.tlsConfig.ca.configMap
Description
ConfigMap containing data to use for the targets.
Type
object
Required
key
Property | Type | Description |
---|---|---|
|
| The key to select. |
|
| Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? |
|
| Specify whether the ConfigMap or its key must be defined |
.spec.receivers[].victoropsConfigs[].httpConfig.tlsConfig.ca.secret
Description
Secret containing data to use for the targets.
Type
object
Required
key
Property | Type | Description |
---|---|---|
|
| The key of the secret to select from. Must be a valid secret key. |
|
| Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? |
|
| Specify whether the Secret or its key must be defined |
.spec.receivers[].victoropsConfigs[].httpConfig.tlsConfig.cert
Description
Client certificate to present when doing client-authentication.
Type
object
Property | Type | Description |
---|---|---|
|
| ConfigMap containing data to use for the targets. |
|
| Secret containing data to use for the targets. |
.spec.receivers[].victoropsConfigs[].httpConfig.tlsConfig.cert.configMap
Description
ConfigMap containing data to use for the targets.
Type
object
Required
key
Property | Type | Description |
---|---|---|
|
| The key to select. |
|
| Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? |
|
| Specify whether the ConfigMap or its key must be defined |
.spec.receivers[].victoropsConfigs[].httpConfig.tlsConfig.cert.secret
Description
Secret containing data to use for the targets.
Type
object
Required
key
Property | Type | Description |
---|---|---|
|
| The key of the secret to select from. Must be a valid secret key. |
|
| Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? |
|
| Specify whether the Secret or its key must be defined |
.spec.receivers[].victoropsConfigs[].httpConfig.tlsConfig.keySecret
Description
Secret containing the client key file for the targets.
Type
object
Required
key
Property | Type | Description |
---|---|---|
|
| The key of the secret to select from. Must be a valid secret key. |
|
| Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? |
|
| Specify whether the Secret or its key must be defined |
.spec.receivers[].webhookConfigs
Description
List of webhook configurations.
Type
array
.spec.receivers[].webhookConfigs[]
Description
WebhookConfig configures notifications via a generic receiver supporting the webhook payload. See https://prometheus.io/docs/alerting/latest/configuration/#webhook_config
Type
object
Property | Type | Description |
---|---|---|
|
| HTTP client configuration. |
|
| Maximum number of alerts to be sent per webhook message. When 0, all alerts are included. |
|
| Whether or not to notify about resolved alerts. |
|
| The URL to send HTTP POST requests to. |
|
| The secret’s key that contains the webhook URL to send HTTP requests to. |
.spec.receivers[].webhookConfigs[].httpConfig
Description
HTTP client configuration.
Type
object
Property | Type | Description |
---|---|---|
|
| Authorization header configuration for the client. This is mutually exclusive with BasicAuth and is only available starting from Alertmanager v0.22+. |
|
| BasicAuth for the client. This is mutually exclusive with Authorization. If both are defined, BasicAuth takes precedence. |
|
| The secret’s key that contains the bearer token to be used by the client for authentication. The secret needs to be in the same namespace as the AlertmanagerConfig object and accessible by the Prometheus Operator. |
|
| FollowRedirects specifies whether the client should follow HTTP 3xx redirects. |
|
| OAuth2 client credentials used to fetch a token for the targets. |
|
| Optional proxy URL. |
|
| TLS configuration for the client. |
.spec.receivers[].webhookConfigs[].httpConfig.authorization
Description
Authorization header configuration for the client. This is mutually exclusive with BasicAuth and is only available starting from Alertmanager v0.22+.
Type
object
Property | Type | Description |
---|---|---|
|
| The secret’s key that contains the credentials of the request |
|
| Set the authentication type. Defaults to Bearer, Basic will cause an error |
.spec.receivers[].webhookConfigs[].httpConfig.authorization.credentials
Description
The secret’s key that contains the credentials of the request
Type
object
Required
key
Property | Type | Description |
---|---|---|
|
| The key of the secret to select from. Must be a valid secret key. |
|
| Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? |
|
| Specify whether the Secret or its key must be defined |
.spec.receivers[].webhookConfigs[].httpConfig.basicAuth
Description
BasicAuth for the client. This is mutually exclusive with Authorization. If both are defined, BasicAuth takes precedence.
Type
object
Property | Type | Description |
---|---|---|
|
| The secret in the service monitor namespace that contains the password for authentication. |
|
| The secret in the service monitor namespace that contains the username for authentication. |
.spec.receivers[].webhookConfigs[].httpConfig.basicAuth.password
Description
The secret in the service monitor namespace that contains the password for authentication.
Type
object
Required
key
Property | Type | Description |
---|---|---|
|
| The key of the secret to select from. Must be a valid secret key. |
|
| Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? |
|
| Specify whether the Secret or its key must be defined |
.spec.receivers[].webhookConfigs[].httpConfig.basicAuth.username
Description
The secret in the service monitor namespace that contains the username for authentication.
Type
object
Required
key
Property | Type | Description |
---|---|---|
|
| The key of the secret to select from. Must be a valid secret key. |
|
| Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? |
|
| Specify whether the Secret or its key must be defined |
.spec.receivers[].webhookConfigs[].httpConfig.bearerTokenSecret
Description
The secret’s key that contains the bearer token to be used by the client for authentication. The secret needs to be in the same namespace as the AlertmanagerConfig object and accessible by the Prometheus Operator.
Type
object
Required
key
name
Property | Type | Description |
---|---|---|
|
| The key of the secret to select from. Must be a valid secret key. |
|
| The name of the secret in the object’s namespace to select from. |
.spec.receivers[].webhookConfigs[].httpConfig.oauth2
Description
OAuth2 client credentials used to fetch a token for the targets.
Type
object
Required
clientId
clientSecret
tokenUrl
Property | Type | Description |
---|---|---|
|
| The secret or configmap containing the OAuth2 client id |
|
| The secret containing the OAuth2 client secret |
|
| Parameters to append to the token URL |
|
| OAuth2 scopes used for the token request |
|
| The URL to fetch the token from |
.spec.receivers[].webhookConfigs[].httpConfig.oauth2.clientId
Description
The secret or configmap containing the OAuth2 client id
Type
object
Property | Type | Description |
---|---|---|
|
| ConfigMap containing data to use for the targets. |
|
| Secret containing data to use for the targets. |
.spec.receivers[].webhookConfigs[].httpConfig.oauth2.clientId.configMap
Description
ConfigMap containing data to use for the targets.
Type
object
Required
key
Property | Type | Description |
---|---|---|
|
| The key to select. |
|
| Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? |
|
| Specify whether the ConfigMap or its key must be defined |
.spec.receivers[].webhookConfigs[].httpConfig.oauth2.clientId.secret
Description
Secret containing data to use for the targets.
Type
object
Required
key
Property | Type | Description |
---|---|---|
|
| The key of the secret to select from. Must be a valid secret key. |
|
| Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? |
|
| Specify whether the Secret or its key must be defined |
.spec.receivers[].webhookConfigs[].httpConfig.oauth2.clientSecret
Description
The secret containing the OAuth2 client secret
Type
object
Required
key
Property | Type | Description |
---|---|---|
|
| The key of the secret to select from. Must be a valid secret key. |
|
| Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? |
|
| Specify whether the Secret or its key must be defined |
.spec.receivers[].webhookConfigs[].httpConfig.tlsConfig
Description
TLS configuration for the client.
Type
object
Property | Type | Description |
---|---|---|
|
| Certificate authority used when verifying server certificates. |
|
| Client certificate to present when doing client-authentication. |
|
| Disable target certificate validation. |
|
| Secret containing the client key file for the targets. |
|
| Used to verify the hostname for the targets. |
.spec.receivers[].webhookConfigs[].httpConfig.tlsConfig.ca
Description
Certificate authority used when verifying server certificates.
Type
object
Property | Type | Description |
---|---|---|
|
| ConfigMap containing data to use for the targets. |
|
| Secret containing data to use for the targets. |
.spec.receivers[].webhookConfigs[].httpConfig.tlsConfig.ca.configMap
Description
ConfigMap containing data to use for the targets.
Type
object
Required
key
Property | Type | Description |
---|---|---|
|
| The key to select. |
|
| Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? |
|
| Specify whether the ConfigMap or its key must be defined |
.spec.receivers[].webhookConfigs[].httpConfig.tlsConfig.ca.secret
Description
Secret containing data to use for the targets.
Type
object
Required
key
Property | Type | Description |
---|---|---|
|
| The key of the secret to select from. Must be a valid secret key. |
|
| Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? |
|
| Specify whether the Secret or its key must be defined |
.spec.receivers[].webhookConfigs[].httpConfig.tlsConfig.cert
Description
Client certificate to present when doing client-authentication.
Type
object
Property | Type | Description |
---|---|---|
|
| ConfigMap containing data to use for the targets. |
|
| Secret containing data to use for the targets. |
.spec.receivers[].webhookConfigs[].httpConfig.tlsConfig.cert.configMap
Description
ConfigMap containing data to use for the targets.
Type
object
Required
key
Property | Type | Description |
---|---|---|
|
| The key to select. |
|
| Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? |
|
| Specify whether the ConfigMap or its key must be defined |
.spec.receivers[].webhookConfigs[].httpConfig.tlsConfig.cert.secret
Description
Secret containing data to use for the targets.
Type
object
Required
key
Property | Type | Description |
---|---|---|
|
| The key of the secret to select from. Must be a valid secret key. |
|
| Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? |
|
| Specify whether the Secret or its key must be defined |
.spec.receivers[].webhookConfigs[].httpConfig.tlsConfig.keySecret
Description
Secret containing the client key file for the targets.
Type
object
Required
key
Property | Type | Description |
---|---|---|
|
| The key of the secret to select from. Must be a valid secret key. |
|
| Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? |
|
| Specify whether the Secret or its key must be defined |
.spec.receivers[].webhookConfigs[].urlSecret
Description
The secret’s key that contains the webhook URL to send HTTP requests to. urlSecret
takes precedence over url
. One of urlSecret
and url
should be defined. The secret needs to be in the same namespace as the AlertmanagerConfig object and accessible by the Prometheus Operator.
Type
object
Required
key
name
Property | Type | Description |
---|---|---|
|
| The key of the secret to select from. Must be a valid secret key. |
|
| The name of the secret in the object’s namespace to select from. |
.spec.receivers[].wechatConfigs
Description
List of WeChat configurations.
Type
array
.spec.receivers[].wechatConfigs[]
Description
WeChatConfig configures notifications via WeChat. See https://prometheus.io/docs/alerting/latest/configuration/#wechat_config
Type
object
Property | Type | Description |
---|---|---|
|
| |
|
| The secret’s key that contains the WeChat API key. The secret needs to be in the same namespace as the AlertmanagerConfig object and accessible by the Prometheus Operator. |
|
| The WeChat API URL. |
|
| The corp id for authentication. |
|
| HTTP client configuration. |
|
| API request data as defined by the WeChat API. |
|
| |
|
| Whether or not to notify about resolved alerts. |
|
| |
|
| |
|
|
.spec.receivers[].wechatConfigs[].apiSecret
Description
The secret’s key that contains the WeChat API key. The secret needs to be in the same namespace as the AlertmanagerConfig object and accessible by the Prometheus Operator.
Type
object
Required
key
name
Property | Type | Description |
---|---|---|
|
| The key of the secret to select from. Must be a valid secret key. |
|
| The name of the secret in the object’s namespace to select from. |
.spec.receivers[].wechatConfigs[].httpConfig
Description
HTTP client configuration.
Type
object
Property | Type | Description |
---|---|---|
|
| Authorization header configuration for the client. This is mutually exclusive with BasicAuth and is only available starting from Alertmanager v0.22+. |
|
| BasicAuth for the client. This is mutually exclusive with Authorization. If both are defined, BasicAuth takes precedence. |
|
| The secret’s key that contains the bearer token to be used by the client for authentication. The secret needs to be in the same namespace as the AlertmanagerConfig object and accessible by the Prometheus Operator. |
|
| FollowRedirects specifies whether the client should follow HTTP 3xx redirects. |
|
| OAuth2 client credentials used to fetch a token for the targets. |
|
| Optional proxy URL. |
|
| TLS configuration for the client. |
.spec.receivers[].wechatConfigs[].httpConfig.authorization
Description
Authorization header configuration for the client. This is mutually exclusive with BasicAuth and is only available starting from Alertmanager v0.22+.
Type
object
Property | Type | Description |
---|---|---|
|
| The secret’s key that contains the credentials of the request |
|
| Set the authentication type. Defaults to Bearer, Basic will cause an error |
.spec.receivers[].wechatConfigs[].httpConfig.authorization.credentials
Description
The secret’s key that contains the credentials of the request
Type
object
Required
key
Property | Type | Description |
---|---|---|
|
| The key of the secret to select from. Must be a valid secret key. |
|
| Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? |
|
| Specify whether the Secret or its key must be defined |
.spec.receivers[].wechatConfigs[].httpConfig.basicAuth
Description
BasicAuth for the client. This is mutually exclusive with Authorization. If both are defined, BasicAuth takes precedence.
Type
object
Property | Type | Description |
---|---|---|
|
| The secret in the service monitor namespace that contains the password for authentication. |
|
| The secret in the service monitor namespace that contains the username for authentication. |
.spec.receivers[].wechatConfigs[].httpConfig.basicAuth.password
Description
The secret in the service monitor namespace that contains the password for authentication.
Type
object
Required
key
Property | Type | Description |
---|---|---|
|
| The key of the secret to select from. Must be a valid secret key. |
|
| Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? |
|
| Specify whether the Secret or its key must be defined |
.spec.receivers[].wechatConfigs[].httpConfig.basicAuth.username
Description
The secret in the service monitor namespace that contains the username for authentication.
Type
object
Required
key
Property | Type | Description |
---|---|---|
|
| The key of the secret to select from. Must be a valid secret key. |
|
| Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? |
|
| Specify whether the Secret or its key must be defined |
.spec.receivers[].wechatConfigs[].httpConfig.bearerTokenSecret
Description
The secret’s key that contains the bearer token to be used by the client for authentication. The secret needs to be in the same namespace as the AlertmanagerConfig object and accessible by the Prometheus Operator.
Type
object
Required
key
name
Property | Type | Description |
---|---|---|
|
| The key of the secret to select from. Must be a valid secret key. |
|
| The name of the secret in the object’s namespace to select from. |
.spec.receivers[].wechatConfigs[].httpConfig.oauth2
Description
OAuth2 client credentials used to fetch a token for the targets.
Type
object
Required
clientId
clientSecret
tokenUrl
Property | Type | Description |
---|---|---|
|
| The secret or configmap containing the OAuth2 client id |
|
| The secret containing the OAuth2 client secret |
|
| Parameters to append to the token URL |
|
| OAuth2 scopes used for the token request |
|
| The URL to fetch the token from |
.spec.receivers[].wechatConfigs[].httpConfig.oauth2.clientId
Description
The secret or configmap containing the OAuth2 client id
Type
object
Property | Type | Description |
---|---|---|
|
| ConfigMap containing data to use for the targets. |
|
| Secret containing data to use for the targets. |
.spec.receivers[].wechatConfigs[].httpConfig.oauth2.clientId.configMap
Description
ConfigMap containing data to use for the targets.
Type
object
Required
key
Property | Type | Description |
---|---|---|
|
| The key to select. |
|
| Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? |
|
| Specify whether the ConfigMap or its key must be defined |
.spec.receivers[].wechatConfigs[].httpConfig.oauth2.clientId.secret
Description
Secret containing data to use for the targets.
Type
object
Required
key
Property | Type | Description |
---|---|---|
|
| The key of the secret to select from. Must be a valid secret key. |
|
| Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? |
|
| Specify whether the Secret or its key must be defined |
.spec.receivers[].wechatConfigs[].httpConfig.oauth2.clientSecret
Description
The secret containing the OAuth2 client secret
Type
object
Required
key
Property | Type | Description |
---|---|---|
|
| The key of the secret to select from. Must be a valid secret key. |
|
| Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? |
|
| Specify whether the Secret or its key must be defined |
.spec.receivers[].wechatConfigs[].httpConfig.tlsConfig
Description
TLS configuration for the client.
Type
object
Property | Type | Description |
---|---|---|
|
| Certificate authority used when verifying server certificates. |
|
| Client certificate to present when doing client-authentication. |
|
| Disable target certificate validation. |
|
| Secret containing the client key file for the targets. |
|
| Used to verify the hostname for the targets. |
.spec.receivers[].wechatConfigs[].httpConfig.tlsConfig.ca
Description
Certificate authority used when verifying server certificates.
Type
object
Property | Type | Description |
---|---|---|
|
| ConfigMap containing data to use for the targets. |
|
| Secret containing data to use for the targets. |
.spec.receivers[].wechatConfigs[].httpConfig.tlsConfig.ca.configMap
Description
ConfigMap containing data to use for the targets.
Type
object
Required
key
Property | Type | Description |
---|---|---|
|
| The key to select. |
|
| Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? |
|
| Specify whether the ConfigMap or its key must be defined |
.spec.receivers[].wechatConfigs[].httpConfig.tlsConfig.ca.secret
Description
Secret containing data to use for the targets.
Type
object
Required
key
Property | Type | Description |
---|---|---|
|
| The key of the secret to select from. Must be a valid secret key. |
|
| Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? |
|
| Specify whether the Secret or its key must be defined |
.spec.receivers[].wechatConfigs[].httpConfig.tlsConfig.cert
Description
Client certificate to present when doing client-authentication.
Type
object
Property | Type | Description |
---|---|---|
|
| ConfigMap containing data to use for the targets. |
|
| Secret containing data to use for the targets. |
.spec.receivers[].wechatConfigs[].httpConfig.tlsConfig.cert.configMap
Description
ConfigMap containing data to use for the targets.
Type
object
Required
key
Property | Type | Description |
---|---|---|
|
| The key to select. |
|
| Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? |
|
| Specify whether the ConfigMap or its key must be defined |
.spec.receivers[].wechatConfigs[].httpConfig.tlsConfig.cert.secret
Description
Secret containing data to use for the targets.
Type
object
Required
key
Property | Type | Description |
---|---|---|
|
| The key of the secret to select from. Must be a valid secret key. |
|
| Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? |
|
| Specify whether the Secret or its key must be defined |
.spec.receivers[].wechatConfigs[].httpConfig.tlsConfig.keySecret
Description
Secret containing the client key file for the targets.
Type
object
Required
key
Property | Type | Description |
---|---|---|
|
| The key of the secret to select from. Must be a valid secret key. |
|
| Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? |
|
| Specify whether the Secret or its key must be defined |
.spec.route
Description
The Alertmanager route definition for alerts matching the resource’s namespace. If present, it will be added to the generated Alertmanager configuration as a first-level route.
Type
object
Property | Type | Description |
---|---|---|
|
| ActiveTimeIntervals is a list of TimeInterval names when this route should be active. |
|
| Boolean indicating whether an alert should continue matching subsequent sibling nodes. It will always be overridden to true for the first-level route by the Prometheus operator. |
|
| List of labels to group by. Labels must not be repeated (unique list). Special label “…” (aggregate by all possible labels), if provided, must be the only element in the list. |
|
| How long to wait before sending an updated notification. Must match the regular expression |
|
| How long to wait before sending the initial notification. Must match the regular expression |
|
| List of matchers that the alert’s labels should match. For the first level route, the operator removes any existing equality and regexp matcher on the |
|
| Matcher defines how to match on alert’s labels. |
|
| Note: this comment applies to the field definition above but appears below otherwise it gets included in the generated manifest. CRD schema doesn’t support self-referential types for now (see https://github.com/kubernetes/kubernetes/issues/62872). We have to use an alternative type to circumvent the limitation. The downside is that the Kube API can’t validate the data beyond the fact that it is a valid JSON representation. MuteTimeIntervals is a list of TimeInterval names that will mute this route when matched. |
|
| Name of the receiver for this route. If not empty, it should be listed in the |
|
| How long to wait before repeating the last notification. Must match the regular expression |
|
| Child routes. |
.spec.route.matchers
Description
List of matchers that the alert’s labels should match. For the first level route, the operator removes any existing equality and regexp matcher on the namespace
label and adds a namespace: <object namespace>
matcher.
Type
array
.spec.route.matchers[]
Description
Matcher defines how to match on alert’s labels.
Type
object
Required
name
Property | Type | Description |
---|---|---|
|
| Match operator, one of |
|
| Label to match. |
|
| Label value to match. |
.spec.timeIntervals
Description
List of TimeInterval specifying when the routes should be muted or active.
Type
array
.spec.timeIntervals[]
Description
TimeInterval specifies the periods in time when notifications will be muted or active.
Type
object
Property | Type | Description |
---|---|---|
|
| Name of the time interval. |
|
| TimeIntervals is a list of TimePeriod. |
|
| TimePeriod describes periods of time. |
.spec.timeIntervals[].timeIntervals
Description
TimeIntervals is a list of TimePeriod.
Type
array
.spec.timeIntervals[].timeIntervals[]
Description
TimePeriod describes periods of time.
Type
object
Property | Type | Description |
---|---|---|
|
| DaysOfMonth is a list of DayOfMonthRange |
|
| DayOfMonthRange is an inclusive range of days of the month beginning at 1 |
|
| Months is a list of MonthRange |
|
| Times is a list of TimeRange |
|
| TimeRange defines a start and end time in 24hr format |
|
| Weekdays is a list of WeekdayRange |
|
| Years is a list of YearRange |
.spec.timeIntervals[].timeIntervals[].daysOfMonth
Description
DaysOfMonth is a list of DayOfMonthRange
Type
array
.spec.timeIntervals[].timeIntervals[].daysOfMonth[]
Description
DayOfMonthRange is an inclusive range of days of the month beginning at 1
Type
object
Property | Type | Description |
---|---|---|
|
| End of the inclusive range |
|
| Start of the inclusive range |
.spec.timeIntervals[].timeIntervals[].times
Description
Times is a list of TimeRange
Type
array
.spec.timeIntervals[].timeIntervals[].times[]
Description
TimeRange defines a start and end time in 24hr format
Type
object
Property | Type | Description |
---|---|---|
|
| EndTime is the end time in 24hr format. |
|
| StartTime is the start time in 24hr format. |
API endpoints
The following API endpoints are available:
/apis/monitoring.coreos.com/v1beta1/alertmanagerconfigs
GET
: list objects of kind AlertmanagerConfig
/apis/monitoring.coreos.com/v1beta1/namespaces/{namespace}/alertmanagerconfigs
DELETE
: delete collection of AlertmanagerConfigGET
: list objects of kind AlertmanagerConfigPOST
: create an AlertmanagerConfig
/apis/monitoring.coreos.com/v1beta1/namespaces/{namespace}/alertmanagerconfigs/{name}
DELETE
: delete an AlertmanagerConfigGET
: read the specified AlertmanagerConfigPATCH
: partially update the specified AlertmanagerConfigPUT
: replace the specified AlertmanagerConfig
/apis/monitoring.coreos.com/v1beta1/alertmanagerconfigs
Parameter | Type | Description |
---|---|---|
|
| allowWatchBookmarks requests watch events with type “BOOKMARK”. Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server’s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. |
|
| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the “next key”. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. |
|
| A selector to restrict the list of returned objects by their fields. Defaults to everything. |
|
| A selector to restrict the list of returned objects by their labels. Defaults to everything. |
|
| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. |
|
| If ‘true’, then the output is pretty printed. |
|
| resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset |
|
| resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset |
|
| Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. |
|
| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. |
HTTP method
GET
Description
list objects of kind AlertmanagerConfig
HTTP code | Reponse body |
---|---|
200 - OK | AlertmanagerConfigList schema |
401 - Unauthorized | Empty |
/apis/monitoring.coreos.com/v1beta1/namespaces/{namespace}/alertmanagerconfigs
Parameter | Type | Description |
---|---|---|
|
| object name and auth scope, such as for teams and projects |
Parameter | Type | Description |
---|---|---|
|
| If ‘true’, then the output is pretty printed. |
HTTP method
DELETE
Description
delete collection of AlertmanagerConfig
Parameter | Type | Description |
---|---|---|
|
| allowWatchBookmarks requests watch events with type “BOOKMARK”. Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server’s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. |
|
| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the “next key”. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. |
|
| A selector to restrict the list of returned objects by their fields. Defaults to everything. |
|
| A selector to restrict the list of returned objects by their labels. Defaults to everything. |
|
| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. |
|
| resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset |
|
| resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset |
|
| Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. |
|
| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. |
HTTP code | Reponse body |
---|---|
200 - OK | Status schema |
401 - Unauthorized | Empty |
HTTP method
GET
Description
list objects of kind AlertmanagerConfig
Parameter | Type | Description |
---|---|---|
|
| allowWatchBookmarks requests watch events with type “BOOKMARK”. Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server’s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. |
|
| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the “next key”. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. |
|
| A selector to restrict the list of returned objects by their fields. Defaults to everything. |
|
| A selector to restrict the list of returned objects by their labels. Defaults to everything. |
|
| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. |
|
| resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset |
|
| resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset |
|
| Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. |
|
| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. |
HTTP code | Reponse body |
---|---|
200 - OK | AlertmanagerConfigList schema |
401 - Unauthorized | Empty |
HTTP method
POST
Description
create an AlertmanagerConfig
Parameter | Type | Description |
---|---|---|
|
| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed |
|
| fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. |
|
| fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields, provided that the |
Parameter | Type | Description |
---|---|---|
| AlertmanagerConfig schema |
HTTP code | Reponse body |
---|---|
200 - OK | AlertmanagerConfig schema |
201 - Created | AlertmanagerConfig schema |
202 - Accepted | AlertmanagerConfig schema |
401 - Unauthorized | Empty |
/apis/monitoring.coreos.com/v1beta1/namespaces/{namespace}/alertmanagerconfigs/{name}
Parameter | Type | Description |
---|---|---|
|
| name of the AlertmanagerConfig |
|
| object name and auth scope, such as for teams and projects |
Parameter | Type | Description |
---|---|---|
|
| If ‘true’, then the output is pretty printed. |
HTTP method
DELETE
Description
delete an AlertmanagerConfig
Parameter | Type | Description |
---|---|---|
|
| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed |
|
| The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. |
|
| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the “orphan” finalizer will be added to/removed from the object’s finalizers list. Either this field or PropagationPolicy may be set, but not both. |
|
| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: ‘Orphan’ - orphan the dependents; ‘Background’ - allow the garbage collector to delete the dependents in the background; ‘Foreground’ - a cascading policy that deletes all dependents in the foreground. |
Parameter | Type | Description |
---|---|---|
| DeleteOptions schema |
HTTP code | Reponse body |
---|---|
200 - OK | Status schema |
202 - Accepted | Status schema |
401 - Unauthorized | Empty |
HTTP method
GET
Description
read the specified AlertmanagerConfig
Parameter | Type | Description |
---|---|---|
|
| resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset |
HTTP code | Reponse body |
---|---|
200 - OK | AlertmanagerConfig schema |
401 - Unauthorized | Empty |
HTTP method
PATCH
Description
partially update the specified AlertmanagerConfig
Parameter | Type | Description |
---|---|---|
|
| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed |
|
| fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. |
|
| fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields, provided that the |
Parameter | Type | Description |
---|---|---|
| Patch schema |
HTTP code | Reponse body |
---|---|
200 - OK | AlertmanagerConfig schema |
401 - Unauthorized | Empty |
HTTP method
PUT
Description
replace the specified AlertmanagerConfig
Parameter | Type | Description |
---|---|---|
|
| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed |
|
| fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. |
|
| fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields, provided that the |
Parameter | Type | Description |
---|---|---|
| AlertmanagerConfig schema |
HTTP code | Reponse body |
---|---|
200 - OK | AlertmanagerConfig schema |
201 - Created | AlertmanagerConfig schema |
401 - Unauthorized | Empty |