For now we are using the operator namespace name
as the prefix for the csi driver, This PR provides
an option for the users if someone wants to have
their own prefix for the csi driver, if someone tries
to change the prefix for existing csi driver rook
operator will fail to reconcile the csi driver.
Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
(cherry picked from commit c35a8532aa)
15 lines
587 B
YAML
15 lines
587 B
YAML
---
|
|
apiVersion: snapshot.storage.k8s.io/v1
|
|
kind: VolumeSnapshotClass
|
|
metadata:
|
|
name: csi-cephfsplugin-snapclass
|
|
driver: rook-ceph.cephfs.csi.ceph.com # csi-provisioner-name
|
|
parameters:
|
|
# Specify a string that identifies your cluster. Ceph CSI supports any
|
|
# unique string. When Ceph CSI is deployed by Rook use the Rook namespace,
|
|
# for example "rook-ceph".
|
|
clusterID: rook-ceph # namespace:cluster
|
|
csi.storage.k8s.io/snapshotter-secret-name: rook-csi-cephfs-provisioner
|
|
csi.storage.k8s.io/snapshotter-secret-namespace: rook-ceph # namespace:cluster
|
|
deletionPolicy: Delete
|