Sync to 1.16 k8
[it/test.git] / ric_robot_suite / helm / ric-robot / demo-k8s.sh
index 67a41c3..38c0db1 100755 (executable)
@@ -39,7 +39,7 @@ if [ $# -lt 2 ];then
 fi
 
 NAMESPACE=$1
-POD=$(kubectl --namespace $NAMESPACE get pods | sed 's/ .*//'| grep robot)
+POD=$(kubectl --namespace $NAMESPACE get pods -l robotImplementation=ric-robot  --no-headers=true | sed 's/ .*//')
 
 shift