Fix bad substitution

This commit is contained in:
Charles Martinot 2017-02-08 13:55:41 +08:00
parent 5800042246
commit ab624c66d6
1 changed files with 1 additions and 1 deletions

View File

@ -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