c12s-kubespray/roles/etcd/tasks
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
..
check_certs.yml Add etcd TLS support 2016-11-09 18:38:28 +03:00
configure.yml Remove etcd-proxy from all nodes and use etcd multiaccess 2016-11-09 13:31:12 +03:00
gen_certs.yml Fix separate etcd nodes and calico 2016-11-25 17:24:16 +01:00
install.yml Add retry_stagger var for failed download/pushes. 2016-09-15 16:43:58 +02:00
main.yml Add etcd TLS support 2016-11-09 18:38:28 +03:00
pre_upgrade.yml Add etcd TLS support 2016-11-09 18:38:28 +03:00
refresh_config.yml Remove etcd-proxy from all nodes and use etcd multiaccess 2016-11-09 13:31:12 +03:00
set_cluster_health.yml Use absolute path for etcdctl 2016-10-20 14:56:52 -05:00