Update Minio pod status check to reflect expected readiness state

This commit is contained in:
Cédric Verstraeten
2025-05-20 12:35:41 +02:00
parent f758c17cc5
commit 4d2211b92b
3 changed files with 3 additions and 3 deletions

View File

@@ -50,7 +50,7 @@ jobs:
kubectl apply -f ./base/minio/minio-tenant-base.yaml
echo "Sleeping for 60 seconds, give time for the operator/tenant to create the CRDs" && sleep 60
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)
kubectl get po -A -o wide | grep myminio-pool-0-0 | awk '{print $3}' | grep -q '1/2' && echo "myminio-pool-0-0 pod is running with status 1/2" || (echo "myminio-pool-0-0 pod is not running with status 1/2" && exit 1)
- name: Install MongoDB
id: install-mongodb
run: |

View File

@@ -48,7 +48,7 @@ jobs:
kubectl apply -f ./base/minio/minio-tenant-base.yaml
echo "Sleeping for 60 seconds, give time for the operator/tenant to create the CRDs" && sleep 60
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)
kubectl get po -A -o wide | grep myminio-pool-0-0 | awk '{print $3}' | grep -q '1/2' && echo "myminio-pool-0-0 pod is running with status 1/2" || (echo "myminio-pool-0-0 pod is not running with status 1/2" && exit 1)
- name: Install MongoDB
id: install-mongodb
run: |

View File

@@ -46,7 +46,7 @@ jobs:
kubectl apply -f ./base/minio/minio-tenant-base.yaml
echo "Sleeping for 60 seconds, give time for the operator/tenant to create the CRDs" && sleep 60
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)
kubectl get po -A -o wide | grep myminio-pool-0-0 | awk '{print $3}' | grep -q '1/2' && echo "myminio-pool-0-0 pod is running with status 1/2" || (echo "myminio-pool-0-0 pod is not running with status 1/2" && exit 1)
- name: Install MongoDB
id: install-mongodb
run: |