diff --git a/roles/kubernetes/master/tasks/kubeadm-upgrade.yml b/roles/kubernetes/master/tasks/kubeadm-upgrade.yml index 0d37540ea0c..b285466dbc3 100644 --- a/roles/kubernetes/master/tasks/kubeadm-upgrade.yml +++ b/roles/kubernetes/master/tasks/kubeadm-upgrade.yml @@ -18,7 +18,7 @@ --ignore-preflight-errors=all --allow-experimental-upgrades --allow-release-candidate-upgrades - --etcd-upgrade=false + --etcd-upgrade={{ etcd_kubeadm_enabled | bool | lower }} --certificate-renewal=true --force register: kubeadm_upgrade @@ -40,7 +40,7 @@ --ignore-preflight-errors=all --allow-experimental-upgrades --allow-release-candidate-upgrades - --etcd-upgrade=false + --etcd-upgrade={{ etcd_kubeadm_enabled | bool | lower }} --certificate-renewal=true --force register: kubeadm_upgrade