diff --git a/testing/common.sh b/testing/common.sh index 6a35edd7574..068c671b39a 100644 --- a/testing/common.sh +++ b/testing/common.sh @@ -816,7 +816,9 @@ function install_tenant() { value=myminio echo "Installing lite tenant for version $1" - try kubectl apply -k 'github.com/minio/operator/testing/tenant?ref='v"${1}" + tenant_version="v${1}" + + try kubectl apply -k "github.com/minio/operator/testing/tenant?ref=$tenant_version" fi echo "Waiting for the tenant statefulset, this indicates the tenant is being fulfilled"