prometheus operator v0.71.2

Prometheus.spec.initContainers.securityContext.windowsOptions.spec.apiserverConfig

APIServerConfig allows specifying a host and auth methods to access the Kuberntees API server. If null, Prometheus is assumed to run inside of the cluster: it will discover the API servers automatically and use the Pod's CA certificate and bearer token file at /var/run/secrets/kubernetes.io/serviceaccount/.

6 fields
Prometheus.spec.initContainers.securityContext.windowsOptions.spec.apiserverConfig fields and descriptions
Field / TypeDescription
object

Authorization section for the API server. Cannot be set at the same time as `basicAuth`, `bearerToken`, or `bearerTokenFile`.

object

BasicAuth configuration for the API server. Cannot be set at the same time as `authorization`, `bearerToken`, or `bearerTokenFile`.

bearerToken
string

*Warning: this field shouldn't be used because the token value appears in clear-text. Prefer using `authorization`.* Deprecated: this will be removed in a future release.

bearerTokenFile
string

File to read bearer token for accessing apiserver. Cannot be set at the same time as `basicAuth`, `authorization`, or `bearerToken`. Deprecated: this will be removed in a future release. Prefer using `authorization`.

host
string required

Kubernetes API address consisting of a hostname or IP address followed by an optional port number.

object

TLS Config to use for the API server.