Skip to content
Snippets Groups Projects
0alertmanagerConfigCustomResourceDefinition.yaml 580 KiB
Newer Older
                          sendResolved:
Lili Cosic's avatar
Lili Cosic committed
                            description: Whether or not to notify about resolved alerts.
                            type: boolean
Lili Cosic's avatar
Lili Cosic committed
                          sound:
                            description: The name of one of the sounds supported by device clients to override the user's default sound choice
Lili Cosic's avatar
Lili Cosic committed
                            type: string
                          title:
                            description: Notification title.
                            type: string
                          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.
                              Either `token` or `tokenFile` is required.
Lili Cosic's avatar
Lili Cosic committed
                            properties:
                              key:
                                description: The key of the secret to select from.  Must be a valid secret key.
Lili Cosic's avatar
Lili Cosic committed
                                type: string
                              name:
                                description: |-
                                  Name of the referent.
                                  This field is effectively required, but due to backwards compatibility is
                                  allowed to be empty. Instances of this type with an empty value here are
                                  almost certainly wrong.
                                  More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
Lili Cosic's avatar
Lili Cosic committed
                                type: string
                              optional:
                                description: Specify whether the Secret or its key must be defined
Lili Cosic's avatar
Lili Cosic committed
                                type: boolean
                            required:
                            - key
                            type: object
                            x-kubernetes-map-type: atomic
                            description: |-
                              The token file that contains the registered application's API token, see https://pushover.net/apps.
                              Either `token` or `tokenFile` is required.
                              It requires Alertmanager >= v0.26.0.
                          ttl:
                            description: The time to live definition for the alert notification
                            pattern: ^(0|(([0-9]+)y)?(([0-9]+)w)?(([0-9]+)d)?(([0-9]+)h)?(([0-9]+)m)?(([0-9]+)s)?(([0-9]+)ms)?)$
                            type: string
Lili Cosic's avatar
Lili Cosic committed
                            description: A supplementary URL shown alongside the message.
Lili Cosic's avatar
Lili Cosic committed
                          urlTitle:
                            description: A title for supplementary URL, otherwise just the URL is shown
Lili Cosic's avatar
Lili Cosic committed
                            type: string
                          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.
                              Either `userKey` or `userKeyFile` is required.
                                description: The key of the secret to select from.  Must be a valid secret key.
                                type: string
                              name:
                                description: |-
                                  Name of the referent.
                                  This field is effectively required, but due to backwards compatibility is
                                  allowed to be empty. Instances of this type with an empty value here are
                                  almost certainly wrong.
                                  More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
                                type: string
                              optional:
                                description: Specify whether the Secret or its key must be defined
                                type: boolean
                            required:
                            - key
                            type: object
                            x-kubernetes-map-type: atomic
                            description: |-
                              The user key file that contains the recipient user's user key.
                              Either `userKey` or `userKeyFile` is required.
                              It requires Alertmanager >= v0.26.0.
                        type: object
                      type: array
Lili Cosic's avatar
Lili Cosic committed
                    slackConfigs:
                      description: List of Slack configurations.
                      items:
                        description: |-
                          SlackConfig configures notifications via Slack.
                          See https://prometheus.io/docs/alerting/latest/configuration/#slack_config
Lili Cosic's avatar
Lili Cosic committed
                        properties:
                          actions:
                            description: A list of Slack actions that are sent with each notification.
Lili Cosic's avatar
Lili Cosic committed
                            items:
                              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.
Lili Cosic's avatar
Lili Cosic committed
                              properties:
                                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.
Lili Cosic's avatar
Lili Cosic committed
                                  properties:
                                    dismissText:
                                      type: string
                                    okText:
                                      type: string
                                    text:
paulfantom's avatar
paulfantom committed
                                      minLength: 1
Lili Cosic's avatar
Lili Cosic committed
                                      type: string
                                    title:
                                      type: string
                                  required:
                                  - text
                                  type: object
                                name:
                                  type: string
                                style:
                                  type: string
                                text:
paulfantom's avatar
paulfantom committed
                                  minLength: 1
Lili Cosic's avatar
Lili Cosic committed
                                  type: string
                                type:
paulfantom's avatar
paulfantom committed
                                  minLength: 1
Lili Cosic's avatar
Lili Cosic committed
                                  type: string
                                url:
                                  type: string
                                value:
                                  type: string
                              required:
                              - text
                              - type
                              type: object
                            type: array
                          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.
Lili Cosic's avatar
Lili Cosic committed
                            properties:
                              key:
                                description: The key of the secret to select from.  Must be a valid secret key.
Lili Cosic's avatar
Lili Cosic committed
                                type: string
                              name:
                                description: |-
                                  Name of the referent.
                                  This field is effectively required, but due to backwards compatibility is
                                  allowed to be empty. Instances of this type with an empty value here are
                                  almost certainly wrong.
                                  More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
Lili Cosic's avatar
Lili Cosic committed
                                type: string
                              optional:
                                description: Specify whether the Secret or its key must be defined
Lili Cosic's avatar
Lili Cosic committed
                                type: boolean
                            required:
                            - key
                            type: object
                            x-kubernetes-map-type: atomic
Lili Cosic's avatar
Lili Cosic committed
                          callbackId:
                            type: string
                          channel:
                            description: The channel or user to send notifications to.
Lili Cosic's avatar
Lili Cosic committed
                            type: string
                          color:
                            type: string
                          fallback:
                            type: string
                          fields:
                            description: A list of Slack fields that are sent with each notification.
Lili Cosic's avatar
Lili Cosic committed
                            items:
                              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.
Lili Cosic's avatar
Lili Cosic committed
                              properties:
                                short:
                                  type: boolean
                                title:
paulfantom's avatar
paulfantom committed
                                  minLength: 1
Lili Cosic's avatar
Lili Cosic committed
                                  type: string
                                value:
paulfantom's avatar
paulfantom committed
                                  minLength: 1
Lili Cosic's avatar
Lili Cosic committed
                                  type: string
                              required:
                              - title
                              - value
                              type: object
                            type: array
                          footer:
                            type: string
                          httpConfig:
                            description: HTTP client configuration.
                            properties:
                              authorization:
                                description: |-
                                  Authorization header configuration for the client.
                                  This is mutually exclusive with BasicAuth and is only available starting from Alertmanager v0.22+.
                                properties:
                                  credentials:
                                    description: Selects a key of a Secret in the namespace that contains the credentials for authentication.
                                    properties:
                                      key:
                                        description: The key of the secret to select from.  Must be a valid secret key.
                                        type: string
                                      name:
                                        description: |-
                                          Name of the referent.
                                          This field is effectively required, but due to backwards compatibility is
                                          allowed to be empty. Instances of this type with an empty value here are
                                          almost certainly wrong.
                                          More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
                                        type: string
                                      optional:
                                        description: Specify whether the Secret or its key must be defined
                                        type: boolean
                                    required:
                                    - key
                                    type: object
                                    x-kubernetes-map-type: atomic
                                    description: |-
                                      Defines the authentication type. The value is case-insensitive.

                                      "Basic" is not a supported value.

                                      Default: "Bearer"
                                    type: string
                                type: object
Lili Cosic's avatar
Lili Cosic committed
                              basicAuth:
                                description: |-
                                  BasicAuth for the client.
                                  This is mutually exclusive with Authorization. If both are defined, BasicAuth takes precedence.
Lili Cosic's avatar
Lili Cosic committed
                                properties:
                                  password:
                                    description: |-
                                      `password` specifies a key of a Secret containing the password for
                                      authentication.
Lili Cosic's avatar
Lili Cosic committed
                                    properties:
                                      key:
                                        description: The key of the secret to select from.  Must be a valid secret key.
Lili Cosic's avatar
Lili Cosic committed
                                        type: string
                                      name:
                                        description: |-
                                          Name of the referent.
                                          This field is effectively required, but due to backwards compatibility is
                                          allowed to be empty. Instances of this type with an empty value here are
                                          almost certainly wrong.
                                          More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
Lili Cosic's avatar
Lili Cosic committed
                                        type: string
                                      optional:
                                        description: Specify whether the Secret or its key must be defined
Lili Cosic's avatar
Lili Cosic committed
                                        type: boolean
                                    required:
                                    - key
                                    type: object
                                    x-kubernetes-map-type: atomic
Lili Cosic's avatar
Lili Cosic committed
                                  username:
                                    description: |-
                                      `username` specifies a key of a Secret containing the username for
                                      authentication.
Lili Cosic's avatar
Lili Cosic committed
                                    properties:
                                      key:
                                        description: The key of the secret to select from.  Must be a valid secret key.
Lili Cosic's avatar
Lili Cosic committed
                                        type: string
                                      name:
                                        description: |-
                                          Name of the referent.
                                          This field is effectively required, but due to backwards compatibility is
                                          allowed to be empty. Instances of this type with an empty value here are
                                          almost certainly wrong.
                                          More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
Lili Cosic's avatar
Lili Cosic committed
                                        type: string
                                      optional:
                                        description: Specify whether the Secret or its key must be defined
Lili Cosic's avatar
Lili Cosic committed
                                        type: boolean
                                    required:
                                    - key
                                    type: object
                                    x-kubernetes-map-type: atomic
Lili Cosic's avatar
Lili Cosic committed
                                type: object
                              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.
Lili Cosic's avatar
Lili Cosic committed
                                properties:
                                  key:
                                    description: The key of the secret to select from.  Must be a valid secret key.
Lili Cosic's avatar
Lili Cosic committed
                                    type: string
                                  name:
                                    description: |-
                                      Name of the referent.
                                      This field is effectively required, but due to backwards compatibility is
                                      allowed to be empty. Instances of this type with an empty value here are
                                      almost certainly wrong.
                                      More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
Lili Cosic's avatar
Lili Cosic committed
                                    type: string
                                  optional:
                                    description: Specify whether the Secret or its key must be defined
Lili Cosic's avatar
Lili Cosic committed
                                    type: boolean
                                required:
                                - key
                                type: object
                                x-kubernetes-map-type: atomic
                                description: FollowRedirects specifies whether the client should follow HTTP 3xx redirects.
                              noProxy:
                                description: |-
                                  `noProxy` is a comma-separated string that can contain IPs, CIDR notation, domain names
                                  that should be excluded from proxying. IP and domain names can
                                  contain port numbers.

                                  It requires Prometheus >= v2.43.0 or Alertmanager >= 0.25.0.
                                type: string
                                description: OAuth2 client credentials used to fetch a token for the targets.
Lili Cosic's avatar
Lili Cosic committed
                                properties:
                                    description: |-
                                      `clientId` specifies a key of a Secret or ConfigMap containing the
                                      OAuth2 client's ID.
Lili Cosic's avatar
Lili Cosic committed
                                    properties:
                                      configMap:
                                        description: ConfigMap containing data to use for the targets.
Lili Cosic's avatar
Lili Cosic committed
                                        properties:
                                          key:
                                            description: The key to select.
                                            type: string
                                          name:
                                            description: |-
                                              Name of the referent.
                                              This field is effectively required, but due to backwards compatibility is
                                              allowed to be empty. Instances of this type with an empty value here are
                                              almost certainly wrong.
                                              More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
Lili Cosic's avatar
Lili Cosic committed
                                            type: string
                                          optional:
                                            description: Specify whether the ConfigMap or its key must be defined
Lili Cosic's avatar
Lili Cosic committed
                                            type: boolean
                                        required:
                                        - key
                                        type: object
                                        x-kubernetes-map-type: atomic
Lili Cosic's avatar
Lili Cosic committed
                                      secret:
                                        description: Secret containing data to use for the targets.
Lili Cosic's avatar
Lili Cosic committed
                                        properties:
                                          key:
                                            description: The key of the secret to select from.  Must be a valid secret key.
Lili Cosic's avatar
Lili Cosic committed
                                            type: string
                                          name:
                                            description: |-
                                              Name of the referent.
                                              This field is effectively required, but due to backwards compatibility is
                                              allowed to be empty. Instances of this type with an empty value here are
                                              almost certainly wrong.
                                              More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
Lili Cosic's avatar
Lili Cosic committed
                                            type: string
                                          optional:
                                            description: Specify whether the Secret or its key must be defined
Lili Cosic's avatar
Lili Cosic committed
                                            type: boolean
                                        required:
                                        - key
                                        type: object
                                        x-kubernetes-map-type: atomic
Lili Cosic's avatar
Lili Cosic committed
                                    type: object
                                    description: |-
                                      `clientSecret` specifies a key of a Secret containing the OAuth2
                                      client's secret.
                                        description: The key of the secret to select from.  Must be a valid secret key.
                                        description: |-
                                          Name of the referent.
                                          This field is effectively required, but due to backwards compatibility is
                                          allowed to be empty. Instances of this type with an empty value here are
                                          almost certainly wrong.
                                          More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
                                        description: Specify whether the Secret or its key must be defined
                                        type: boolean
                                    required:
                                    - key
                                    type: object
                                    x-kubernetes-map-type: atomic
                                  endpointParams:
                                    additionalProperties:
                                      type: string
                                    description: |-
                                      `endpointParams` configures the HTTP parameters to append to the token
                                      URL.
                                  noProxy:
                                    description: |-
                                      `noProxy` is a comma-separated string that can contain IPs, CIDR notation, domain names
                                      that should be excluded from proxying. IP and domain names can
                                      contain port numbers.

                                      It requires Prometheus >= v2.43.0 or Alertmanager >= 0.25.0.
                                    type: string
                                  proxyConnectHeader:
                                    additionalProperties:
                                      items:
                                        description: SecretKeySelector selects a key of a Secret.
                                        properties:
                                          key:
                                            description: The key of the secret to select from.  Must be a valid secret key.
                                            type: string
                                          name:
                                            default: ""
                                            description: |-
                                              Name of the referent.
                                              This field is effectively required, but due to backwards compatibility is
                                              allowed to be empty. Instances of this type with an empty value here are
                                              almost certainly wrong.
                                              More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
                                            type: string
                                          optional:
                                            description: Specify whether the Secret or its key must be defined
                                            type: boolean
                                        required:
                                        - key
                                        type: object
                                        x-kubernetes-map-type: atomic
                                      type: array
                                    description: |-
                                      ProxyConnectHeader optionally specifies headers to send to
                                      proxies during CONNECT requests.

                                      It requires Prometheus >= v2.43.0 or Alertmanager >= 0.25.0.
                                    type: object
                                    x-kubernetes-map-type: atomic
                                  proxyFromEnvironment:
                                    description: |-
                                      Whether to use the proxy configuration defined by environment variables (HTTP_PROXY, HTTPS_PROXY, and NO_PROXY).

                                      It requires Prometheus >= v2.43.0 or Alertmanager >= 0.25.0.
                                    description: '`proxyURL` defines the HTTP proxy server to use.'
                                    pattern: ^http(s)?://.+$
                                    type: string
                                    description: '`scopes` defines the OAuth2 scopes used for the token request.'
                                    items:
                                      type: string
                                    type: array
                                  tlsConfig:
                                    description: |-
                                      TLS configuration to use when connecting to the OAuth2 server.
                                      It requires Prometheus >= v2.43.0.
                                    properties:
                                      ca:
                                        description: Certificate authority used when verifying server certificates.
                                        properties:
                                          configMap:
                                            description: ConfigMap containing data to use for the targets.
                                            properties:
                                              key:
                                                description: The key to select.
                                                type: string
                                              name:
                                                default: ""
                                                description: |-
                                                  Name of the referent.
                                                  This field is effectively required, but due to backwards compatibility is
                                                  allowed to be empty. Instances of this type with an empty value here are
                                                  almost certainly wrong.
                                                  More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
                                                type: string
                                              optional:
                                                description: Specify whether the ConfigMap or its key must be defined
                                                type: boolean
                                            required:
                                            - key
                                            type: object
                                            x-kubernetes-map-type: atomic
                                          secret:
                                            description: Secret containing data to use for the targets.
                                            properties:
                                              key:
                                                description: The key of the secret to select from.  Must be a valid secret key.
                                                type: string
                                              name:
                                                default: ""
                                                description: |-
                                                  Name of the referent.
                                                  This field is effectively required, but due to backwards compatibility is
                                                  allowed to be empty. Instances of this type with an empty value here are
                                                  almost certainly wrong.
                                                  More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
                                                type: string
                                              optional:
                                                description: Specify whether the Secret or its key must be defined
                                                type: boolean
                                            required:
                                            - key
                                            type: object
                                            x-kubernetes-map-type: atomic
                                        type: object
                                      cert:
                                        description: Client certificate to present when doing client-authentication.
                                        properties:
                                          configMap:
                                            description: ConfigMap containing data to use for the targets.
                                            properties:
                                              key:
                                                description: The key to select.
                                                type: string
                                              name:
                                                default: ""
                                                description: |-
                                                  Name of the referent.
                                                  This field is effectively required, but due to backwards compatibility is
                                                  allowed to be empty. Instances of this type with an empty value here are
                                                  almost certainly wrong.
                                                  More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
                                                type: string
                                              optional:
                                                description: Specify whether the ConfigMap or its key must be defined
                                                type: boolean
                                            required:
                                            - key
                                            type: object
                                            x-kubernetes-map-type: atomic
                                          secret:
                                            description: Secret containing data to use for the targets.
                                            properties:
                                              key:
                                                description: The key of the secret to select from.  Must be a valid secret key.
                                                type: string
                                              name:
                                                default: ""
                                                description: |-
                                                  Name of the referent.
                                                  This field is effectively required, but due to backwards compatibility is
                                                  allowed to be empty. Instances of this type with an empty value here are
                                                  almost certainly wrong.
                                                  More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
                                                type: string
                                              optional:
                                                description: Specify whether the Secret or its key must be defined
                                                type: boolean
                                            required:
                                            - key
                                            type: object
                                            x-kubernetes-map-type: atomic
                                        type: object
                                      insecureSkipVerify:
                                        description: Disable target certificate validation.
                                        type: boolean
                                      keySecret:
                                        description: Secret containing the client key file for the targets.
                                        properties:
                                          key:
                                            description: The key of the secret to select from.  Must be a valid secret key.
                                            type: string
                                          name:
                                            default: ""
                                            description: |-
                                              Name of the referent.
                                              This field is effectively required, but due to backwards compatibility is
                                              allowed to be empty. Instances of this type with an empty value here are
                                              almost certainly wrong.
                                              More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
                                            type: string
                                          optional:
                                            description: Specify whether the Secret or its key must be defined
                                            type: boolean
                                        required:
                                        - key
                                        type: object
                                        x-kubernetes-map-type: atomic
                                      maxVersion:
                                        description: |-
                                          Maximum acceptable TLS version.

                                          It requires Prometheus >= v2.41.0.
                                        enum:
                                        - TLS10
                                        - TLS11
                                        - TLS12
                                        - TLS13
                                        type: string
                                      minVersion:
                                        description: |-
                                          Minimum acceptable TLS version.

                                          It requires Prometheus >= v2.35.0.
                                        enum:
                                        - TLS10
                                        - TLS11
                                        - TLS12
                                        - TLS13
                                        type: string
                                      serverName:
                                        description: Used to verify the hostname for the targets.
                                        type: string
                                    type: object
                                    description: '`tokenURL` configures the URL to fetch the token from.'
                                    minLength: 1
                                    type: string
                                required:
                                - clientId
                                - clientSecret
                                - tokenUrl
                                type: object
                              proxyConnectHeader:
                                additionalProperties:
                                  items:
                                    description: SecretKeySelector selects a key of a Secret.
Lili Cosic's avatar
Lili Cosic committed
                                    properties:
                                      key:
                                        description: The key of the secret to select from.  Must be a valid secret key.
                                        type: string
                                      name:
                                        default: ""
                                        description: |-
                                          Name of the referent.
                                          This field is effectively required, but due to backwards compatibility is
                                          allowed to be empty. Instances of this type with an empty value here are
                                          almost certainly wrong.
                                          More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
                                        type: string
                                      optional:
                                        description: Specify whether the Secret or its key must be defined
                                        type: boolean
                                    required:
                                    - key
                                    type: object
                                    x-kubernetes-map-type: atomic
                                  type: array
                                description: |-
                                  ProxyConnectHeader optionally specifies headers to send to
                                  proxies during CONNECT requests.

                                  It requires Prometheus >= v2.43.0 or Alertmanager >= 0.25.0.
                                type: object
                                x-kubernetes-map-type: atomic
                              proxyFromEnvironment:
                                description: |-
                                  Whether to use the proxy configuration defined by environment variables (HTTP_PROXY, HTTPS_PROXY, and NO_PROXY).

                                  It requires Prometheus >= v2.43.0 or Alertmanager >= 0.25.0.
                                type: boolean
                              proxyURL:
                                description: |-
                                  Optional proxy URL.

                                  If defined, this field takes precedence over `proxyUrl`.
                                type: string
                              proxyUrl:
                                description: '`proxyURL` defines the HTTP proxy server to use.'
                                pattern: ^http(s)?://.+$
                                type: string
                              tlsConfig:
                                description: TLS configuration for the client.
                                properties:
                                  ca:
                                    description: Certificate authority used when verifying server certificates.
                                    properties:
                                      configMap:
                                        description: ConfigMap containing data to use for the targets.
Lili Cosic's avatar
Lili Cosic committed
                                        properties:
                                          key:
                                            description: The key to select.
                                            type: string
                                          name:
                                            description: |-
                                              Name of the referent.
                                              This field is effectively required, but due to backwards compatibility is
                                              allowed to be empty. Instances of this type with an empty value here are
                                              almost certainly wrong.
                                              More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
Lili Cosic's avatar
Lili Cosic committed
                                            type: string
                                          optional:
                                            description: Specify whether the ConfigMap or its key must be defined
Lili Cosic's avatar
Lili Cosic committed
                                            type: boolean
                                        required:
                                        - key
                                        type: object
                                        x-kubernetes-map-type: atomic
Lili Cosic's avatar
Lili Cosic committed
                                      secret:
                                        description: Secret containing data to use for the targets.
Lili Cosic's avatar
Lili Cosic committed
                                        properties:
                                          key:
                                            description: The key of the secret to select from.  Must be a valid secret key.
Lili Cosic's avatar
Lili Cosic committed
                                            type: string
                                          name:
                                            description: |-
                                              Name of the referent.
                                              This field is effectively required, but due to backwards compatibility is
                                              allowed to be empty. Instances of this type with an empty value here are
                                              almost certainly wrong.
                                              More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
Lili Cosic's avatar
Lili Cosic committed
                                            type: string
                                          optional:
                                            description: Specify whether the Secret or its key must be defined
Lili Cosic's avatar
Lili Cosic committed
                                            type: boolean
                                        required:
                                        - key
                                        type: object
                                        x-kubernetes-map-type: atomic
Lili Cosic's avatar
Lili Cosic committed
                                    type: object
                                    description: Client certificate to present when doing client-authentication.
                                        description: ConfigMap containing data to use for the targets.
                                        properties:
                                          key:
                                            description: The key to select.
                                            type: string
                                          name:
                                            description: |-
                                              Name of the referent.
                                              This field is effectively required, but due to backwards compatibility is
                                              allowed to be empty. Instances of this type with an empty value here are
                                              almost certainly wrong.
                                              More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
                                            description: Specify whether the ConfigMap or its key must be defined
                                            type: boolean
                                        required:
                                        - key
                                        type: object
                                        x-kubernetes-map-type: atomic
                                        description: Secret containing data to use for the targets.
                                            description: The key of the secret to select from.  Must be a valid secret key.
                                            description: |-
                                              Name of the referent.
                                              This field is effectively required, but due to backwards compatibility is
                                              allowed to be empty. Instances of this type with an empty value here are
                                              almost certainly wrong.
                                              More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
                                            description: Specify whether the Secret or its key must be defined
                                            type: boolean
                                        required:
                                        - key
                                        type: object
                                        x-kubernetes-map-type: atomic
                                    type: object
                                  insecureSkipVerify:
Lili Cosic's avatar
Lili Cosic committed
                                    description: Disable target certificate validation.
                                    type: boolean
                                  keySecret:
                                    description: Secret containing the client key file for the targets.
Lili Cosic's avatar
Lili Cosic committed
                                    properties:
                                      key:
                                        description: The key of the secret to select from.  Must be a valid secret key.
Lili Cosic's avatar
Lili Cosic committed
                                        type: string
                                      name:
                                        description: |-
                                          Name of the referent.
                                          This field is effectively required, but due to backwards compatibility is
                                          allowed to be empty. Instances of this type with an empty value here are
                                          almost certainly wrong.
                                          More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
Lili Cosic's avatar
Lili Cosic committed
                                        type: string
                                      optional:
                                        description: Specify whether the Secret or its key must be defined
Lili Cosic's avatar
Lili Cosic committed
                                        type: boolean
                                    required:
                                    - key
                                    type: object
                                    x-kubernetes-map-type: atomic
Philip Gough's avatar
Philip Gough committed
                                  maxVersion:
                                    description: |-
                                      Maximum acceptable TLS version.

                                      It requires Prometheus >= v2.41.0.
                                    enum:
                                    - TLS10
                                    - TLS11
                                    - TLS12
                                    - TLS13
                                    type: string
                                  minVersion:
                                    description: |-
                                      Minimum acceptable TLS version.

                                      It requires Prometheus >= v2.35.0.
                                    enum:
                                    - TLS10
                                    - TLS11
                                    - TLS12
                                    - TLS13
                                    type: string
Lili Cosic's avatar
Lili Cosic committed
                                  serverName:
                                    description: Used to verify the hostname for the targets.
Lili Cosic's avatar
Lili Cosic committed
                                    type: string
                                type: object
                            type: object
                          iconEmoji:
                            type: string
                          iconURL:
                            type: string
                          imageURL:
                            type: string
                          linkNames:
                            type: boolean
                          mrkdwnIn:
                            items:
                              type: string
                            type: array
                          pretext:
                            type: string
                          sendResolved:
                            description: Whether or not to notify about resolved alerts.
                            type: boolean
                          shortFields:
                            type: boolean
                          text:
                            type: string
                          thumbURL:
                            type: string
                          title:
                            type: string
                          titleLink:
                            type: string
                          username:
                            type: string
                        type: object
                      type: array
                    snsConfigs:
                      description: List of SNS configurations
                      items:
                        description: |-
                          SNSConfig configures notifications via AWS SNS.
                          See https://prometheus.io/docs/alerting/latest/configuration/#sns_configs
                            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.
                            type: string
                          attributes:
                            additionalProperties:
                              type: string
                            description: SNS message attributes.
                            type: object
                          httpConfig:
                            description: HTTP client configuration.
                            properties:
                              authorization:
                                description: |-
                                  Authorization header configuration for the client.
                                  This is mutually exclusive with BasicAuth and is only available starting from Alertmanager v0.22+.
                                    description: Selects a key of a Secret in the namespace that contains the credentials for authentication.
                                        description: The key of the secret to select from.  Must be a valid secret key.
                                        description: |-
                                          Name of the referent.
                                          This field is effectively required, but due to backwards compatibility is
                                          allowed to be empty. Instances of this type with an empty value here are
                                          almost certainly wrong.
                                          More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
                                        description: Specify whether the Secret or its key must be defined
                                        type: boolean
                                    required:
                                    - key
                                    type: object
                                    x-kubernetes-map-type: atomic
                                    description: |-
                                      Defines the authentication type. The value is case-insensitive.

                                      "Basic" is not a supported value.

                                      Default: "Bearer"
                                    type: string
                                type: object
                              basicAuth:
                                description: |-
                                  BasicAuth for the client.
                                  This is mutually exclusive with Authorization. If both are defined, BasicAuth takes precedence.
                                    description: |-
                                      `password` specifies a key of a Secret containing the password for
                                      authentication.
                                        description: The key of the secret to select from.  Must be a valid secret key.
                                        description: |-
                                          Name of the referent.
                                          This field is effectively required, but due to backwards compatibility is
                                          allowed to be empty. Instances of this type with an empty value here are
                                          almost certainly wrong.
                                          More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
                                        description: Specify whether the Secret or its key must be defined
                                        type: boolean
                                    required:
                                    - key
                                    type: object
                                    x-kubernetes-map-type: atomic
                                    description: |-
                                      `username` specifies a key of a Secret containing the username for
                                      authentication.
                                        description: The key of the secret to select from.  Must be a valid secret key.
                                        description: |-
                                          Name of the referent.
                                          This field is effectively required, but due to backwards compatibility is
                                          allowed to be empty. Instances of this type with an empty value here are
                                          almost certainly wrong.
                                          More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
                                        description: Specify whether the Secret or its key must be defined
                                        type: boolean
                                    required:
                                    - key
                                    type: object
                                    x-kubernetes-map-type: atomic
                                type: object
                              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.
                                    description: The key of the secret to select from.  Must be a valid secret key.
                                    description: |-
                                      Name of the referent.
                                      This field is effectively required, but due to backwards compatibility is
                                      allowed to be empty. Instances of this type with an empty value here are
                                      almost certainly wrong.
                                      More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
                                    description: Specify whether the Secret or its key must be defined
                                    type: boolean
                                required:
                                - key
                                type: object
                                x-kubernetes-map-type: atomic
                                description: FollowRedirects specifies whether the client should follow HTTP 3xx redirects.
                              noProxy:
                                description: |-
                                  `noProxy` is a comma-separated string that can contain IPs, CIDR notation, domain names