Open ghost opened 8 years ago
this turned out not to be an issue for me. with confd 0.11, i was running:
confd -onetime \
-backend=etcd \
-client-cert=/etc/ssl/etcd/cert.pem \
-client-key=/etc/ssl/etcd/cert-key.pem \
-node=127.0.0.1:2379 \
-scheme=http
with confd 0.12, this works:
confd -onetime \
-backend=etcd \
-node=http://127.0.0.1:2379
in particular, -node=127.0.0.1:2379
becomes -node=http://127.0.0.1:2379
As far as i understand https://github.com/kelseyhightower/confd/issues/319, this issue should be fixed. But in version confd 0.12.0-dev, confd still uses the advertised backends instead of the proxy.
The proxy is used as a local gateway to an tls secured etcd cluster. So confd should only use the proxy.