mirror of
https://git.mirrors.martin98.com/https://github.com/ceph/ceph-csi.git
synced 2025-08-02 12:20:36 +08:00

this commit add yaml exampl files for creation of volumegroupsnapshotclass and volumegroupsnapshot for cephfs driver Signed-off-by: yati1998 <ypadia@redhat.com>
14 lines
363 B
YAML
14 lines
363 B
YAML
---
|
|
apiVersion: groupsnapshot.storage.k8s.io/v1alpha1
|
|
kind: VolumeGroupSnapshot
|
|
metadata:
|
|
name: new-groupsnapshot-demo-1
|
|
spec:
|
|
source:
|
|
selector:
|
|
matchLabels:
|
|
# The PVCs will need to have this label for it to be
|
|
# included in the VolumeGroupSnapshot
|
|
group: test
|
|
volumeGroupSnapshotClassName: csi-cephfsplugin-groupsnapclass
|