From 28db227184f65aaf3e13d988e63d59afae90dc2c Mon Sep 17 00:00:00 2001 From: Samy CHBINOU Date: Wed, 31 Jan 2024 20:42:54 +0100 Subject: [PATCH] Update nginx.yml --- .github/workflows/nginx.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/nginx.yml b/.github/workflows/nginx.yml index 5b5305c0cd..9cc9b3736d 100644 --- a/.github/workflows/nginx.yml +++ b/.github/workflows/nginx.yml @@ -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