|
@@ -1,12 +1,12 @@
|
|
|
# Source: https://raw.githubusercontent.com/prometheus-operator/prometheus-operator/v{version}/example/prometheus-operator-crd/monitoring.coreos.com_alertmanagerconfigs.yaml
|
|
|
-# Version: 0.84.1
|
|
|
+# Version: 0.85.0
|
|
|
---
|
|
|
apiVersion: apiextensions.k8s.io/v1
|
|
|
kind: CustomResourceDefinition
|
|
|
metadata:
|
|
|
annotations:
|
|
|
controller-gen.kubebuilder.io/version: v0.18.0
|
|
|
- operator.prometheus.io/version: 0.84.1
|
|
|
+ operator.prometheus.io/version: 0.85.0
|
|
|
name: alertmanagerconfigs.monitoring.coreos.com
|
|
|
spec:
|
|
|
group: monitoring.coreos.com
|
|
@@ -5243,6 +5243,862 @@ spec:
|
|
|
type: string
|
|
|
type: object
|
|
|
type: array
|
|
|
+ rocketchatConfigs:
|
|
|
+ description: |-
|
|
|
+ List of RocketChat configurations.
|
|
|
+ It requires Alertmanager >= 0.28.0.
|
|
|
+ items:
|
|
|
+ description: |-
|
|
|
+ RocketChatConfig configures notifications via RocketChat.
|
|
|
+ It requires Alertmanager >= 0.28.0.
|
|
|
+ properties:
|
|
|
+ actions:
|
|
|
+ description: Actions to include in the message.
|
|
|
+ items:
|
|
|
+ description: RocketChatActionConfig defines actions
|
|
|
+ for RocketChat messages.
|
|
|
+ properties:
|
|
|
+ msg:
|
|
|
+ description: The message to send when the button
|
|
|
+ is clicked.
|
|
|
+ minLength: 1
|
|
|
+ type: string
|
|
|
+ text:
|
|
|
+ description: The button text.
|
|
|
+ minLength: 1
|
|
|
+ type: string
|
|
|
+ url:
|
|
|
+ description: The URL the button links to.
|
|
|
+ pattern: ^https?://.+$
|
|
|
+ type: string
|
|
|
+ type: object
|
|
|
+ minItems: 1
|
|
|
+ type: array
|
|
|
+ apiURL:
|
|
|
+ description: |-
|
|
|
+ The API URL for RocketChat.
|
|
|
+ Defaults to https://open.rocket.chat/ if not specified.
|
|
|
+ pattern: ^https?://.+$
|
|
|
+ type: string
|
|
|
+ channel:
|
|
|
+ description: The channel to send alerts to.
|
|
|
+ minLength: 1
|
|
|
+ type: string
|
|
|
+ color:
|
|
|
+ description: The message color.
|
|
|
+ minLength: 1
|
|
|
+ type: string
|
|
|
+ emoji:
|
|
|
+ description: If provided, the avatar will be displayed
|
|
|
+ as an emoji.
|
|
|
+ minLength: 1
|
|
|
+ type: string
|
|
|
+ fields:
|
|
|
+ description: Additional fields for the message.
|
|
|
+ items:
|
|
|
+ description: RocketChatFieldConfig defines additional
|
|
|
+ fields for RocketChat messages.
|
|
|
+ properties:
|
|
|
+ short:
|
|
|
+ description: Whether this field should be a short
|
|
|
+ field.
|
|
|
+ type: boolean
|
|
|
+ title:
|
|
|
+ description: The title of this field.
|
|
|
+ minLength: 1
|
|
|
+ type: string
|
|
|
+ value:
|
|
|
+ description: The value of this field, displayed
|
|
|
+ underneath the title value.
|
|
|
+ minLength: 1
|
|
|
+ type: string
|
|
|
+ type: object
|
|
|
+ minItems: 1
|
|
|
+ type: array
|
|
|
+ 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:
|
|
|
+ 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:
|
|
|
+ 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.
|
|
|
+ properties:
|
|
|
+ password:
|
|
|
+ description: |-
|
|
|
+ `password` specifies a key of a Secret containing the password for
|
|
|
+ authentication.
|
|
|
+ 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
|
|
|
+ username:
|
|
|
+ description: |-
|
|
|
+ `username` specifies a key of a Secret containing the username for
|
|
|
+ authentication.
|
|
|
+ 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
|
|
|
+ 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.
|
|
|
+ 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
|
|
|
+ followRedirects:
|
|
|
+ description: FollowRedirects specifies whether the
|
|
|
+ client should follow HTTP 3xx redirects.
|
|
|
+ type: boolean
|
|
|
+ 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, Alertmanager >= v0.25.0 or Thanos >= v0.32.0.
|
|
|
+ type: string
|
|
|
+ oauth2:
|
|
|
+ description: OAuth2 client credentials used to fetch
|
|
|
+ a token for the targets.
|
|
|
+ properties:
|
|
|
+ clientId:
|
|
|
+ description: |-
|
|
|
+ `clientId` specifies a key of a Secret or ConfigMap containing the
|
|
|
+ OAuth2 client's ID.
|
|
|
+ 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
|
|
|
+ clientSecret:
|
|
|
+ description: |-
|
|
|
+ `clientSecret` specifies a key of a Secret containing the OAuth2
|
|
|
+ client's 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
|
|
|
+ endpointParams:
|
|
|
+ additionalProperties:
|
|
|
+ type: string
|
|
|
+ description: |-
|
|
|
+ `endpointParams` configures the HTTP parameters to append to the token
|
|
|
+ URL.
|
|
|
+ type: object
|
|
|
+ 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, Alertmanager >= v0.25.0 or Thanos >= v0.32.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, Alertmanager >= v0.25.0 or Thanos >= v0.32.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, Alertmanager >= v0.25.0 or Thanos >= v0.32.0.
|
|
|
+ type: boolean
|
|
|
+ proxyUrl:
|
|
|
+ description: '`proxyURL` defines the HTTP proxy
|
|
|
+ server to use.'
|
|
|
+ pattern: ^(http|https|socks5)://.+$
|
|
|
+ type: string
|
|
|
+ scopes:
|
|
|
+ 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 or Thanos >= v0.31.0.
|
|
|
+ enum:
|
|
|
+ - TLS10
|
|
|
+ - TLS11
|
|
|
+ - TLS12
|
|
|
+ - TLS13
|
|
|
+ type: string
|
|
|
+ minVersion:
|
|
|
+ description: |-
|
|
|
+ Minimum acceptable TLS version.
|
|
|
+
|
|
|
+ It requires Prometheus >= v2.35.0 or Thanos >= v0.28.0.
|
|
|
+ enum:
|
|
|
+ - TLS10
|
|
|
+ - TLS11
|
|
|
+ - TLS12
|
|
|
+ - TLS13
|
|
|
+ type: string
|
|
|
+ serverName:
|
|
|
+ description: Used to verify the hostname for
|
|
|
+ the targets.
|
|
|
+ type: string
|
|
|
+ type: object
|
|
|
+ tokenUrl:
|
|
|
+ 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.
|
|
|
+ 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, Alertmanager >= v0.25.0 or Thanos >= v0.32.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, Alertmanager >= v0.25.0 or Thanos >= v0.32.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|https|socks5)://.+$
|
|
|
+ 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.
|
|
|
+ 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 or Thanos >= v0.31.0.
|
|
|
+ enum:
|
|
|
+ - TLS10
|
|
|
+ - TLS11
|
|
|
+ - TLS12
|
|
|
+ - TLS13
|
|
|
+ type: string
|
|
|
+ minVersion:
|
|
|
+ description: |-
|
|
|
+ Minimum acceptable TLS version.
|
|
|
+
|
|
|
+ It requires Prometheus >= v2.35.0 or Thanos >= v0.28.0.
|
|
|
+ enum:
|
|
|
+ - TLS10
|
|
|
+ - TLS11
|
|
|
+ - TLS12
|
|
|
+ - TLS13
|
|
|
+ type: string
|
|
|
+ serverName:
|
|
|
+ description: Used to verify the hostname for the
|
|
|
+ targets.
|
|
|
+ type: string
|
|
|
+ type: object
|
|
|
+ type: object
|
|
|
+ iconURL:
|
|
|
+ description: Icon URL for the message.
|
|
|
+ pattern: ^https?://.+$
|
|
|
+ type: string
|
|
|
+ imageURL:
|
|
|
+ description: Image URL for the message.
|
|
|
+ pattern: ^https?://.+$
|
|
|
+ type: string
|
|
|
+ linkNames:
|
|
|
+ description: Whether to enable link names.
|
|
|
+ type: boolean
|
|
|
+ sendResolved:
|
|
|
+ description: Whether to notify about resolved alerts.
|
|
|
+ type: boolean
|
|
|
+ shortFields:
|
|
|
+ description: Whether to use short fields.
|
|
|
+ type: boolean
|
|
|
+ text:
|
|
|
+ description: The message text to send, it is optional
|
|
|
+ because of attachments.
|
|
|
+ minLength: 1
|
|
|
+ type: string
|
|
|
+ thumbURL:
|
|
|
+ description: Thumbnail URL for the message.
|
|
|
+ pattern: ^https?://.+$
|
|
|
+ type: string
|
|
|
+ title:
|
|
|
+ description: The message title.
|
|
|
+ minLength: 1
|
|
|
+ type: string
|
|
|
+ titleLink:
|
|
|
+ description: The title link for the message.
|
|
|
+ minLength: 1
|
|
|
+ type: string
|
|
|
+ token:
|
|
|
+ description: The sender token.
|
|
|
+ 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
|
|
|
+ tokenID:
|
|
|
+ description: The sender token ID.
|
|
|
+ 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
|
|
|
+ required:
|
|
|
+ - token
|
|
|
+ - tokenID
|
|
|
+ type: object
|
|
|
+ type: array
|
|
|
slackConfigs:
|
|
|
description: List of Slack configurations.
|
|
|
items:
|