remove debug printing
@@ -57,16 +57,12 @@ _getPodNameImpl() {
}
_getNginxIP() {
- kubectl get services --all-namespaces
-
external_ip=""
while [ -z $external_ip ]; do
- echo "Waiting for nginx endpoint..."
external_ip=$(kubectl -n kube-system get svc nic-nginx-ingress-controller --template="{{range .status.loadBalancer.ingress}}{{.ip}}{{end}}")
[ -z "$external_ip" ] && sleep 10
done
- echo "Nginx endpoint: $external_ip"
echo $external_ip
}
