script: adds command to check deployment rollout status

This commit is contained in:
hashfyre 2018-01-19 13:43:19 +05:30
parent e0e14785e4
commit 694dddeaaf
1 changed files with 2 additions and 0 deletions

View File

@ -71,4 +71,6 @@ for DEPLOY in ${DEPLOYMENTS[@]}; do
kubectl -n ${NAMESPACE} set image deployment/${DEPLOY} \
${CONTAINER}="${PLUGIN_REPO}:${PLUGIN_TAG}" --record
done
# wait on deployment rollout status
kubectl -n ${NAMESPACE} rollout status deployment/${DEPLOY}
done