mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-17 15:13:08 +00:00
Always create volumes in the active k8s zone
This commit is contained in:
@@ -75,6 +75,10 @@ func main() {
|
||||
|
||||
if *provider == "aws" {
|
||||
awsConfig := "[Global]\n"
|
||||
if *gceZone == "" {
|
||||
glog.Error("gce_zone must be specified for AWS")
|
||||
os.Exit(1)
|
||||
}
|
||||
awsConfig += fmt.Sprintf("Zone=%s\n", *gceZone)
|
||||
|
||||
var err error
|
||||
|
Reference in New Issue
Block a user