diff --git a/scripts/travis-functest.sh b/scripts/travis-functest.sh index bb5975c21..6ef7fcd3d 100755 --- a/scripts/travis-functest.sh +++ b/scripts/travis-functest.sh @@ -10,6 +10,8 @@ sudo scripts/minikube.sh create-block-pool # pull docker images to speed up e2e sudo scripts/minikube.sh cephcsi sudo scripts/minikube.sh k8s-sidecar +# delete snapshot CRD created by ceph-csi in rook +scripts/install-snapshot.sh delete-crd # install snapshot controller scripts/install-snapshot.sh install sudo chown -R travis: "$HOME"/.minikube /usr/local/bin/kubectl diff --git a/scripts/travis-helmtest.sh b/scripts/travis-helmtest.sh index 7b60eff63..fb04453d9 100755 --- a/scripts/travis-helmtest.sh +++ b/scripts/travis-helmtest.sh @@ -15,6 +15,8 @@ sudo chown -R travis: "$HOME"/.minikube /usr/local/bin/kubectl NAMESPACE=cephcsi-e2e-$RANDOM # create ns for e2e kubectl create ns ${NAMESPACE} +# delete snapshot CRD created by ceph-csi in rook +scripts/install-snapshot.sh delete-crd # install snapshot controller scripts/install-snapshot.sh install # set up helm