mirror of
https://github.com/outbackdingo/deployment.git
synced 2026-03-21 07:43:40 +00:00
Update microk8s.yaml
This commit is contained in:
4
.github/workflows/microk8s.yaml
vendored
4
.github/workflows/microk8s.yaml
vendored
@@ -27,9 +27,9 @@ 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 30 seconds, give time for the operator/tenant to create the CRDs" && sleep 30
|
||||
echo "Sleeping for 45 seconds, give time for the operator/tenant to create the CRDs" && sleep 45
|
||||
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 "minio-tenant pod is running with status 1/1" || (echo "minio-tenant pod is not running with status 1/1" && exit 1)
|
||||
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
|
||||
id: install-mongodb
|
||||
run: |
|
||||
|
||||
Reference in New Issue
Block a user