This commit is contained in:
Charles Martinot 2017-02-08 14:22:54 +08:00
parent db12f751c0
commit 210c92f1e6
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 kubectl config use-context default
DEPLOYMENTS=$(echo $PLUGIN_DEPLOYMENT|tr -d '[],') DEPLOYMENTS=$(echo $PLUGIN_DEPLOYMENT|tr -d '[],')
for DEPLOY in "${DEPLOYMENTS[@]}"; do for DEPLOY in ${DEPLOYMENTS[@]}; do
kubectl -n ${PLUGIN_NAMESPACE} set image deployment/${DEPLOY} \ kubectl -n ${PLUGIN_NAMESPACE} set image deployment/${DEPLOY} \
${PLUGIN_CONTAINER}=${PLUGIN_REPO}:${PLUGIN_TAG} ${PLUGIN_CONTAINER}=${PLUGIN_REPO}:${PLUGIN_TAG}
done done