mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-12-11 07:30:24 +00:00
94ce694e09
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
|