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
commit 148476eff1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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