File tree Expand file tree Collapse file tree 1 file changed +1
-6
lines changed Expand file tree Collapse file tree 1 file changed +1
-6
lines changed Original file line number Diff line number Diff line change @@ -149,7 +149,7 @@ jobs:
149
149
mesheryctl system logs meshsync
150
150
CLUSTER_ID=$(kubectl get ns kube-system -o jsonpath='{.metadata.uid}')
151
151
echo $CLUSTER_ID
152
- podname=$(kubectl get pods -n meshery | grep meshsync | tr -s ' ' | cut -d " " -f 1)
152
+ podname=$(kubectl get pods -n meshery | grep meshery | tr -s ' ' | cut -d " " -f 1)
153
153
kubectl logs pod/$podname -n meshery
154
154
svcip="http://$(kubectl get svc -n meshery | grep "meshery " | tr -s ' ' | cut -d " " -f 3):9081"
155
155
echo "this is $svcip"
@@ -165,11 +165,6 @@ jobs:
165
165
echo "Match found: $result"
166
166
break
167
167
fi
168
- if [ "$SECONDS" -eq 30 ]; then
169
- kubectl delete pod -n meshery $podname
170
- podname=$(kubectl get pods -n meshery | grep meshsync | tr -s ' ' | cut -d " " -f 1)
171
- kubectl wait --for=condition=Ready pod --all --all-namespaces --timeout=300s
172
- fi
173
168
done
174
169
# Check if the loop completed its iterations without finding a match
175
170
if [ -z "$result" ]; then
You can’t perform that action at this time.
0 commit comments