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 0b46629 commit 28db227
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/nginx.yml
Original file line number Diff line number Diff line change
Expand Up @@ -148,8 +148,8 @@ jobs:
- port: 5678
EOF
kubectl wait pod --all --for=condition=Ready -n default
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}')
# 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
- name: Deploy nginx
Expand Down

0 comments on commit 28db227

Please sign in to comment.