---
apiVersion: groupsnapshot.storage.k8s.io/v1beta1
kind: VolumeGroupSnapshot
metadata:
  name: rbd-groupsnapshot
spec:
  source:
    selector:
      matchLabels:
        # The PVCs will need to have this label for it to be
        # included in the VolumeGroupSnapshot
        group: test
  volumeGroupSnapshotClassName: csi-rbdplugin-groupsnapclass