For CPI to recognize that the cluster is a multi zone cluster, a config map needs to be provided along with setting the isZoneEnabledCluster flag in the vcloud-ccm-configmap.
The CPI Deployment needs to mount this configmap as a volume and parse the the zones.
But we don't want no zone clusters to create this configmap and hence the Deployment manifest for a no zone cluster should not be modified to include the zones configmap.
This PR updates the existing manifests for CPI and adds a volume mount for the zone configmap
For a no-zone cluster, either the Deployment manifest should be modified to remove the zone volume mount (or) a zone cofigmap with an empty zone list should be created.
For CPI to recognize that the cluster is a multi zone cluster, a config map needs to be provided along with setting the
isZoneEnabledCluster
flag in thevcloud-ccm-configmap
.The CPI Deployment needs to mount this configmap as a volume and parse the the zones.
But we don't want no zone clusters to create this configmap and hence the Deployment manifest for a no zone cluster should not be modified to include the zones configmap.This PR updates the existing manifests for CPI and adds a volume mount for the zone configmap
For a no-zone cluster, either the Deployment manifest should be modified to remove the zone volume mount (or) a zone cofigmap with an empty zone list should be created.