c12s-kubespray/roles/etcd
Bogdan Dobrelya d08d2fd808 Fix separate etcd nodes and calico
Admin certs are only available for kube-master nodes.
When etcd nodes are separate, calico fails to access them with
missing admin certs and etcd fails to configure ETCD_PEER_* env
vars due to missing member certs.

Fix this by switching curls to the first etcd node
and delegate to the first master. This assumes only admin certs
allow to get calico keys from etcd but not member/node certs.
Also move member certs from master_certs to node_certs list as
ETCD(_PEER)_CERT/KEY env vars expects.

Signed-off-by: Bogdan Dobrelya <bdobrelia@mirantis.com>
2016-11-25 17:24:16 +01:00
..
defaults Add etcd TLS support 2016-11-09 18:38:28 +03:00
files Add etcd TLS support 2016-11-09 18:38:28 +03:00
handlers Ensure that etcd health checks always pass 2016-11-18 14:15:00 -08:00
meta Download containers and save all 2016-09-15 16:43:56 +02:00
tasks Fix separate etcd nodes and calico 2016-11-25 17:24:16 +01:00
templates Add etcd TLS support 2016-11-09 18:38:28 +03:00