prometheus operator v0.93.1

Alertmanager.spec.alertmanagerConfiguration.global.httpConfig

httpConfig defines the default HTTP configuration.

11 fields
Alertmanager.spec.alertmanagerConfiguration.global.httpConfig fields and descriptions
Field / TypeDescription
object

authorization configures the Authorization header credentials used by the client. Cannot be set at the same time as `basicAuth`, `bearerTokenSecret` or `oauth2`.

object

basicAuth defines the Basic Authentication credentials used by the client. Cannot be set at the same time as `authorization`, `bearerTokenSecret` or `oauth2`.

object

bearerTokenSecret defines a key of a Secret containing the bearer token used by the client for authentication. The secret needs to be in the same namespace as the custom resource and readable by the Prometheus Operator. Cannot be set at the same time as `authorization`, `basicAuth` or `oauth2`. Deprecated: use `authorization` instead.

  • x-kubernetes-map-type: "atomic"
enableHttp2
boolean

enableHttp2 can be used to disable HTTP2.

followRedirects
boolean

followRedirects defines whether the client should follow HTTP 3xx redirects.

noProxy
string

noProxy defines 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.

object

oauth2 defines the OAuth2 settings used by the client. It requires Prometheus >= 2.27.0. Cannot be set at the same time as `authorization`, `basicAuth` or `bearerTokenSecret`.

map[string]object[]

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.

  • x-kubernetes-map-type: "atomic"
proxyFromEnvironment
boolean

proxyFromEnvironment defines 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.

proxyUrl
string

proxyUrl defines the HTTP proxy server to use.

  • pattern: ^(http|https|socks5)://.+$
object

tlsConfig defines the TLS configuration used by the client.