Update cluster/gce/gci/configure-helper.sh

Co-authored-by: Aaron Crickenberger <spiffxp@google.com>
This commit is contained in:
Joakim Roubert 2020-05-16 13:20:03 +02:00 committed by Joakim Roubert
parent 3e211386c1
commit 4abf7da53e

View File

@ -2035,7 +2035,7 @@ function start-cluster-autoscaler {
local -r src_file="${KUBE_HOME}/kube-manifests/kubernetes/gci-trusty/cluster-autoscaler.manifest"
local params
params="${AUTOSCALER_MIG_CONFIG}" "${CLOUD_CONFIG_OPT}" "${AUTOSCALER_EXPANDER_CONFIG:---expander=price}"
params="${AUTOSCALER_MIG_CONFIG} ${CLOUD_CONFIG_OPT} ${AUTOSCALER_EXPANDER_CONFIG:---expander=price}"
params+=" --kubeconfig=/etc/srv/kubernetes/cluster-autoscaler/kubeconfig"
# split the params into separate arguments passed to binary