prometheus operator v0.93.1

Prometheus.spec.ruleNamespaceSelector.matchExpressions.values.spec.scrapeClasses.authorization

authorization section for the ScrapeClass. It will only apply if the scrape resource doesn't specify any Authorization.

3 fields
Prometheus.spec.ruleNamespaceSelector.matchExpressions.values.spec.scrapeClasses.authorization fields and descriptions
Field / TypeDescription
object

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

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

credentialsFile defines the file to read a secret from, mutually exclusive with `credentials`.

type
string

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