fix(kubernetes): Also apply kubeadm patches during upgrade (#9781)

This commit is contained in:
Marijn van der Giesen
2023-03-09 22:50:30 +01:00
committed by GitHub
parent 2d20f0c024
commit eb4bd36f73

View File

@ -19,6 +19,7 @@
--ignore-preflight-errors=all
--allow-experimental-upgrades
--etcd-upgrade={{ (etcd_deployment_type == "kubeadm") | bool | lower }}
{% if kubeadm_patches is defined and kubeadm_patches.enabled %}--patches={{ kubeadm_patches.dest_dir }}{% endif %}
--force
register: kubeadm_upgrade
# Retry is because upload config sometimes fails
@ -40,6 +41,7 @@
--ignore-preflight-errors=all
--allow-experimental-upgrades
--etcd-upgrade={{ (etcd_deployment_type == "kubeadm") | bool | lower }}
{% if kubeadm_patches is defined and kubeadm_patches.enabled %}--patches={{ kubeadm_patches.dest_dir }}{% endif %}
--force
register: kubeadm_upgrade
# Retry is because upload config sometimes fails