mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-28 05:57:25 +00:00
Merge pull request #84150 from langyenan/fix-e2e
set default value of KUBE_MASTER_URL to empty in e2e test
This commit is contained in:
commit
780e40d424
@ -74,7 +74,11 @@ else
|
|||||||
prepare-e2e
|
prepare-e2e
|
||||||
|
|
||||||
detect-master >/dev/null
|
detect-master >/dev/null
|
||||||
KUBE_MASTER_URL="${KUBE_MASTER_URL:-https://${KUBE_MASTER_IP:-}}"
|
|
||||||
|
KUBE_MASTER_URL="${KUBE_MASTER_URL:-}"
|
||||||
|
if [[ -z "${KUBE_MASTER_URL:-}" && -n "${KUBE_MASTER_IP:-}" ]]; then
|
||||||
|
KUBE_MASTER_URL="https://${KUBE_MASTER_IP}"
|
||||||
|
fi
|
||||||
|
|
||||||
auth_config=(
|
auth_config=(
|
||||||
"--kubeconfig=${KUBECONFIG:-$DEFAULT_KUBECONFIG}"
|
"--kubeconfig=${KUBECONFIG:-$DEFAULT_KUBECONFIG}"
|
||||||
|
Loading…
Reference in New Issue
Block a user