mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-12-18 02:50:30 +00:00
script: Delete snapshot CRD created by cephcsi in rook
when we deploy rook+cephcsi for E2E, the external-snapshotter in cephcsi deployed by rook will create the CRD, we need to delete the crd created by external-snapshotter. Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
This commit is contained in:
parent
4606b5042f
commit
538b854853
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user