lib/seira/setup.rb in seira-0.4.1 vs lib/seira/setup.rb in seira-0.4.2
- old
+ new
@@ -101,10 +101,12 @@
puts "Installing kubectl..."
system('gcloud components install kubectl')
end
puts "Making sure kubernetes-helm is installed..."
- unless system('helm version &> /dev/null')
+ # Only ask for client version since server config may not yet be configured,
+ # and in some versions of Helm it hanged.
+ unless system('helm version --client &> /dev/null')
puts "Installing helm..."
system('brew install kubernetes-helm')
end
end