diff --git a/hack/bin/integration-cleanup.sh b/hack/bin/integration-cleanup.sh index 578acb2a8c9..e814fa43852 100755 --- a/hack/bin/integration-cleanup.sh +++ b/hack/bin/integration-cleanup.sh @@ -8,7 +8,7 @@ set -euo pipefail DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" -releases=$(helm list -A -f 'test-' -o json | +releases=$(helm list -A -f '^test-' -o json | jq -r -f "$DIR/filter-old-releases.jq") if [ -n "$releases" ]; then