Code Review
/
oom.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
[DEPLOY] Bug fix for positional arg in deploy.sh
[oom.git]
/
kubernetes
/
helm
/
plugins
/
deploy
/
deploy.sh
diff --git
a/kubernetes/helm/plugins/deploy/deploy.sh
b/kubernetes/helm/plugins/deploy/deploy.sh
index
81bc413
..
f32281d
100755
(executable)
--- 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
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
(( ++try > retries )) && exit 1
echo "$1 not found. Retry $try/$retries"
sleep 5