We can't mix some options with --config for kubeadm upgrade. The --config on upgrade is deprecated, and should be removed.pull/11479/head
parent
3d9e4951ce
commit
c89ea7e4c7
|
@ -15,7 +15,6 @@
|
||||||
{{ bin_dir }}/kubeadm
|
{{ bin_dir }}/kubeadm
|
||||||
upgrade apply -y {{ kube_version }}
|
upgrade apply -y {{ kube_version }}
|
||||||
--certificate-renewal={{ kubeadm_upgrade_auto_cert_renewal }}
|
--certificate-renewal={{ kubeadm_upgrade_auto_cert_renewal }}
|
||||||
--config={{ kube_config_dir }}/kubeadm-config.yaml
|
|
||||||
--ignore-preflight-errors=all
|
--ignore-preflight-errors=all
|
||||||
--allow-experimental-upgrades
|
--allow-experimental-upgrades
|
||||||
--etcd-upgrade={{ (etcd_deployment_type == "kubeadm") | bool | lower }}
|
--etcd-upgrade={{ (etcd_deployment_type == "kubeadm") | bool | lower }}
|
||||||
|
@ -37,7 +36,6 @@
|
||||||
{{ bin_dir }}/kubeadm
|
{{ bin_dir }}/kubeadm
|
||||||
upgrade apply -y {{ kube_version }}
|
upgrade apply -y {{ kube_version }}
|
||||||
--certificate-renewal={{ kubeadm_upgrade_auto_cert_renewal }}
|
--certificate-renewal={{ kubeadm_upgrade_auto_cert_renewal }}
|
||||||
--config={{ kube_config_dir }}/kubeadm-config.yaml
|
|
||||||
--ignore-preflight-errors=all
|
--ignore-preflight-errors=all
|
||||||
--allow-experimental-upgrades
|
--allow-experimental-upgrades
|
||||||
--etcd-upgrade={{ (etcd_deployment_type == "kubeadm") | bool | lower }}
|
--etcd-upgrade={{ (etcd_deployment_type == "kubeadm") | bool | lower }}
|
||||||
|
|
Loading…
Reference in New Issue