2019-01-25 19:10:20 +00:00
|
|
|
---
|
2020-04-16 06:31:33 +00:00
|
|
|
apiVersion: snapshot.storage.k8s.io/v1beta1
|
2019-01-25 19:10:20 +00:00
|
|
|
kind: VolumeSnapshotClass
|
|
|
|
metadata:
|
|
|
|
name: csi-rbdplugin-snapclass
|
2020-04-16 06:31:33 +00:00
|
|
|
driver: rbd.csi.ceph.com
|
2019-01-25 19:10:20 +00:00
|
|
|
parameters:
|
2019-03-12 15:57:36 +00:00
|
|
|
# String representing a Ceph cluster to provision storage from.
|
2019-03-13 13:46:56 +00:00
|
|
|
# Should be unique across all Ceph clusters in use for provisioning,
|
2019-03-12 15:57:36 +00:00
|
|
|
# cannot be greater than 36 bytes in length, and should remain immutable for
|
|
|
|
# the lifetime of the StorageClass in use.
|
2019-04-22 21:35:39 +00:00
|
|
|
# Ensure to create an entry in the config map named ceph-csi-config, based on
|
|
|
|
# csi-config-map-sample.yaml, to accompany the string chosen to
|
|
|
|
# represent the Ceph cluster in clusterID below
|
|
|
|
clusterID: <cluster-id>
|
|
|
|
|
2020-05-22 05:08:55 +00:00
|
|
|
# Prefix to use for naming RBD snapshots.
|
|
|
|
# If omitted, defaults to "csi-snap-".
|
|
|
|
# snapshotNamePrefix: "foo-bar-"
|
|
|
|
|
2019-01-25 19:10:20 +00:00
|
|
|
csi.storage.k8s.io/snapshotter-secret-name: csi-rbd-secret
|
|
|
|
csi.storage.k8s.io/snapshotter-secret-namespace: default
|
2020-04-16 06:31:33 +00:00
|
|
|
deletionPolicy: Delete
|