Update microk8s.yaml

This commit is contained in:
Cedric Verstraeten
2024-08-14 08:04:21 +02:00
parent 0f4a9f25d5
commit eb8127631e

View File

@@ -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