lib/seira/setup.rb in seira-0.4.5 vs lib/seira/setup.rb in seira-0.4.7

- old
+ new

@@ -75,10 +75,10 @@ puts "Authenticating in order to set the auth for project #{cluster_name}. You will be directed to a google login page." system("gcloud auth login") end system("gcloud config set project #{cluster_metadata['project']}") - system("gcloud config set compute/zone #{settings.default_zone}") + system("gcloud config set compute/zone #{cluster_metadata['zone'] || settings.default_zone}") puts "Your new gcloud setup for #{cluster_name}:" system("gcloud config configurations describe #{cluster_name}") puts "Configuring kubectl for interactions with this project's kubernetes cluster" system("gcloud container clusters get-credentials #{cluster_name} --project #{cluster_metadata['project']}")