We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 3ff3769 + 3359577 commit 780e40dCopy full SHA for 780e40d
hack/ginkgo-e2e.sh
@@ -74,7 +74,11 @@ else
74
prepare-e2e
75
76
detect-master >/dev/null
77
- KUBE_MASTER_URL="${KUBE_MASTER_URL:-https://${KUBE_MASTER_IP:-}}"
+
78
+ KUBE_MASTER_URL="${KUBE_MASTER_URL:-}"
79
+ if [[ -z "${KUBE_MASTER_URL:-}" && -n "${KUBE_MASTER_IP:-}" ]]; then
80
+ KUBE_MASTER_URL="https://${KUBE_MASTER_IP}"
81
+ fi
82
83
auth_config=(
84
"--kubeconfig=${KUBECONFIG:-$DEFAULT_KUBECONFIG}"
0 commit comments