[Openstack] Make it possible to apply the new cloud provider during upgrade (#5707)

* run external cloud provider setup during upgrade

* change name of taskt to better reflect what it does

* fix typo
This commit is contained in:
Hugo Blom 2020-03-11 13:11:36 +01:00 committed by GitHub
parent 4a463567ac
commit a3dedb68d1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -95,12 +95,13 @@
- { role: upgrade/post-upgrade, tags: post-upgrade } - { role: upgrade/post-upgrade, tags: post-upgrade }
environment: "{{ proxy_env }}" environment: "{{ proxy_env }}"
- name: Upgrade calico on all masters and nodes - name: Upgrade calico and external cloud provider on all masters and nodes
hosts: kube-master:kube-node hosts: kube-master:kube-node
any_errors_fatal: "{{ any_errors_fatal | default(true) }}" any_errors_fatal: "{{ any_errors_fatal | default(true) }}"
serial: "{{ serial | default('20%') }}" serial: "{{ serial | default('20%') }}"
roles: roles:
- { role: kubespray-defaults} - { role: kubespray-defaults}
- { role: kubernetes-apps/external_cloud_controller, tags: external-cloud-controller }
- { role: network_plugin, tags: network } - { role: network_plugin, tags: network }
- { role: kubernetes-apps/network_plugin, tags: network } - { role: kubernetes-apps/network_plugin, tags: network }
- { role: kubernetes-apps/policy_controller, tags: policy-controller } - { role: kubernetes-apps/policy_controller, tags: policy-controller }