diff options
author | efiacor <fiachra.corcoran@est.tech> | 2022-04-04 11:40:23 +0100 |
---|---|---|
committer | Fiachra Corcoran <fiachra.corcoran@est.tech> | 2022-04-04 11:13:36 +0000 |
commit | 412448cb66782befbca7ec3ee22346fe7557aa3d (patch) | |
tree | 800ca03dca4b9c9e6bd1cca8aa4be766da1f5c61 /kubernetes/helm/plugins | |
parent | 934fd86be2174eb526dd70669a490e77644701e2 (diff) |
[DEPLOY] Bug fix for positional arg in deploy.sh
Bug fix for positional arg in deploy.sh
Signed-off-by: efiacor <fiachra.corcoran@est.tech>
Change-Id: Ic8de9baf9236e65e53a0d2d9ba084208a3212772
Issue-ID: OOM-2955
Diffstat (limited to 'kubernetes/helm/plugins')
-rwxr-xr-x | kubernetes/helm/plugins/deploy/deploy.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kubernetes/helm/plugins/deploy/deploy.sh b/kubernetes/helm/plugins/deploy/deploy.sh index 81bc4135e9..f32281da08 100755 --- a/kubernetes/helm/plugins/deploy/deploy.sh +++ b/kubernetes/helm/plugins/deploy/deploy.sh @@ -91,7 +91,7 @@ resolve_deploy_flags() { check_for_dep() { try=0 retries=30 - until (kubectl get deployment -n $RELEASE | grep -P "\b$2\b") &>/dev/null; do + until (kubectl get deployment -n $RELEASE | grep -P "\b$1\b") &>/dev/null; do (( ++try > retries )) && exit 1 echo "$1 not found. Retry $try/$retries" sleep 5 |