Skip to content

Commit

Permalink
doc: add a ref to KUBECONFIG
Browse files Browse the repository at this point in the history
  • Loading branch information
ldez authored and traefiker committed Apr 17, 2019
1 parent bd568ba commit 7787c9d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/content/providers/kubernetes-crd.md
Expand Up @@ -21,7 +21,7 @@ _Optional, Default=empty_

The Kubernetes server endpoint as URL.

When deployed into Kubernetes, Traefik will read the environment variables `KUBERNETES_SERVICE_HOST` and `KUBERNETES_SERVICE_PORT` to construct the endpoint.
When deployed into Kubernetes, Traefik will read the environment variables `KUBERNETES_SERVICE_HOST` and `KUBERNETES_SERVICE_PORT` or `KUBECONFIG` to construct the endpoint.

The access token will be looked up in `/var/run/secrets/kubernetes.io/serviceaccount/token` and the SSL CA certificate in `/var/run/secrets/kubernetes.io/serviceaccount/ca.crt`.
Both are provided mounted automatically when deployed inside Kubernetes.
Expand Down

0 comments on commit 7787c9d

Please sign in to comment.