Commit de95a334 authored by h00130372's avatar h00130372

Fix older bash failing on unbound array variables

Older bash versions fail when trying to expand array variables when the array is empty.
parent ed2bdd53
...@@ -671,7 +671,7 @@ function start_cloud_controller_manager { ...@@ -671,7 +671,7 @@ function start_cloud_controller_manager {
${CONTROLPLANE_SUDO} "${EXTERNAL_CLOUD_PROVIDER_BINARY:-"${GO_OUT}/hyperkube" cloud-controller-manager}" \ ${CONTROLPLANE_SUDO} "${EXTERNAL_CLOUD_PROVIDER_BINARY:-"${GO_OUT}/hyperkube" cloud-controller-manager}" \
--v="${LOG_LEVEL}" \ --v="${LOG_LEVEL}" \
--vmodule="${LOG_SPEC}" \ --vmodule="${LOG_SPEC}" \
"${node_cidr_args[@]}" \ "${node_cidr_args[@]:-}" \
--feature-gates="${FEATURE_GATES}" \ --feature-gates="${FEATURE_GATES}" \
--cloud-provider="${CLOUD_PROVIDER}" \ --cloud-provider="${CLOUD_PROVIDER}" \
--cloud-config="${CLOUD_CONFIG}" \ --cloud-config="${CLOUD_CONFIG}" \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment