diff --git a/scripts/functions.sh b/scripts/functions.sh index 3b54b77a..7ecf85ac 100755 --- a/scripts/functions.sh +++ b/scripts/functions.sh @@ -289,7 +289,7 @@ function edit_manifest() { yq e --inplace ".spec.template.spec.containers[0].env[] |= select(.name==\"LOG_LEVEL\").value|=\"$2\"" "$3" ;; "node_selector") - keyVal=(${2//:/ }) + keyVal=("${2//:/ }") yq e --inplace ".spec.template.spec.nodeSelector.\""${keyVal[0]}"\" |= \""${keyVal[1]}"\"" "$3" ;; esac