prometheus operator v0.93.1

Prometheus.spec.initContainers[].livenessProbe.httpGet.port.spec.remoteRead.oauth2

oauth2 configuration for the URL. It requires Prometheus >= v2.27.0. Cannot be set at the same time as `authorization`, or `basicAuth`.

10 fields
Prometheus.spec.initContainers[].livenessProbe.httpGet.port.spec.remoteRead.oauth2 fields and descriptions
Field / TypeDescription
object required

clientId defines a key of a Secret or ConfigMap containing the OAuth2 client's ID.

object required

clientSecret defines a key of a Secret containing the OAuth2 client's secret.

  • x-kubernetes-map-type: "atomic"
map[string]string

endpointParams configures the HTTP parameters to append to the token URL.

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.

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)://.+$
string[]

scopes defines the OAuth2 scopes used for the token request.

object

tlsConfig defines the TLS configuration to use when connecting to the OAuth2 server. It requires Prometheus >= v2.43.0.

tokenUrl
string required

tokenUrl defines the URL to fetch the token from.

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