2020-02-18 20:47:28 +08:00
|
|
|
---
|
|
|
|
dependencies:
|
|
|
|
- role: kubernetes-apps/external_cloud_controller/openstack
|
|
|
|
when:
|
|
|
|
- cloud_provider is defined
|
|
|
|
- cloud_provider == "external"
|
|
|
|
- external_cloud_provider is defined
|
|
|
|
- external_cloud_provider == "openstack"
|
2021-03-24 08:26:05 +08:00
|
|
|
- inventory_hostname == groups['kube_control_plane'][0]
|
2020-02-18 20:47:28 +08:00
|
|
|
tags:
|
|
|
|
- external-cloud-controller
|
|
|
|
- external-openstack
|
2020-04-20 23:47:39 +08:00
|
|
|
- role: kubernetes-apps/external_cloud_controller/vsphere
|
|
|
|
when:
|
|
|
|
- cloud_provider is defined
|
|
|
|
- cloud_provider == "external"
|
|
|
|
- external_cloud_provider is defined
|
|
|
|
- external_cloud_provider == "vsphere"
|
2021-03-24 08:26:05 +08:00
|
|
|
- inventory_hostname == groups['kube_control_plane'][0]
|
2020-04-20 23:47:39 +08:00
|
|
|
tags:
|
|
|
|
- external-cloud-controller
|
|
|
|
- external-vsphere
|
2022-01-21 04:31:09 +08:00
|
|
|
- role: kubernetes-apps/external_cloud_controller/hcloud
|
|
|
|
when:
|
|
|
|
- cloud_provider is defined
|
|
|
|
- cloud_provider == "external"
|
|
|
|
- external_cloud_provider is defined
|
|
|
|
- external_cloud_provider == "hcloud"
|
|
|
|
- inventory_hostname == groups['kube_control_plane'][0]
|
|
|
|
tags:
|
|
|
|
- external-cloud-controller
|
|
|
|
- external-hcloud
|