kubespray/roles
Arthur Outhenin-Chalandre c4346e590f
kubeadm/etcd: use config to download certificate (#9609)
This commit uses a kubeadm join config to pull down cert for etcd in
workers nodes (which is needed in some circumstances, for instance with
calico or cilium).

The previous way didn't allow us to pass certain parameters which was
typically given in the config in other kubeadm invokations in Kubespray.
This made kubeadm produced some errors for some edge cases.

For example, in our deployment we don't have a default route and even
though it's only to download the certificates, kubeadm produce an error
`unable to select an IP from default routes` (these command are kubeadm
controlplane command, so kubeadm does some additional checks). This is
fixed by specifying `advertiseAddress` within the kubeadm config.

Signed-off-by: Arthur Outhenin-Chalandre <arthur.outhenin-chalandre@proton.ch>

Signed-off-by: Arthur Outhenin-Chalandre <arthur.outhenin-chalandre@proton.ch>
2023-01-20 00:26:16 -08:00
..
adduser replace createhome (#9314) 2022-09-23 00:26:39 -07:00
bastion-ssh-config Replace callback_whitelist with callbacks_enabled (#8759) 2022-06-09 13:15:45 -07:00
bootstrap-os Add support for the OpenEuler Linux (#9494) 2022-11-16 00:48:49 -08:00
container-engine add containerd config_path (#9566) 2023-01-16 23:42:32 -08:00
download Add k8s 1.24.10 hashes (#9688) 2023-01-19 14:46:15 -08:00
etcd Update etcd log-level parameter name (#9540) 2022-12-05 01:05:03 -08:00
etcdctl Add kubeadm option to etcd_deployment_type to replace the etcd_kubeadm_enabled variable (#8317) 2022-02-22 08:53:16 -08:00
helm-apps Helm-apps role for installing helm charts (#8347) 2022-03-14 08:29:58 -07:00
kubernetes kubeadm/etcd: use config to download certificate (#9609) 2023-01-20 00:26:16 -08:00
kubernetes-apps [argocd] update argocd to v2.5.7 (#9682) 2023-01-18 15:38:34 -08:00
kubespray-defaults Add k8s hashes for k8s version. (#9685) 2023-01-19 05:30:35 -08:00
network_plugin feat(calico): add possibility to enable calico floatingIPs feature (#9680) 2023-01-18 15:42:34 -08:00
recover_control_plane Use a variable for standardizing kubectl invocation (#8329) 2022-01-05 02:26:32 -08:00
remove-node Skip removing nodes if cluster is not set (#9430) 2023-01-03 05:03:32 -08:00
reset Skip retry operation with containerd when etcd installed on host VM (#9560) 2023-01-10 15:53:20 -08:00
upgrade Fix drain rescue task when `kube_override_hostname` is set (#9556) 2022-12-08 16:02:11 -08:00
win_nodes/kubernetes_patch Use a variable for standardizing kubectl invocation (#8329) 2022-01-05 02:26:32 -08:00