From 69fe8bdf24fefe629654b724d4a9d03c22943e38 Mon Sep 17 00:00:00 2001 From: Hans Feldt Date: Tue, 30 Jun 2020 09:47:53 +0200 Subject: [PATCH] allow kubeadm to upgrade etcd --- roles/kubernetes/master/tasks/kubeadm-upgrade.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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