Fixed error with status check

Old command piped into grep, this led to an error where the
"|" was treated as a pod name and would kill the script.

Change-Id: Idd376a8a717f82b077d32c22e0a402166887cf41
Signed-off-by: Alanny Lopez <Alanny.Lopez@ibm.com>
diff --git a/kubernetes/kubernetes-launch.sh b/kubernetes/kubernetes-launch.sh
index 6439a7c..7150305 100755
--- a/kubernetes/kubernetes-launch.sh
+++ b/kubernetes/kubernetes-launch.sh
@@ -127,8 +127,8 @@
 # Once pod is running track logs
 if [[ "${log}" == true ]]; then
   # Wait for Pod to be running
-  checkstatus="kubectl describe pod ${podname} -n ${namespace} | grep Status:"
-  status=$( ${checkstatus} )
+  checkstatus="kubectl describe pod ${podname} -n ${namespace}"
+  status=$( ${checkstatus} | grep Status: )
   while [ -z "$( echo ${status} | grep Running)" ]
   do
     if [ ${podtimeout} -lt 0 ]; then
@@ -139,7 +139,7 @@
       sleep 1
       let podtimeout-=1
     fi
-    status=$( ${checkstatus} )
+    status=$( ${checkstatus} | grep Status: )
   done
   # Tail the logs of the pod
   kubectl logs -f ${podname} -n ${namespace}