deploy: snapshot deployment is no longer beta

Considering snapshot controllers have been moved to GA since
kube version 1.20, we no longer need to have a mention of beta
version of the same in our deployment.

Signed-off-by: Humble Chirammal <hchiramm@redhat.com>
This commit is contained in:
Humble Chirammal 2022-04-11 14:13:21 +05:30 committed by mergify[bot]
parent 9b8bcbd874
commit a44a97f3c5
2 changed files with 1 additions and 25 deletions

View File

@ -106,30 +106,6 @@ are available while running tests:
After the support for snapshot/clone has been added to ceph-csi, After the support for snapshot/clone has been added to ceph-csi,
you need to follow these steps before running e2e. you need to follow these steps before running e2e.
Please note that the snapshot operation works only if the Kubernetes version
is greater than or equal to 1.17.0.
- Delete Alpha snapshot CRD created by ceph-csi in rook.
- Check if you have any `v1alpha1` CRD created in our Kubernetes cluster
```bash
$ kubectl get crd volumesnapshotclasses.snapshot.storage.k8s.io -o yaml |grep v1alpha1
- name: v1alpha1
- v1alpha1
$ kubectl get crd volumesnapshotcontents.snapshot.storage.k8s.io -o yaml |grep v1alpha1
- name: v1alpha1
- v1alpha1
$ kubectl get crd volumesnapshots.snapshot.storage.k8s.io -o yaml |grep v1alpha1
- name: v1alpha1
- v1alpha1
```
- If you have Alpha CRD, delete it as from Kubernetes 1.17.0+ the snapshot
should be `v1beta1`
```console
./scripts/install-snapshot.sh delete-crd
```
- Install snapshot controller and Beta snapshot CRD - Install snapshot controller and Beta snapshot CRD

View File

@ -1,6 +1,6 @@
#!/bin/bash -e #!/bin/bash -e
# This script can be used to install/delete snapshotcontroller and snapshot beta CRD # This script can be used to install/delete snapshotcontroller and snapshot CRD
SCRIPT_DIR="$(dirname "${0}")" SCRIPT_DIR="$(dirname "${0}")"