Skip to content

Commit

Permalink
Fix test-tenant-upgrade: install tenant specific version from branch
Browse files Browse the repository at this point in the history
Fix test-cert-manager: install example tenant-certmanager from local branch  instead of latest

Signed-off-by: pjuarezd <[email protected]>
  • Loading branch information
pjuarezd committed Aug 14, 2024
1 parent 805c064 commit 6089bfd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions testing/common.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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"
Expand Down

0 comments on commit 6089bfd

Please sign in to comment.