File tree Expand file tree Collapse file tree 4 files changed +5
-8
lines changed Expand file tree Collapse file tree 4 files changed +5
-8
lines changed Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ set -o errexit
24
24
set -o nounset
25
25
set -o pipefail
26
26
27
- KUBE_ROOT=$( dirname " ${BASH_SOURCE} " ) /..
27
+ KUBE_ROOT=$( dirname " ${BASH_SOURCE[0] } " ) /..
28
28
29
29
if [ -f " ${KUBE_ROOT} /cluster/env.sh" ]; then
30
30
source " ${KUBE_ROOT} /cluster/env.sh"
@@ -84,6 +84,7 @@ elif [[ "${validate_result}" == "2" ]]; then
84
84
fi
85
85
86
86
if [[ " ${ENABLE_PROXY:- } " == " true" ]]; then
87
+ # shellcheck disable=SC1091
87
88
. /tmp/kube-proxy-env
88
89
echo " "
89
90
echo " *** Please run the following to add the kube-apiserver endpoint to your proxy white-list ***"
Original file line number Diff line number Diff line change 18
18
# cluster/${KUBERNETES_PROVIDER}/util.sh where KUBERNETES_PROVIDER, if unset,
19
19
# will use its default value (gce).
20
20
21
- KUBE_ROOT=$( dirname " ${BASH_SOURCE} " ) /..
21
+ KUBE_ROOT=$( dirname " ${BASH_SOURCE[0] } " ) /..
22
22
23
23
source " ${KUBE_ROOT} /cluster/skeleton/util.sh"
24
24
34
34
# this is a list of the _names_ of the variables, not the value of the
35
35
# variables. Providers can add variables to be appended to kube-env.
36
36
# (see `build-kube-env`).
37
- PROVIDER_VARS=" "
38
37
39
38
PROVIDER_UTILS=" ${KUBE_ROOT} /cluster/${KUBERNETES_PROVIDER} /util.sh"
40
- if [ -f ${PROVIDER_UTILS} ]; then
39
+ if [ -f " ${PROVIDER_UTILS} " ]; then
41
40
source " ${PROVIDER_UTILS} "
42
41
fi
Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ set -o pipefail
30
30
# echo "-=-=-=-=-=-=-=-=-=-="
31
31
32
32
33
- KUBE_ROOT=${KUBE_ROOT:- $(dirname " ${BASH_SOURCE} " )/ ..}
33
+ KUBE_ROOT=${KUBE_ROOT:- $(dirname " ${BASH_SOURCE[0] } " )/ ..}
34
34
source " ${KUBE_ROOT} /cluster/kube-util.sh"
35
35
source " ${KUBE_ROOT} /cluster/clientbin.sh"
36
36
Original file line number Diff line number Diff line change 21
21
./cluster/images/conformance/run_e2e.sh
22
22
./cluster/juju/prereqs/ubuntu-juju.sh
23
23
./cluster/juju/util.sh
24
- ./cluster/kube-up.sh
25
- ./cluster/kube-util.sh
26
- ./cluster/kubectl.sh
27
24
./cluster/kubemark/gce/config-default.sh
28
25
./cluster/kubemark/iks/config-default.sh
29
26
./cluster/kubemark/util.sh
You can’t perform that action at this time.
0 commit comments