aboutsummaryrefslogtreecommitdiff
path: root/plugin/etcd/README.md
diff options
context:
space:
mode:
authorGravatar Christophe de Carvalho <zaibon@users.noreply.github.com> 2019-02-01 16:30:53 +0100
committerGravatar Miek Gieben <miek@miek.nl> 2019-02-01 15:30:53 +0000
commitd878eeebbb890b2b73226e2440c73e8b2d1b102e (patch)
treeb8cc14a5834ac28eebc0c809d87e063f482c2c91 /plugin/etcd/README.md
parentb455f86824a1c2108b305589190e964b5528fed3 (diff)
downloadcoredns-d878eeebbb890b2b73226e2440c73e8b2d1b102e.tar.gz
coredns-d878eeebbb890b2b73226e2440c73e8b2d1b102e.tar.zst
coredns-d878eeebbb890b2b73226e2440c73e8b2d1b102e.zip
support etcd credentials in etcd plugin (#2442)
* support etcd credentials in etcd plugin fixes #2441 * try to fix cleanup of authentication
Diffstat (limited to 'plugin/etcd/README.md')
-rw-r--r--plugin/etcd/README.md13
1 files changed, 9 insertions, 4 deletions
diff --git a/plugin/etcd/README.md b/plugin/etcd/README.md
index 516b6bb48..efa8b8b6b 100644
--- a/plugin/etcd/README.md
+++ b/plugin/etcd/README.md
@@ -31,7 +31,8 @@ etcd [ZONES...] {
fallthrough [ZONES...]
path PATH
endpoint ENDPOINT...
- upstream
+ credentials USERNAME PASSWORD
+ upstream [ADDRESS...]
tls CERT KEY CACERT
}
~~~
@@ -42,8 +43,12 @@ etcd [ZONES...] {
queries for those zones will be subject to fallthrough.
* **PATH** the path inside etcd. Defaults to "/skydns".
* **ENDPOINT** the etcd endpoints. Defaults to "http://localhost:2379".
-* `upstream` resolve names found in etcd (think CNAMEs) If you want CoreDNS to act as a proxy for clients,
- you'll need to add the forward plugin. CoreDNS will resolve CNAMEs against itself.
+* `credentials` is used to set the **USERNAME** and **PASSWORD** for accessing the etcd cluster.
+* `upstream` upstream resolvers to be used resolve external names found in etcd (think CNAMEs)
+ pointing to external names. If you want CoreDNS to act as a proxy for clients, you'll need to add
+ the proxy plugin. If no **ADDRESS** is given, CoreDNS will resolve CNAMEs against itself.
+ **ADDRESS** can be an IP address, and IP:port or a string pointing to a file that is structured
+ as /etc/resolv.conf.
* `tls` followed by:
* no arguments, if the server certificate is signed by a system-installed CA and no client cert is needed
@@ -205,4 +210,4 @@ If you query the zone name for `TXT` now, you will get the following response:
~~~ sh
% dig +short skydns.local TXT @localhost
"this is a random text message."
-~~~
+~~~ \ No newline at end of file