From e2919b28b60d79e4c6b5737ba72256d607babc55 Mon Sep 17 00:00:00 2001 From: kimscott Date: Mon, 30 Mar 2020 14:49:11 +0900 Subject: [PATCH] =?UTF-8?q?aws=20build=20=ED=8C=8C=EC=9D=BC=20=EC=B6=94?= =?UTF-8?q?=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- buildspec.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/buildspec.yml b/buildspec.yml index c62bc32..c2a6fe4 100644 --- a/buildspec.yml +++ b/buildspec.yml @@ -39,7 +39,7 @@ phases: - kubectl config set-credentials admin --token="$KUBE_TOKEN" - kubectl config set-context default --cluster=k8s --user=admin - kubectl config use-context default - - _GATEWAY_IP=$(kubectl get -o jsonpath="{.status.loadBalancer.ingress[0].ip}" svc gateway --ignore-not-found) + - _GATEWAY_IP=$(kubectl get -o jsonpath="{.status.loadBalancer.ingress[0].hostname}" svc gateway --ignore-not-found) - _GATEWAY_PORT=$(kubectl get -o jsonpath="{.spec.ports[0].port}" svc gateway --ignore-not-found) - | cat <