Merge pull request #112427 from gnufied/add-zone-field-cloud-config-test

Add zone field to vsphere test cloudconfig
This commit is contained in:
Kubernetes Prow Robot
2022-09-14 11:09:25 -07:00
committed by GitHub

View File

@@ -85,6 +85,11 @@ type ConfigFile struct {
DefaultDatastore string `gcfg:"default-datastore"`
ResourcePoolPath string `gcfg:"resourcepool-path"`
}
// Tag categories and tags which correspond to "built-in node labels: zones and region"
Labels struct {
Zone string `gcfg:"zone"`
Region string `gcfg:"region"`
}
}
// GetVSphereInstances parses vsphere.conf and returns VSphere instances