Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
K
k3s
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jacklull
k3s
Commits
1cf8001e
Unverified
Commit
1cf8001e
authored
Feb 23, 2019
by
Kubernetes Prow Robot
Committed by
GitHub
Feb 23, 2019
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #74449 from xichengliudui/fix190223
make more of the shell pass lints
parents
6a29f8ca
b83b83f8
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
5 additions
and
8 deletions
+5
-8
kube-up.sh
cluster/kube-up.sh
+2
-1
kube-util.sh
cluster/kube-util.sh
+2
-3
kubectl.sh
cluster/kubectl.sh
+1
-1
.shellcheck_failures
hack/.shellcheck_failures
+0
-3
No files found.
cluster/kube-up.sh
View file @
1cf8001e
...
...
@@ -24,7 +24,7 @@ set -o errexit
set
-o
nounset
set
-o
pipefail
KUBE_ROOT
=
$(
dirname
"
${
BASH_SOURCE
}
"
)
/..
KUBE_ROOT
=
$(
dirname
"
${
BASH_SOURCE
[0]
}
"
)
/..
if
[
-f
"
${
KUBE_ROOT
}
/cluster/env.sh"
]
;
then
source
"
${
KUBE_ROOT
}
/cluster/env.sh"
...
...
@@ -84,6 +84,7 @@ elif [[ "${validate_result}" == "2" ]]; then
fi
if
[[
"
${
ENABLE_PROXY
:-}
"
==
"true"
]]
;
then
# shellcheck disable=SC1091
.
/tmp/kube-proxy-env
echo
""
echo
"*** Please run the following to add the kube-apiserver endpoint to your proxy white-list ***"
...
...
cluster/kube-util.sh
View file @
1cf8001e
...
...
@@ -18,7 +18,7 @@
# cluster/${KUBERNETES_PROVIDER}/util.sh where KUBERNETES_PROVIDER, if unset,
# will use its default value (gce).
KUBE_ROOT
=
$(
dirname
"
${
BASH_SOURCE
}
"
)
/..
KUBE_ROOT
=
$(
dirname
"
${
BASH_SOURCE
[0]
}
"
)
/..
source
"
${
KUBE_ROOT
}
/cluster/skeleton/util.sh"
...
...
@@ -34,9 +34,8 @@ fi
# this is a list of the _names_ of the variables, not the value of the
# variables. Providers can add variables to be appended to kube-env.
# (see `build-kube-env`).
PROVIDER_VARS
=
""
PROVIDER_UTILS
=
"
${
KUBE_ROOT
}
/cluster/
${
KUBERNETES_PROVIDER
}
/util.sh"
if
[
-f
${
PROVIDER_UTILS
}
]
;
then
if
[
-f
"
${
PROVIDER_UTILS
}
"
]
;
then
source
"
${
PROVIDER_UTILS
}
"
fi
cluster/kubectl.sh
View file @
1cf8001e
...
...
@@ -30,7 +30,7 @@ set -o pipefail
# echo "-=-=-=-=-=-=-=-=-=-="
KUBE_ROOT
=
${
KUBE_ROOT
:-$(
dirname
"
${
BASH_SOURCE
}
"
)
/..
}
KUBE_ROOT
=
${
KUBE_ROOT
:-$(
dirname
"
${
BASH_SOURCE
[0]
}
"
)
/..
}
source
"
${
KUBE_ROOT
}
/cluster/kube-util.sh"
source
"
${
KUBE_ROOT
}
/cluster/clientbin.sh"
...
...
hack/.shellcheck_failures
View file @
1cf8001e
...
...
@@ -21,9 +21,6 @@
./cluster/images/conformance/run_e2e.sh
./cluster/juju/prereqs/ubuntu-juju.sh
./cluster/juju/util.sh
./cluster/kube-up.sh
./cluster/kube-util.sh
./cluster/kubectl.sh
./cluster/kubemark/gce/config-default.sh
./cluster/kubemark/iks/config-default.sh
./cluster/kubemark/util.sh
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment