prometheus operator v0.93.1

PrometheusAgent.spec.automountServiceAccountToken

automountServiceAccountToken defines whether a service account token should be automatically mounted in the pod. If the field isn't set, the operator mounts the service account token by default. **Warning:** be aware that by default, Prometheus requires the service account token for Kubernetes service discovery. It is possible to use strategic merge patch to project the service account token into the 'prometheus' container.

1 fields
PrometheusAgent.spec.automountServiceAccountToken fields and descriptions
Field / TypeDescription
PrometheusAgent.spec.automountServiceAccountToken
boolean

automountServiceAccountToken defines whether a service account token should be automatically mounted in the pod. If the field isn't set, the operator mounts the service account token by default. **Warning:** be aware that by default, Prometheus requires the service account token for Kubernetes service discovery. It is possible to use strategic merge patch to project the service account token into the 'prometheus' container.