Kubernetes VolumeSnapshotClass objects are analogous to StorageClass. It helps to define multiple storage classes and is referenced by Volume Snapshots to associate the snapshot with the required Snapshot Class. Each Volume Snapshot is associated with a single Volume Snapshot Class.
A Volume Snapshot Class is created with the following definition:
apiVersion: snapshot.storage.k8s.io/v1beta1 kind: VolumeSnapshotClass metadata: name: iomesh-csi-driver-default driver: com.iomesh.csi-driver # <-- driver.name in iomesh-values.yaml deletionPolicy: Retain