mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-12-23 05:20:19 +00:00
d92e084dc1
With v4.0.0 release of external-snapshotter, we are moving towards v1 from v1beta1 API version Signed-off-by: Prasanna Kumar Kalever <prasanna.kalever@redhat.com>
32 lines
1.1 KiB
YAML
32 lines
1.1 KiB
YAML
---
|
|
# Snapshot API version compatibility matrix:
|
|
# v1betav1:
|
|
# v1.17 =< k8s < v1.20
|
|
# 2.x =< snapshot-controller < v4.x
|
|
# v1:
|
|
# k8s >= v1.20
|
|
# snapshot-controller >= v4.x
|
|
# We recommend to use {sidecar, controller, crds} of same version
|
|
apiVersion: snapshot.storage.k8s.io/v1
|
|
kind: VolumeSnapshotClass
|
|
metadata:
|
|
name: csi-cephfsplugin-snapclass
|
|
driver: cephfs.csi.ceph.com
|
|
parameters:
|
|
# String representing a Ceph cluster to provision storage from.
|
|
# Should be unique across all Ceph clusters in use for provisioning,
|
|
# cannot be greater than 36 bytes in length, and should remain immutable for
|
|
# the lifetime of the StorageClass in use.
|
|
# Ensure to create an entry in the configmap 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>
|
|
|
|
# Prefix to use for naming CephFS snapshots.
|
|
# If omitted, defaults to "csi-snap-".
|
|
# snapshotNamePrefix: "foo-bar-"
|
|
|
|
csi.storage.k8s.io/snapshotter-secret-name: csi-cephfs-secret
|
|
csi.storage.k8s.io/snapshotter-secret-namespace: default
|
|
deletionPolicy: Delete
|