prometheus operator v0.71.2

Prometheus.spec.storage.volumeClaimTemplate.spec.accessModes.spec.remoteWrite.oauth2

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

5 fields
Prometheus.spec.storage.volumeClaimTemplate.spec.accessModes.spec.remoteWrite.oauth2 fields and descriptions
Field / TypeDescription
object required

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

object required

`clientSecret` specifies 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.

string[]

`scopes` defines the OAuth2 scopes used for the token request.

tokenUrl
string required

`tokenURL` configures the URL to fetch the token from.

  • minLength: 1