prometheus operator v0.71.2

PodMonitor.spec.podMetricsEndpoints[].authorization

`authorization` configures the Authorization header credentials to use when scraping the target. Cannot be set at the same time as `basicAuth`, or `oauth2`.

2 fields
PodMonitor.spec.podMetricsEndpoints[].authorization fields and descriptions
Field / TypeDescription
object

Selects a key of a Secret in the namespace that contains the credentials for authentication.

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

Defines the authentication type. The value is case-insensitive. "Basic" is not a supported value. Default: "Bearer"