Update Minio installation command to specify namespace for kubectl wait condition

This commit is contained in:
cedricve
2025-11-26 16:21:51 +01:00
parent 088e7f3600
commit 25172b8cb0

View File

@@ -51,7 +51,7 @@ jobs:
run: |
git clone --depth 1 --branch v6.0.1 https://github.com/minio/operator.git && kubectl apply -k operator/
kubectl apply -f ./base/minio/minio-tenant-base.yaml
kubectl wait --for=condition=TenantInitialized tenant/myminio --timeout=300s
kubectl wait --for=condition=TenantInitialized tenant/myminio -n minio-tenant --timeout=300s
kubectl get po -A -o wide
kubectl get po -A -o wide | grep myminio-pool-0-0 | awk '{print $3}' | grep -q '2/2' && echo "myminio-pool-0-0 pod is running with status 2/2" || (echo "myminio-pool-0-0 pod is not running with status 2/2" && exit 1)
- name: Install MongoDB