c12s-kubespray/roles/network_plugin/calico
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 Move CNI config and add MTU support for calico-cni 2016-11-15 18:05:11 +01:00
handlers Fix etcd restart and handler systemd tasks 2016-07-29 16:32:35 +03:00
meta Replace calico-cni binaries with calico/cni container 2016-11-14 12:19:58 +01:00
tasks Fix separate etcd nodes and calico 2016-11-25 17:24:16 +01:00
templates Fix Calico jinja template (systemd) 2016-11-23 11:43:53 +02:00