Remove allow-release-candidate-upgrades already include in experimental-upgrades flag (#6349)

This commit is contained in:
Florian Ruynat 2020-07-15 09:26:37 +02:00 committed by GitHub
parent e1873ab872
commit 5e22574402
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -17,9 +17,7 @@
--config={{ kube_config_dir }}/kubeadm-config.yaml --config={{ kube_config_dir }}/kubeadm-config.yaml
--ignore-preflight-errors=all --ignore-preflight-errors=all
--allow-experimental-upgrades --allow-experimental-upgrades
--allow-release-candidate-upgrades
--etcd-upgrade={{ etcd_kubeadm_enabled | bool | lower }} --etcd-upgrade={{ etcd_kubeadm_enabled | bool | lower }}
--certificate-renewal=true
--force --force
register: kubeadm_upgrade register: kubeadm_upgrade
# Retry is because upload config sometimes fails # Retry is because upload config sometimes fails
@ -39,9 +37,7 @@
--config={{ kube_config_dir }}/kubeadm-config.yaml --config={{ kube_config_dir }}/kubeadm-config.yaml
--ignore-preflight-errors=all --ignore-preflight-errors=all
--allow-experimental-upgrades --allow-experimental-upgrades
--allow-release-candidate-upgrades
--etcd-upgrade={{ etcd_kubeadm_enabled | bool | lower }} --etcd-upgrade={{ etcd_kubeadm_enabled | bool | lower }}
--certificate-renewal=true
--force --force
register: kubeadm_upgrade register: kubeadm_upgrade
when: inventory_hostname != groups['kube-master']|first when: inventory_hostname != groups['kube-master']|first