mirror of https://github.com/kubernetes/kops.git
kube_addons - Adding variable with default for kubectl bin. Fixes #9599
This commit is contained in:
parent
8e425f5084
commit
d7c72f79dd
|
|
@ -17,7 +17,7 @@
|
||||||
# The business logic for whether a given object should be created
|
# The business logic for whether a given object should be created
|
||||||
# was already enforced by salt, and /etc/kubernetes/addons is the
|
# was already enforced by salt, and /etc/kubernetes/addons is the
|
||||||
# managed result is of that. Start everything below that directory.
|
# managed result is of that. Start everything below that directory.
|
||||||
KUBECTL=/usr/local/bin/kubectl
|
KUBECTL=${KUBECTL_BIN:-/usr/local/bin/kubectl}
|
||||||
|
|
||||||
function create-kubeconfig-secret() {
|
function create-kubeconfig-secret() {
|
||||||
local -r token=$1
|
local -r token=$1
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue