diff --git a/testing/common.sh b/testing/common.sh index 533112454a2..6a35edd7574 100644 --- a/testing/common.sh +++ b/testing/common.sh @@ -745,7 +745,7 @@ function check_tenant_status() { function install_cert_manager_tenant() { echo "Install cert-manager tenant from our example:" - try kubectl apply -k github.com/minio/operator/examples/kustomization/tenant-certmanager + try kubectl apply -k "${SCRIPT_DIR}/../examples/kustomization/tenant-certmanager" echo "Wait until tenant-certmanager-tls secret is generated by cert-manager..." while ! kubectl get secret tenant-certmanager-tls --namespace tenant-certmanager @@ -816,7 +816,7 @@ 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}" + try kubectl apply -k 'github.com/minio/operator/testing/tenant?ref='v"${1}" fi echo "Waiting for the tenant statefulset, this indicates the tenant is being fulfilled"