Skip to content

Commit

Permalink
Fix helm status infinite loop (#58)
Browse files Browse the repository at this point in the history
* delete \n instead of replacing with a ,

* cleaner info output with echo

* fix indent
  • Loading branch information
sarkis authored May 4, 2018
1 parent 0efdfd0 commit 2088d40
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/helm_toolbox.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ function check() {
wait_for_helm() {
info "Waiting for helm tiller..."
while true; do
status=$(kubectl get pods -l app=helm -l name=tiller --show-all=false -o=custom-columns=STATUS:.status.phase --no-headers=true -nkube-system | tr '\n' ',')
status=$(echo $(kubectl get pods -l app=helm -l name=tiller --show-all=false -o=custom-columns=STATUS:.status.phase --no-headers=true -nkube-system))
info "Helm status: $status"
if [ "$status" = "Running" ]; then
break;
Expand Down

0 comments on commit 2088d40

Please sign in to comment.