prometheus operator v0.93.1

ScrapeConfig.spec.linodeSDConfigs[].tlsConfig.ca.configMap.spec.dockerSDConfigs.oauth2

oauth2 defines the configuration to use on every scrape request.

10 fields
ScrapeConfig.spec.linodeSDConfigs[].tlsConfig.ca.configMap.spec.dockerSDConfigs.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)://.+$