mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 03:41:45 +00:00
Merge pull request #73261 from danielqsj/local
fix shellcheck in cluster/local
This commit is contained in:
commit
f288678cfa
@ -18,9 +18,16 @@ function prepare-e2e() {
|
||||
echo "Local doesn't need special preparations for e2e tests" 1>&2
|
||||
}
|
||||
|
||||
# Detect the IP for the master
|
||||
#
|
||||
# Vars set:
|
||||
# KUBE_MASTER
|
||||
# KUBE_MASTER_IP
|
||||
# Vars exported:
|
||||
# KUBE_MASTER_URL
|
||||
function detect-master {
|
||||
KUBE_MASTER=localhost
|
||||
KUBE_MASTER_IP=127.0.0.1
|
||||
KUBE_MASTER_URL="http://${KUBE_MASTER_IP}:8080"
|
||||
export KUBE_MASTER_URL="http://${KUBE_MASTER_IP}:8080"
|
||||
echo "Using master: $KUBE_MASTER (external IP: $KUBE_MASTER_IP)"
|
||||
}
|
||||
|
@ -24,7 +24,6 @@
|
||||
./cluster/kubemark/gce/config-default.sh
|
||||
./cluster/kubemark/iks/config-default.sh
|
||||
./cluster/kubemark/util.sh
|
||||
./cluster/local/util.sh
|
||||
./cluster/log-dump/log-dump.sh
|
||||
./cluster/pre-existing/util.sh
|
||||
./cluster/restore-from-backup.sh
|
||||
|
Loading…
Reference in New Issue
Block a user