prometheus operator v0.71.2
PrometheusAgent.spec.initContainers.env.valueFrom.resourceFieldRef.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`.
| Field / Type | Description |
|---|---|
`clientId` specifies a key of a Secret or ConfigMap containing the OAuth2 client's ID. | |
`clientSecret` specifies a key of a Secret containing the OAuth2 client's secret.
| |
`endpointParams` configures the HTTP parameters to append to the token URL. | |
`scopes` defines the OAuth2 scopes used for the token request. | |
tokenUrl | `tokenURL` configures the URL to fetch the token from.
|