Merge pull request #2 from razorpay/rollout

script: adds command to check deployment rollout status
This commit is contained in:
Rahul Menon 2018-01-19 13:56:18 +05:30 committed by GitHub
commit 193a8e5539
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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} \ kubectl -n ${NAMESPACE} set image deployment/${DEPLOY} \
${CONTAINER}="${PLUGIN_REPO}:${PLUGIN_TAG}" --record ${CONTAINER}="${PLUGIN_REPO}:${PLUGIN_TAG}" --record
done done
# wait on deployment rollout status
kubectl -n ${NAMESPACE} rollout status deployment/${DEPLOY}
done done