File tree Expand file tree Collapse file tree 6 files changed +21
-27
lines changed
Expand file tree Collapse file tree 6 files changed +21
-27
lines changed Original file line number Diff line number Diff line change @@ -56,11 +56,10 @@ jobs:
5656 go-version : 1.14.7
5757
5858 - name : Setup Minikube-Kubernetes
59- uses : manusa/actions- setup-minikube@v2.3.0
59+ uses : medyagh/ setup-minikube@latest
6060 with :
61- minikube version : v1.16.0
62- kubernetes version : v1.20.1
63- github token : ${{ secrets.GITHUB_TOKEN }}
61+ minikube-version : 1.24.0
62+ kubernetes-version : v1.22.3
6463
6564 - name : Build images locally
6665 run : make build && make container || exit 1;
6968 run : |
7069 kubectl cluster-info
7170 echo "KUBECONFIG=$HOME/.kube/config" >> $GITHUB_ENV
72- echo "VELERO_RELEASE=v1.6.0 " >> $GITHUB_ENV
71+ echo "VELERO_RELEASE=v1.13.2 " >> $GITHUB_ENV
7372 echo "OPENEBS_RELEASE=master" >> $GITHUB_ENV
7473
7574 - name : Installation
Original file line number Diff line number Diff line change @@ -56,11 +56,10 @@ jobs:
5656 go-version : 1.14.7
5757
5858 - name : Setup Minikube-Kubernetes
59- uses : manusa/actions- setup-minikube@v2.3.0
59+ uses : medyagh/ setup-minikube@latest
6060 with :
61- minikube version : v1.16.0
62- kubernetes version : v1.20.1
63- github token : ${{ secrets.GITHUB_TOKEN }}
61+ minikube-version : 1.24.0
62+ kubernetes-version : v1.22.3
6463
6564 - name : Build images locally
6665 run : make build && make container || exit 1;
6968 run : |
7069 kubectl cluster-info
7170 echo "KUBECONFIG=$HOME/.kube/config" >> $GITHUB_ENV
72- echo "VELERO_RELEASE=v1.6.0 " >> $GITHUB_ENV
71+ echo "VELERO_RELEASE=v1.13.2 " >> $GITHUB_ENV
7372 echo "OPENEBS_RELEASE=master" >> $GITHUB_ENV
7473
7574 - name : Installation
Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ sudo systemctl status iscsid --no-pager
2525echo " Installation complete"
2626
2727# TODO add openebs release
28- kubectl apply -f https://raw.githubusercontent.com/openebs/openebs/master /k8s/openebs-operator.yaml
28+ kubectl apply -f https://raw.githubusercontent.com/openebs/openebs/v3.10.0 /k8s/openebs-operator.yaml
2929
3030function waitForDeployment() {
3131 DEPLOY=$1
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ const (
2121 BusyboxYaml = `apiVersion: v1
2222kind: Pod
2323metadata:
24- name: busybox-cstor
24+ name: busybox-zfs
2525 namespace: default
2626spec:
2727 containers:
3838 volumes:
3939 - name: demo-vol1
4040 persistentVolumeClaim:
41- claimName: cstor-vol1-1r-claim
41+ claimName: csi-zfspv
4242`
4343)
Original file line number Diff line number Diff line change @@ -36,23 +36,22 @@ spec:
3636 SCYaml = `apiVersion: storage.k8s.io/v1
3737kind: StorageClass
3838metadata:
39- name: openebs-cstor-sparse-auto
40- annotations:
41- openebs.io/cas-type: cstor
42- cas.openebs.io/config: |
43- - name: StoragePoolClaim
44- value: "sparse-claim-auto"
45- - name: ReplicaCount
46- value: "1"
47- provisioner: openebs.io/provisioner-iscsi
39+ name: openebs-zfspv
40+ parameters:
41+ recordsize: "128k"
42+ compression: "off"
43+ dedup: "off"
44+ fstype: "zfs"
45+ poolname: "zfspv-pool"
46+ provisioner: zfs.csi.openebs.io
4847`
4948 // PVCYaml for PVC CR
5049 PVCYaml = `kind: PersistentVolumeClaim
5150apiVersion: v1
5251metadata:
53- name: cstor-vol1-1r-claim
52+ name: csi-zfspv
5453spec:
55- storageClassName: openebs-cstor-sparse-auto
54+ storageClassName: openebs-zfspv
5655 accessModes:
5756 - ReadWriteOnce
5857 resources:
Original file line number Diff line number Diff line change @@ -61,9 +61,6 @@ var _ = BeforeSuite(func() {
6161 err = k8s .Client .CreateStorageClass (openebs .SCYaml )
6262 Expect (err ).NotTo (HaveOccurred ())
6363
64- err = openebs .Client .CreateSPC (openebs .SPCYaml )
65- Expect (err ).NotTo (HaveOccurred ())
66-
6764 err = openebs .Client .CreateVolume (openebs .PVCYaml , AppNs , true )
6865 Expect (err ).NotTo (HaveOccurred ())
6966
You can’t perform that action at this time.
0 commit comments