mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-20 10:20:51 +00:00
Add zone field to vsphere test cloudconfig
This commit is contained in:
parent
084a412e03
commit
30ac00eeb5
@ -85,6 +85,11 @@ type ConfigFile struct {
|
|||||||
DefaultDatastore string `gcfg:"default-datastore"`
|
DefaultDatastore string `gcfg:"default-datastore"`
|
||||||
ResourcePoolPath string `gcfg:"resourcepool-path"`
|
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
|
// GetVSphereInstances parses vsphere.conf and returns VSphere instances
|
||||||
|
Loading…
Reference in New Issue
Block a user