prometheus operator v0.71.2

Probe.spec.bearerTokenSecret

Secret to mount to read bearer token for scraping targets. The secret needs to be in the same namespace as the probe and accessible by the Prometheus Operator.

3 fields
Probe.spec.bearerTokenSecret fields and descriptions
Field / TypeDescription
key
string required

The key of the secret to select from. Must be a valid secret key.

name
string

Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid?

optional
boolean

Specify whether the Secret or its key must be defined