From 2088d40a6a1402fc6a8673c4ac28dbe44a988649 Mon Sep 17 00:00:00 2001 From: Sarkis Varozian Date: Thu, 3 May 2018 20:43:28 -0700 Subject: [PATCH] Fix helm status infinite loop (#58) * delete \n instead of replacing with a , * cleaner info output with echo * fix indent --- bin/helm_toolbox.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/helm_toolbox.sh b/bin/helm_toolbox.sh index c3501842..61849e96 100755 --- a/bin/helm_toolbox.sh +++ b/bin/helm_toolbox.sh @@ -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;