Update microk8s.yaml

This commit is contained in:
Cedric Verstraeten
2024-08-13 20:20:34 +02:00
parent 0940f88ffb
commit 96a07428f9

View File

@@ -5,14 +5,21 @@ on:
jobs:
test:
runs-on: ubuntu-latest
name: A job to install MicroK8s
name: Install MicroK8s
steps:
- uses: balchua/microk8s-actions@v0.3.2
with:
channel: "1.26/stable"
addons: '["dns", "rbac", "hostpath-storage", "registry"]'
channel: "1.30/stable"
addons: '["dns", "dashboard", "hostpath-storage", "nvidia"]'
- name: Test MicroK8s
id: myactions
id: list-pods
run: |
kubectl get no
kubectl get pods -A -o wide
- name: Install Minio
id: install-minio
run: |
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
kubectl get po -A -o wide