From ab624c66d65382d76f0ea4b9f570fbe777560773 Mon Sep 17 00:00:00 2001 From: Charles Martinot Date: Wed, 8 Feb 2017 13:55:41 +0800 Subject: [PATCH] Fix bad substitution --- update.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/update.sh b/update.sh index 7234dcc..3056113 100644 --- a/update.sh +++ b/update.sh @@ -18,7 +18,7 @@ kubectl config set-context default --cluster=default --user=default kubectl config use-context default DEPLOYMENTS=$(echo $PLUGIN_DEPLOYMENT|tr -d '[],') -for DEPLOY in ${DEPLOYMENTS[@]}; do +for DEPLOY in "${DEPLOYMENTS[@]}"; do kubectl -n ${PLUGIN_NAMESPACE} set image deployment/${DEPLOY} \ ${PLUGIN_CONTAINER}=${PLUGIN_REPO}:${PLUGIN_TAG} done