From 6cec3e3bb0f6654bc8aff5abce7fb96ae5b675f0 Mon Sep 17 00:00:00 2001 From: Florian Ruynat Date: Tue, 30 Jun 2020 16:22:20 +0200 Subject: [PATCH] Remove allow-release-candidate-upgrades already include in experimental-upgrades flag --- roles/kubernetes/master/tasks/kubeadm-upgrade.yml | 4 ---- 1 file changed, 4 deletions(-) diff --git a/roles/kubernetes/master/tasks/kubeadm-upgrade.yml b/roles/kubernetes/master/tasks/kubeadm-upgrade.yml index b285466dbc3..7ee893cad98 100644 --- a/roles/kubernetes/master/tasks/kubeadm-upgrade.yml +++ b/roles/kubernetes/master/tasks/kubeadm-upgrade.yml @@ -17,9 +17,7 @@ --config={{ kube_config_dir }}/kubeadm-config.yaml --ignore-preflight-errors=all --allow-experimental-upgrades - --allow-release-candidate-upgrades --etcd-upgrade={{ etcd_kubeadm_enabled | bool | lower }} - --certificate-renewal=true --force register: kubeadm_upgrade # Retry is because upload config sometimes fails @@ -39,9 +37,7 @@ --config={{ kube_config_dir }}/kubeadm-config.yaml --ignore-preflight-errors=all --allow-experimental-upgrades - --allow-release-candidate-upgrades --etcd-upgrade={{ etcd_kubeadm_enabled | bool | lower }} - --certificate-renewal=true --force register: kubeadm_upgrade when: inventory_hostname != groups['kube-master']|first