Skip to content

Commit

Permalink
Fix: remove --config option from kubeadm upgrade (kubernetes-sigs#11350)
Browse files Browse the repository at this point in the history
We can't mix some options with --config for kubeadm upgrade.
The --config on upgrade is deprecated, and should be removed.
  • Loading branch information
tmurakam committed Jul 4, 2024
1 parent 474b259 commit 3ffe9dd
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions roles/kubernetes/control-plane/tasks/kubeadm-upgrade.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand All @@ -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 }}
Expand Down

0 comments on commit 3ffe9dd

Please sign in to comment.