mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-02-17 19:20:10 -03:30
Add labels to vsphere cloud config (#4275)
This commit is contained in:
committed by
Kubernetes Prow Robot
parent
b4aaa7b908
commit
88249308a0
@@ -41,4 +41,14 @@ scsicontrollertype = {{ vsphere_scsi_controller_type }}
|
||||
{% if vsphere_public_network is defined and vsphere_public_network != "" %}
|
||||
[Network]
|
||||
public-network = {{ vsphere_public_network }}
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
|
||||
{% if kube_version is version('v1.12.0', '>=') %}
|
||||
[Labels]
|
||||
{% if vsphere_zone_category is defined and vsphere_zone_category != "" %}
|
||||
zone = {{ vsphere_zone_category }}
|
||||
{% endif %}
|
||||
{% if vsphere_region_category is defined and vsphere_region_category != "" %}
|
||||
region = {{ vsphere_region_category }}
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
|
||||
Reference in New Issue
Block a user