Commit 6121294a authored by Geoff Simmons's avatar Geoff Simmons

Service type test verifies Ingress status.loadBalancer.ingress.ip.

parent 6662214c
......@@ -38,6 +38,14 @@ else
trap 'kill $(jobs -p)' EXIT
fi
if [[ "${IP}" == "${CLUSTERIP}" ]] || [[ "${IP}" == "${EXTERNALIP}" ]]; then
ip=$(kubectl get ing cafe-ingress-varnish -o jsonpath='{.status.loadBalancer.ingress[0].ip}')
if [[ -z ${ip} ]]; then
echo "IP address not set in Ingress loadBalancer.ingress"
exit 1
fi
fi
set +e
N=0
timeout=120
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment