AlertmanagerConfig
Scope: Namespaced
Version: v1alpha1
AlertmanagerConfig defines a namespaced AlertmanagerConfig to be aggregated across multiple namespaces configuring one Alertmanager cluster.
- string
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
- string
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
- object
Required value
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.- array of objects
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
- array of objects
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.
- array of objects
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.
- array of objects
List of MuteTimeInterval specifying when the routes should be muted.
MuteTimeInterval specifies the periods in time when notifications will be muted
- array of objects
TimeIntervals is a list of TimeInterval
TimeInterval describes intervals of time
- array of objects
DaysOfMonth is a list of DayOfMonthRange
DayOfMonthRange is an inclusive range of days of the month beginning at 1
- string
MonthRange is an inclusive range of months of the year beginning in January Months can be specified by name (e.g ‘January’) by numerical month (e.g ‘1’) or as an inclusive range (e.g ‘January:March’, ‘1:3’, ‘1:March’)
Pattern:
^((?i)january|february|march|april|may|june|july|august|september|october|november|december|[1-12])(?:((:((?i)january|february|march|april|may|june|july|august|september|october|november|december|[1-12]))$)|$)
- array of objects
Times is a list of TimeRange
TimeRange defines a start and end time in 24hr format
- array of objects
List of receivers.
Receiver defines one or more notification integrations.
- array of objects
List of Discord configurations.
DiscordConfig configures notifications via Discord. See https://prometheus.io/docs/alerting/latest/configuration/#discord_config
- object
Required value
The secret’s key that contains the Discord webhook URL. The secret needs to be in the same namespace as the AlertmanagerConfig object and accessible by the Prometheus Operator.
- object
Authorization header configuration for the client. This is mutually exclusive with BasicAuth and is only available starting from Alertmanager v0.22+.
- object
Selects a key of a Secret in the namespace that contains the credentials for authentication.
- string
Required value
The key of the secret to select from. Must be a valid secret key.
- string
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?
- boolean
Specify whether the Secret or its key must be defined
- string
Defines the authentication type. The value is case-insensitive. “Basic” is not a supported value. Default: “Bearer”
- object
BasicAuth for the client. This is mutually exclusive with Authorization. If both are defined, BasicAuth takes precedence.
- object
The secret in the service monitor namespace that contains the password for authentication.
- object
The secret in the service monitor namespace that contains the username for authentication.
- object
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.
- object
OAuth2 client credentials used to fetch a token for the targets.
- object
Required value
The secret or configmap containing the OAuth2 client id
- object
ConfigMap containing data to use for the targets.
- object
Secret containing data to use for the targets.
- object
Required value
The secret containing the OAuth2 client secret
- object
Certificate authority used when verifying server certificates.
- object
ConfigMap containing data to use for the targets.
- object
Secret containing data to use for the targets.
- object
Client certificate to present when doing client-authentication.
- object
ConfigMap containing data to use for the targets.
- object
Secret containing data to use for the targets.
- object
Secret containing the client key file for the targets.
- array of objects
List of Email configurations.
EmailConfig configures notifications via Email.
- object
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.
- object
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.
- array of objects
Further headers email header key/value pairs. Overrides any headers previously set by the notification implementation.
KeyValue defines a (key, value) tuple.
- object
Certificate authority used when verifying server certificates.
- object
ConfigMap containing data to use for the targets.
- object
Client certificate to present when doing client-authentication.
- object
ConfigMap containing data to use for the targets.
- object
Secret containing data to use for the targets.
- object
Secret containing the client key file for the targets.
- array of objects
List of OpsGenie configurations.
OpsGenieConfig configures notifications via OpsGenie. See https://prometheus.io/docs/alerting/latest/configuration/#opsgenie_config
- object
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.
- array of objects
A set of arbitrary key/value pairs that provide further detail about the incident.
KeyValue defines a (key, value) tuple.
- object
Authorization header configuration for the client. This is mutually exclusive with BasicAuth and is only available starting from Alertmanager v0.22+.
- object
Selects a key of a Secret in the namespace that contains the credentials for authentication.
- string
Required value
The key of the secret to select from. Must be a valid secret key.
- string
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?
- boolean
Specify whether the Secret or its key must be defined
- string
Defines the authentication type. The value is case-insensitive. “Basic” is not a supported value. Default: “Bearer”
- object
BasicAuth for the client. This is mutually exclusive with Authorization. If both are defined, BasicAuth takes precedence.
- object
The secret in the service monitor namespace that contains the password for authentication.
- object
The secret in the service monitor namespace that contains the username for authentication.
- object
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.
- object
OAuth2 client credentials used to fetch a token for the targets.
- object
Required value
The secret or configmap containing the OAuth2 client id
- object
ConfigMap containing data to use for the targets.
- object
Secret containing data to use for the targets.
- object
Required value
The secret containing the OAuth2 client secret
- object
Certificate authority used when verifying server certificates.
- object
ConfigMap containing data to use for the targets.
- object
Secret containing data to use for the targets.
- object
Client certificate to present when doing client-authentication.
- object
ConfigMap containing data to use for the targets.
- object
Secret containing data to use for the targets.
- object
Secret containing the client key file for the targets.
- array of objects
List of responders responsible for notifications.
OpsGenieConfigResponder defines a responder to an incident. One of
id
,name
orusername
has to be defined. - string
Comma separated list of tags attached to the notifications.
- array of objects
List of PagerDuty configurations.
PagerDutyConfig configures notifications via PagerDuty. See https://prometheus.io/docs/alerting/latest/configuration/#pagerduty_config
- array of objects
Arbitrary key/value pairs that provide further detail about the incident.
KeyValue defines a (key, value) tuple.
- object
Authorization header configuration for the client. This is mutually exclusive with BasicAuth and is only available starting from Alertmanager v0.22+.
- object
Selects a key of a Secret in the namespace that contains the credentials for authentication.
- string
Required value
The key of the secret to select from. Must be a valid secret key.
- string
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?
- boolean
Specify whether the Secret or its key must be defined
- string
Defines the authentication type. The value is case-insensitive. “Basic” is not a supported value. Default: “Bearer”
- object
BasicAuth for the client. This is mutually exclusive with Authorization. If both are defined, BasicAuth takes precedence.
- object
The secret in the service monitor namespace that contains the password for authentication.
- object
The secret in the service monitor namespace that contains the username for authentication.
- object
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.
- object
OAuth2 client credentials used to fetch a token for the targets.
- object
Required value
The secret or configmap containing the OAuth2 client id
- object
ConfigMap containing data to use for the targets.
- object
Secret containing data to use for the targets.
- object
Required value
The secret containing the OAuth2 client secret
- object
Certificate authority used when verifying server certificates.
- object
ConfigMap containing data to use for the targets.
- object
Secret containing data to use for the targets.
- object
Client certificate to present when doing client-authentication.
- object
ConfigMap containing data to use for the targets.
- object
Secret containing data to use for the targets.
- object
Secret containing the client key file for the targets.
- array of objects
A list of image details to attach that provide further detail about an incident.
PagerDutyImageConfig attaches images to an incident
- array of objects
A list of link details to attach that provide further detail about an incident.
PagerDutyLinkConfig attaches text links to an incident
- object
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. - object
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.
- array of objects
List of Pushover configurations.
PushoverConfig configures notifications via Pushover. See https://prometheus.io/docs/alerting/latest/configuration/#pushover_config
- object
Authorization header configuration for the client. This is mutually exclusive with BasicAuth and is only available starting from Alertmanager v0.22+.
- object
Selects a key of a Secret in the namespace that contains the credentials for authentication.
- string
Required value
The key of the secret to select from. Must be a valid secret key.
- string
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?
- boolean
Specify whether the Secret or its key must be defined
- string
Defines the authentication type. The value is case-insensitive. “Basic” is not a supported value. Default: “Bearer”
- object
BasicAuth for the client. This is mutually exclusive with Authorization. If both are defined, BasicAuth takes precedence.
- object
The secret in the service monitor namespace that contains the password for authentication.
- object
The secret in the service monitor namespace that contains the username for authentication.
- object
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.
- object
OAuth2 client credentials used to fetch a token for the targets.
- object
Required value
The secret or configmap containing the OAuth2 client id
- object
ConfigMap containing data to use for the targets.
- object
Secret containing data to use for the targets.
- object
Required value
The secret containing the OAuth2 client secret
- object
Certificate authority used when verifying server certificates.
- object
ConfigMap containing data to use for the targets.
- object
Secret containing data to use for the targets.
- object
Client certificate to present when doing client-authentication.
- object
ConfigMap containing data to use for the targets.
- object
Secret containing data to use for the targets.
- object
Secret containing the client key file for the targets.
- object
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.
- object
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.
- array of objects
List of Slack configurations.
SlackConfig configures notifications via Slack. See https://prometheus.io/docs/alerting/latest/configuration/#slack_config
- array of objects
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.
- object
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.
- object
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.
- array of objects
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.
- string
- object
Authorization header configuration for the client. This is mutually exclusive with BasicAuth and is only available starting from Alertmanager v0.22+.
- object
Selects a key of a Secret in the namespace that contains the credentials for authentication.
- string
Required value
The key of the secret to select from. Must be a valid secret key.
- string
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?
- boolean
Specify whether the Secret or its key must be defined
- string
Defines the authentication type. The value is case-insensitive. “Basic” is not a supported value. Default: “Bearer”
- object
BasicAuth for the client. This is mutually exclusive with Authorization. If both are defined, BasicAuth takes precedence.
- object
The secret in the service monitor namespace that contains the password for authentication.
- object
The secret in the service monitor namespace that contains the username for authentication.
- object
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.
- object
OAuth2 client credentials used to fetch a token for the targets.
- object
Required value
The secret or configmap containing the OAuth2 client id
- object
ConfigMap containing data to use for the targets.
- object
Secret containing data to use for the targets.
- object
Required value
The secret containing the OAuth2 client secret
- object
Certificate authority used when verifying server certificates.
- object
ConfigMap containing data to use for the targets.
- object
Secret containing data to use for the targets.
- object
Client certificate to present when doing client-authentication.
- object
ConfigMap containing data to use for the targets.
- object
Secret containing data to use for the targets.
- object
Secret containing the client key file for the targets.
- array of objects
List of SNS configurations
SNSConfig configures notifications via AWS SNS. See https://prometheus.io/docs/alerting/latest/configuration/#sns_configs
- object
Authorization header configuration for the client. This is mutually exclusive with BasicAuth and is only available starting from Alertmanager v0.22+.
- object
Selects a key of a Secret in the namespace that contains the credentials for authentication.
- string
Required value
The key of the secret to select from. Must be a valid secret key.
- string
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?
- boolean
Specify whether the Secret or its key must be defined
- string
Defines the authentication type. The value is case-insensitive. “Basic” is not a supported value. Default: “Bearer”
- object
BasicAuth for the client. This is mutually exclusive with Authorization. If both are defined, BasicAuth takes precedence.
- object
The secret in the service monitor namespace that contains the password for authentication.
- object
The secret in the service monitor namespace that contains the username for authentication.
- object
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.
- object
OAuth2 client credentials used to fetch a token for the targets.
- object
Required value
The secret or configmap containing the OAuth2 client id
- object
ConfigMap containing data to use for the targets.
- object
Secret containing data to use for the targets.
- object
Required value
The secret containing the OAuth2 client secret
- object
Certificate authority used when verifying server certificates.
- object
ConfigMap containing data to use for the targets.
- object
Secret containing data to use for the targets.
- object
Client certificate to present when doing client-authentication.
- object
ConfigMap containing data to use for the targets.
- object
Secret containing data to use for the targets.
- object
Secret containing the client key file for the targets.
- object
Configures AWS’s Signature Verification 4 signing process to sign requests.
- object
AccessKey is the AWS API key. If not specified, the environment variable
AWS_ACCESS_KEY_ID
is used. - object
SecretKey is the AWS API secret. If not specified, the environment variable
AWS_SECRET_ACCESS_KEY
is used.
- array of objects
List of Telegram configurations.
TelegramConfig configures notifications via Telegram. See https://prometheus.io/docs/alerting/latest/configuration/#telegram_config
- object
Telegram bot token. It is mutually exclusive with
botTokenFile
. The secret needs to be in the same namespace as the AlertmanagerConfig object and accessible by the Prometheus Operator. EitherbotToken
orbotTokenFile
is required. - object
Authorization header configuration for the client. This is mutually exclusive with BasicAuth and is only available starting from Alertmanager v0.22+.
- object
Selects a key of a Secret in the namespace that contains the credentials for authentication.
- string
Required value
The key of the secret to select from. Must be a valid secret key.
- string
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?
- boolean
Specify whether the Secret or its key must be defined
- string
Defines the authentication type. The value is case-insensitive. “Basic” is not a supported value. Default: “Bearer”
- object
BasicAuth for the client. This is mutually exclusive with Authorization. If both are defined, BasicAuth takes precedence.
- object
The secret in the service monitor namespace that contains the password for authentication.
- object
The secret in the service monitor namespace that contains the username for authentication.
- object
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.
- object
OAuth2 client credentials used to fetch a token for the targets.
- object
Required value
The secret or configmap containing the OAuth2 client id
- object
ConfigMap containing data to use for the targets.
- object
Secret containing data to use for the targets.
- object
Required value
The secret containing the OAuth2 client secret
- object
Certificate authority used when verifying server certificates.
- object
ConfigMap containing data to use for the targets.
- object
Secret containing data to use for the targets.
- object
Client certificate to present when doing client-authentication.
- object
ConfigMap containing data to use for the targets.
- object
Secret containing data to use for the targets.
- object
Secret containing the client key file for the targets.
- array of objects
List of VictorOps configurations.
VictorOpsConfig configures notifications via VictorOps. See https://prometheus.io/docs/alerting/latest/configuration/#victorops_config
- object
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.
- array of objects
Additional custom fields for notification.
KeyValue defines a (key, value) tuple.
- object
Authorization header configuration for the client. This is mutually exclusive with BasicAuth and is only available starting from Alertmanager v0.22+.
- object
Selects a key of a Secret in the namespace that contains the credentials for authentication.
- string
Required value
The key of the secret to select from. Must be a valid secret key.
- string
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?
- boolean
Specify whether the Secret or its key must be defined
- string
Defines the authentication type. The value is case-insensitive. “Basic” is not a supported value. Default: “Bearer”
- object
BasicAuth for the client. This is mutually exclusive with Authorization. If both are defined, BasicAuth takes precedence.
- object
The secret in the service monitor namespace that contains the password for authentication.
- object
The secret in the service monitor namespace that contains the username for authentication.
- object
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.
- object
OAuth2 client credentials used to fetch a token for the targets.
- object
Required value
The secret or configmap containing the OAuth2 client id
- object
ConfigMap containing data to use for the targets.
- object
Secret containing data to use for the targets.
- object
Required value
The secret containing the OAuth2 client secret
- object
Certificate authority used when verifying server certificates.
- object
ConfigMap containing data to use for the targets.
- object
Secret containing data to use for the targets.
- object
Client certificate to present when doing client-authentication.
- object
ConfigMap containing data to use for the targets.
- object
Secret containing data to use for the targets.
- object
Secret containing the client key file for the targets.
- array of objects
List of Webex configurations.
WebexConfig configures notification via Cisco Webex See https://prometheus.io/docs/alerting/latest/configuration/#webex_config
- object
The HTTP client’s configuration. You must supply the bot token via the
httpConfig.authorization
field.- object
Authorization header configuration for the client. This is mutually exclusive with BasicAuth and is only available starting from Alertmanager v0.22+.
- object
Selects a key of a Secret in the namespace that contains the credentials for authentication.
- string
Required value
The key of the secret to select from. Must be a valid secret key.
- string
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?
- boolean
Specify whether the Secret or its key must be defined
- string
Defines the authentication type. The value is case-insensitive. “Basic” is not a supported value. Default: “Bearer”
- object
BasicAuth for the client. This is mutually exclusive with Authorization. If both are defined, BasicAuth takes precedence.
- object
The secret in the service monitor namespace that contains the password for authentication.
- object
The secret in the service monitor namespace that contains the username for authentication.
- object
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.
- object
OAuth2 client credentials used to fetch a token for the targets.
- object
Required value
The secret or configmap containing the OAuth2 client id
- object
ConfigMap containing data to use for the targets.
- object
Secret containing data to use for the targets.
- object
Required value
The secret containing the OAuth2 client secret
- object
Certificate authority used when verifying server certificates.
- object
ConfigMap containing data to use for the targets.
- object
Secret containing data to use for the targets.
- object
Client certificate to present when doing client-authentication.
- object
ConfigMap containing data to use for the targets.
- object
Secret containing data to use for the targets.
- object
Secret containing the client key file for the targets.
- array of objects
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
- object
Authorization header configuration for the client. This is mutually exclusive with BasicAuth and is only available starting from Alertmanager v0.22+.
- object
Selects a key of a Secret in the namespace that contains the credentials for authentication.
- string
Required value
The key of the secret to select from. Must be a valid secret key.
- string
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?
- boolean
Specify whether the Secret or its key must be defined
- string
Defines the authentication type. The value is case-insensitive. “Basic” is not a supported value. Default: “Bearer”
- object
BasicAuth for the client. This is mutually exclusive with Authorization. If both are defined, BasicAuth takes precedence.
- object
The secret in the service monitor namespace that contains the password for authentication.
- object
The secret in the service monitor namespace that contains the username for authentication.
- object
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.
- object
OAuth2 client credentials used to fetch a token for the targets.
- object
Required value
The secret or configmap containing the OAuth2 client id
- object
ConfigMap containing data to use for the targets.
- object
Secret containing data to use for the targets.
- object
Required value
The secret containing the OAuth2 client secret
- object
Certificate authority used when verifying server certificates.
- object
ConfigMap containing data to use for the targets.
- object
Secret containing data to use for the targets.
- object
Client certificate to present when doing client-authentication.
- object
ConfigMap containing data to use for the targets.
- object
Secret containing data to use for the targets.
- object
Secret containing the client key file for the targets.
- object
The secret’s key that contains the webhook URL to send HTTP requests to.
urlSecret
takes precedence overurl
. One ofurlSecret
andurl
should be defined. The secret needs to be in the same namespace as the AlertmanagerConfig object and accessible by the Prometheus Operator.
- array of objects
List of WeChat configurations.
WeChatConfig configures notifications via WeChat. See https://prometheus.io/docs/alerting/latest/configuration/#wechat_config
- object
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.
- object
Authorization header configuration for the client. This is mutually exclusive with BasicAuth and is only available starting from Alertmanager v0.22+.
- object
Selects a key of a Secret in the namespace that contains the credentials for authentication.
- string
Required value
The key of the secret to select from. Must be a valid secret key.
- string
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?
- boolean
Specify whether the Secret or its key must be defined
- string
Defines the authentication type. The value is case-insensitive. “Basic” is not a supported value. Default: “Bearer”
- object
BasicAuth for the client. This is mutually exclusive with Authorization. If both are defined, BasicAuth takes precedence.
- object
The secret in the service monitor namespace that contains the password for authentication.
- object
The secret in the service monitor namespace that contains the username for authentication.
- object
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.
- object
OAuth2 client credentials used to fetch a token for the targets.
- object
Required value
The secret or configmap containing the OAuth2 client id
- object
ConfigMap containing data to use for the targets.
- object
Secret containing data to use for the targets.
- object
Required value
The secret containing the OAuth2 client secret
- object
Certificate authority used when verifying server certificates.
- object
ConfigMap containing data to use for the targets.
- object
Secret containing data to use for the targets.
- object
Client certificate to present when doing client-authentication.
- object
ConfigMap containing data to use for the targets.
- object
Secret containing data to use for the targets.
- object
Secret containing the client key file for the targets.
- object
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.
- array of objects
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 anamespace: <object namespace>
matcher.Matcher defines how to match on alert’s labels.
- array of strings
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 MuteTimeInterval names that will mute this route when matched,