From eb8127631ecdff4f015c108378f4619f5eec9a3e Mon Sep 17 00:00:00 2001 From: Cedric Verstraeten Date: Wed, 14 Aug 2024 08:04:21 +0200 Subject: [PATCH] Update microk8s.yaml --- .github/workflows/microk8s.yaml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) 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