Skip to content

Commit

Permalink
Update stash.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
tamalsaha committed Jun 22, 2018
1 parent 63783cc commit 02eca27
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hack/deploy/stash.sh
Expand Up @@ -226,7 +226,7 @@ if [ "$STASH_UNINSTALL" -eq 1 ]; then

echo "waiting for stash operator pod to stop running"
for (( ; ; )); do
pods=($(kubectl get pods --all-namespaces -l app=stash -o jsonpath='{range .items[*]}{.metadata.name} {end}'))
pods=($(kubectl get pods --namespace $STASH_NAMESPACE -l app=stash -o jsonpath='{range .items[*]}{.metadata.name} {end}'))
total=${#pods[*]}
if [ $total -eq 0 ] ; then
break
Expand Down

0 comments on commit 02eca27

Please sign in to comment.