From b5743bf3cc178548a1c68bba47fe218fd1bfa357 Mon Sep 17 00:00:00 2001 From: Leonardo Cecchi Date: Wed, 29 Nov 2023 14:52:47 +0000 Subject: [PATCH] Clarify the meaning of the `matchLabels` field of the PVC selector Signed-off-by: Leonardo Cecchi --- examples/kubernetes/groupsnapshot-v1alpha1.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/examples/kubernetes/groupsnapshot-v1alpha1.yaml b/examples/kubernetes/groupsnapshot-v1alpha1.yaml index 61f3de05..6c7887c2 100644 --- a/examples/kubernetes/groupsnapshot-v1alpha1.yaml +++ b/examples/kubernetes/groupsnapshot-v1alpha1.yaml @@ -7,5 +7,7 @@ spec: source: selector: matchLabels: + # The PVCs will need to have this label for it to be + # included in the VolumeGroupSnapshot app.kubernetes.io/name: postgresql volumeGroupSnapshotClassName: csi-hostpath-groupsnapclass