prometheus operator v0.71.2
ScrapeConfig.spec.httpSDConfigs[].tlsConfig.cert.secret.spec.kubernetesSDConfigs.oauth2
Optional OAuth 2.0 configuration. Cannot be set at the same time as `authorization`, or `basicAuth`.
| 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.
|