From c89ea7e4c7a3ac7c2aa0491e99cee27ed32afd7d Mon Sep 17 00:00:00 2001 From: Takuya Murakami Date: Thu, 29 Aug 2024 11:08:29 +0900 Subject: [PATCH] Fix: remove --config option from kubeadm upgrade (#11350) (#11352) We can't mix some options with --config for kubeadm upgrade. The --config on upgrade is deprecated, and should be removed. --- roles/kubernetes/control-plane/tasks/kubeadm-upgrade.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/roles/kubernetes/control-plane/tasks/kubeadm-upgrade.yml b/roles/kubernetes/control-plane/tasks/kubeadm-upgrade.yml index 7638a8968..f88921e98 100644 --- a/roles/kubernetes/control-plane/tasks/kubeadm-upgrade.yml +++ b/roles/kubernetes/control-plane/tasks/kubeadm-upgrade.yml @@ -15,7 +15,6 @@ {{ bin_dir }}/kubeadm upgrade apply -y {{ kube_version }} --certificate-renewal={{ kubeadm_upgrade_auto_cert_renewal }} - --config={{ kube_config_dir }}/kubeadm-config.yaml --ignore-preflight-errors=all --allow-experimental-upgrades --etcd-upgrade={{ (etcd_deployment_type == "kubeadm") | bool | lower }} @@ -37,7 +36,6 @@ {{ bin_dir }}/kubeadm upgrade apply -y {{ kube_version }} --certificate-renewal={{ kubeadm_upgrade_auto_cert_renewal }} - --config={{ kube_config_dir }}/kubeadm-config.yaml --ignore-preflight-errors=all --allow-experimental-upgrades --etcd-upgrade={{ (etcd_deployment_type == "kubeadm") | bool | lower }}