File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -157,6 +157,8 @@ jobs:
157
157
result=$(curl -s --location "${svcip}/api/system/meshsync/resources?kind=Pod&spec=true&annotations=true&labels=true&clusterIds=%5B\"${CLUSTER_ID}\"%5D&page=0&pagesize=25&search=&order=&sort=desc" \
158
158
--header "meshery-token: ${{ secrets.PROVIDER_TOKEN }}" \
159
159
--header "Cookie: meshery-provider=Meshery; token=${{ secrets.PROVIDER_TOKEN }}" | jq '.resources[].metadata.labels[] | select(.key == "purpose" and .value == "meshsync-test")')
160
+ broker=$(kubectl get pods -n meshery | grep meshsync | tr -s ' ' | cut -d " " -f 1)
161
+ kubectl logs $broker -n $NAMESPACE
160
162
# Check if the variable is empty (no match found)
161
163
if [ -n "$result" ]; then
162
164
echo "Match found: $result"
You can’t perform that action at this time.
0 commit comments