mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-12-23 13:30:23 +00:00
97f8c4b677
This commit provides the option to pass in Ceph cluster-id instead of a MON list from the storage class. This helps in moving towards a stateless CSI implementation. Tested the following, - PV provisioning and staging using cluster-id in storage class - PV provisioning and staging using MON list in storage class Did not test, - snapshot operations in either forms of the storage class Signed-off-by: ShyamsundarR <srangana@redhat.com>
18 lines
538 B
YAML
18 lines
538 B
YAML
---
|
|
apiVersion: snapshot.storage.k8s.io/v1alpha1
|
|
kind: VolumeSnapshotClass
|
|
metadata:
|
|
name: csi-rbdplugin-snapclass
|
|
snapshotter: rbd.csi.ceph.com
|
|
parameters:
|
|
pool: rbd
|
|
# Comma separated list of Ceph monitors
|
|
# if using FQDN, make sure csi plugin's dns policy is appropriate.
|
|
monitors: mon1:port,mon2:port,...
|
|
# OR,
|
|
# Ceph cluster fsid, of the cluster to provision storage from
|
|
# clusterID: <ceph-fsid>
|
|
|
|
csi.storage.k8s.io/snapshotter-secret-name: csi-rbd-secret
|
|
csi.storage.k8s.io/snapshotter-secret-namespace: default
|