From 0378bbb9d9e56aa62bd4be6b30fccf47e6e0c3ff Mon Sep 17 00:00:00 2001 From: Charles Martinot Date: Wed, 8 Feb 2017 15:55:51 +0800 Subject: [PATCH] Fix separator in string to array conversion --- update.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/update.sh b/update.sh index 1345aad..8471f4f 100644 --- a/update.sh +++ b/update.sh @@ -17,7 +17,7 @@ kubectl config set-cluster default --server=${KUBERNETES_SERVER} --insecure-skip kubectl config set-context default --cluster=default --user=default kubectl config use-context default -IFS=', ' read -r -a DEPLOYMENTS <<< "$PLUGIN_DEPLOYMENT" +IFS=',' read -r -a DEPLOYMENTS <<< "$PLUGIN_DEPLOYMENT" for DEPLOY in ${DEPLOYMENTS[@]}; do echo Deploying to $KUBERNETES_SERVER kubectl -n ${PLUGIN_NAMESPACE} set image deployment/${DEPLOY} \