[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
pull/5753/head
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
1 changed files with 2 additions and 1 deletions

View File

@ -95,12 +95,13 @@
- { role: upgrade/post-upgrade, tags: post-upgrade }
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
any_errors_fatal: "{{ any_errors_fatal | default(true) }}"
serial: "{{ serial | default('20%') }}"
roles:
- { role: kubespray-defaults}
- { role: kubernetes-apps/external_cloud_controller, tags: external-cloud-controller }
- { role: network_plugin, tags: network }
- { role: kubernetes-apps/network_plugin, tags: network }
- { role: kubernetes-apps/policy_controller, tags: policy-controller }