diff options
author | 2018-09-28 12:18:55 -0700 | |
---|---|---|
committer | 2018-09-28 12:18:55 -0700 | |
commit | fe5c731047a66c96aaa72bad4ae2e48c7e34752d (patch) | |
tree | 9cc41878a5bc8fe15bf233d612c6044b271ac820 /plugin/kubernetes/README.md | |
parent | 2fc3f5e0b10ad4e79d952d2ac2bc8d4e7534f4e1 (diff) | |
download | coredns-fe5c731047a66c96aaa72bad4ae2e48c7e34752d.tar.gz coredns-fe5c731047a66c96aaa72bad4ae2e48c7e34752d.tar.zst coredns-fe5c731047a66c96aaa72bad4ae2e48c7e34752d.zip |
Support for kubeconfig files (#2053)
* Add support for authentication with kubeconfig files
* Update k8s plugin documentation
* Fix whitespace in README and tests
* Use clientcmd package to load kubeconfig file
Diffstat (limited to 'plugin/kubernetes/README.md')
-rw-r--r-- | plugin/kubernetes/README.md | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/plugin/kubernetes/README.md b/plugin/kubernetes/README.md index cb51ae458..be13a1bf2 100644 --- a/plugin/kubernetes/README.md +++ b/plugin/kubernetes/README.md @@ -53,6 +53,7 @@ kubernetes [ZONES...] { will automatically perform a healthcheck and proxy to the healthy k8s API endpoint. * `tls` **CERT** **KEY** **CACERT** are the TLS cert, key and the CA cert file names for remote k8s connection. This option is ignored if connecting in-cluster (i.e. endpoint is not specified). +* `kubeconfig` **KUBECONFIG** **CONTEXT** authenticates the connection to a remote k8s cluster using a kubeconfig file. It supports TLS, username and password, or token-based authentication. This option is ignored if connecting in-cluster (i.e. endpoint is not specified). * `namespaces` **NAMESPACE [NAMESPACE...]**, only exposes the k8s namespaces listed. If this option is omitted all namespaces are exposed * `labels` **EXPRESSION** only exposes the records for Kubernetes objects that match this label selector. |