Skip to content

Commit

Permalink
Update nginx.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
chbinousamy authored Jan 31, 2024
1 parent 20cb7d1 commit 0b46629
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/nginx.yml
Original file line number Diff line number Diff line change
Expand Up @@ -148,9 +148,7 @@ jobs:
- port: 5678
EOF
kubectl wait pod --all --for=condition=Ready -n default
until [ -n "$(kubectl get svc/foo-service -o=jsonpath='{.status.loadBalancer.ingress[0].ip}')" ]; do
sleep 10
done
timeout 15s bash -c 'until kubectl get service/foo-service --output=jsonpath='{.status.loadBalancer}' | grep "ingress"; do : ; done'
LB_IP=$(kubectl get svc/foo-service -o=jsonpath='{.status.loadBalancer.ingress[0].ip}')
curl -m 5 ${LB_IP}:5678
Expand Down

0 comments on commit 0b46629

Please sign in to comment.