fix(kubernetes): Also apply kubeadm patches during upgrade (#9781)
parent
2d20f0c024
commit
eb4bd36f73
|
@ -19,6 +19,7 @@
|
||||||
--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 }}
|
||||||
|
{% if kubeadm_patches is defined and kubeadm_patches.enabled %}--patches={{ kubeadm_patches.dest_dir }}{% endif %}
|
||||||
--force
|
--force
|
||||||
register: kubeadm_upgrade
|
register: kubeadm_upgrade
|
||||||
# Retry is because upload config sometimes fails
|
# Retry is because upload config sometimes fails
|
||||||
|
@ -40,6 +41,7 @@
|
||||||
--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 }}
|
||||||
|
{% if kubeadm_patches is defined and kubeadm_patches.enabled %}--patches={{ kubeadm_patches.dest_dir }}{% endif %}
|
||||||
--force
|
--force
|
||||||
register: kubeadm_upgrade
|
register: kubeadm_upgrade
|
||||||
# Retry is because upload config sometimes fails
|
# Retry is because upload config sometimes fails
|
||||||
|
|
Loading…
Reference in New Issue