Add information about deployment

This commit is contained in:
Charles Martinot 2017-02-08 15:39:11 +08:00
parent 995b37fe1a
commit 18bb02bede
1 changed files with 1 additions and 0 deletions

View File

@ -19,6 +19,7 @@ kubectl config use-context default
IFS=', ' read -r -a DEPLOYMENTS <<< "$PLUGIN_DEPLOYMENT" IFS=', ' read -r -a DEPLOYMENTS <<< "$PLUGIN_DEPLOYMENT"
for DEPLOY in ${DEPLOYMENTS[@]}; do for DEPLOY in ${DEPLOYMENTS[@]}; do
echo Deploying to $KUBERNETES_SERVER
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