diff --git a/.github/workflows/microk8s.yaml b/.github/workflows/microk8s.yaml index 33a78dc..131c3a1 100644 --- a/.github/workflows/microk8s.yaml +++ b/.github/workflows/microk8s.yaml @@ -24,5 +24,14 @@ jobs: git clone --depth 1 --branch v6.0.1 https://github.com/minio/operator.git && kubectl apply -k operator/ sed -i 's/openebs-hostpath/microk8s-hostpath/g' ./minio-tenant-base.yaml kubectl apply -f minio-tenant-base.yaml - echo "Sleeping for 10 seconds, give time for the operator/tenant to create the CRDs" && sleep 10 + echo "Sleeping for 30 seconds, give time for the operator/tenant to create the CRDs" && sleep 30 kubectl get po -A -o wide + - name: Install MongoDB + id: install-mongodb + run: | + helm repo add bitnami https://charts.bitnami.com/bitnami + kubectl create namespace mongodb + sed -i 's/openebs-hostpath/microk8s-hostpath/g' ./mongodb-values.yaml + helm install mongodb -n mongodb bitnami/mongodb --values ./mongodb-values.yaml + echo "Sleeping for 30 seconds, give time for the helm chart to create the pods" && sleep 30 + kubectl get po -w -A