Sync to 1.16 k8
[it/test.git] / ric_robot_suite / helm / ric-robot / ete-k8s.sh
index 4f41a8a..9ff031f 100755 (executable)
@@ -50,7 +50,7 @@ fi
 
 export NAMESPACE="$1"
 
-POD=$(kubectl --namespace $NAMESPACE get pods | sed 's/ .*//'| grep robot)
+POD=$(kubectl --namespace  $NAMESPACE get pod -l robotImplementation=ric-robot --no-headers=true | sed 's/ .*//')
 
 
 TAGS="-i $2"