kube_addons - Adding variable with default for kubectl bin. Fixes #9599

This commit is contained in:
Jeffrey Bean 2015-06-10 14:47:14 -07:00
parent b556285661
commit 99f64a8a07

View File

@ -17,7 +17,7 @@
# The business logic for whether a given object should be created
# was already enforced by salt, and /etc/kubernetes/addons is the
# 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() {
local -r token=$1