secrets/k8s: updates API docs for kubernetes_host with correct env var (#16251)
This commit is contained in:
parent
d04b143bd5
commit
c00e605b48
|
@ -27,9 +27,9 @@ Kubernetes API and authenticate with it.
|
||||||
|
|
||||||
### Parameters
|
### Parameters
|
||||||
|
|
||||||
- `kubernetes_host` `(string: "https://$KUBERNETES_SERVICE_HOST:KUBERNETES_SERVICE_PORT")` -
|
- `kubernetes_host` `(string: "https://$KUBERNETES_SERVICE_HOST:KUBERNETES_SERVICE_PORT_HTTPS")` -
|
||||||
Kubernetes API URL to connect to. Must be specified if the standard pod environment
|
Kubernetes API URL to connect to. Must be specified if the standard pod environment
|
||||||
variables `KUBERNETES_SERVICE_HOST` or `KUBERNETES_SERVICE_PORT` are not set.
|
variables `KUBERNETES_SERVICE_HOST` or `KUBERNETES_SERVICE_PORT_HTTPS` are not set.
|
||||||
- `kubernetes_ca_cert` `(string: "")` - PEM encoded CA certificate to verify the
|
- `kubernetes_ca_cert` `(string: "")` - PEM encoded CA certificate to verify the
|
||||||
Kubernetes API server certificate. Defaults to the local pod's CA certificate
|
Kubernetes API server certificate. Defaults to the local pod's CA certificate
|
||||||
at `/var/run/secrets/kubernetes.io/serviceaccount/ca.crt` if found, or
|
at `/var/run/secrets/kubernetes.io/serviceaccount/ca.crt` if found, or
|
||||||
|
|
Loading…
Reference in a new issue