From 694dddeaaf2262d4d1b073fc99a20d115ba66d2e Mon Sep 17 00:00:00 2001 From: hashfyre Date: Fri, 19 Jan 2018 13:43:19 +0530 Subject: [PATCH] script: adds command to check deployment rollout status --- update.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/update.sh b/update.sh index 6d06a96..a439397 100755 --- a/update.sh +++ b/update.sh @@ -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