Browse Source
fix(kubernetes): Also apply kubeadm patches during upgrade (#9781)
pull/9873/head
Marijn van der Giesen
2 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
2 additions and
0 deletions
-
roles/kubernetes/control-plane/tasks/kubeadm-upgrade.yml
|
|
@ -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 |
|
|
|