diff --git a/roles/kubernetes/kubeadm/tasks/main.yml b/roles/kubernetes/kubeadm/tasks/main.yml index 2a13d18d9..cd11b7018 100644 --- a/roles/kubernetes/kubeadm/tasks/main.yml +++ b/roles/kubernetes/kubeadm/tasks/main.yml @@ -178,5 +178,5 @@ - etcd_kubeadm_enabled - kubeadm_control_plane - inventory_hostname not in groups['kube-master'] - - kube_network_plugin in ["calico", "flannel", "canal", "cilium"] + - kube_network_plugin in ["calico", "flannel", "canal", "cilium"] or cilium_deploy_additionally | default(false) | bool - kube_network_plugin != "calico" or calico_datastore == "etcd"