From a3dedb68d1c566edd64f4f094c3039c4c3582416 Mon Sep 17 00:00:00 2001 From: Hugo Blom Date: Wed, 11 Mar 2020 13:11:36 +0100 Subject: [PATCH] [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 --- upgrade-cluster.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/upgrade-cluster.yml b/upgrade-cluster.yml index 04b661461..ff2fd4e3a 100644 --- a/upgrade-cluster.yml +++ b/upgrade-cluster.yml @@ -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 }