forked from rook/rook
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>
15 lines
578 B
YAML
15 lines
578 B
YAML
---
|
|
apiVersion: snapshot.storage.k8s.io/v1
|
|
kind: VolumeSnapshotClass
|
|
metadata:
|
|
name: csi-rbdplugin-snapclass
|
|
driver: rook-ceph.rbd.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-rbd-provisioner
|
|
csi.storage.k8s.io/snapshotter-secret-namespace: rook-ceph # namespace:cluster
|
|
deletionPolicy: Delete
|