diff --git a/examples/production/run-tests.sh b/examples/production/run-tests.sh index 56e58f490..143a61e25 100755 --- a/examples/production/run-tests.sh +++ b/examples/production/run-tests.sh @@ -108,7 +108,7 @@ install_and_test() { helm test --namespace "${ns}" spire } -if [[ ! -z "$UPGRADE_ARGS" ]]; then +if [[ -n "$UPGRADE_ARGS" ]]; then install_and_test spire "$UPGRADE_ARGS" # Any other upgrade steps go here. (Upgrade crds, delete statefulsets without cascade, etc.) fi