Add VolumeGroupSnaphot examples

Signed-off-by: Leonardo Cecchi <leonardo.cecchi@enterprisedb.com>
This commit is contained in:
Leonardo Cecchi
2023-11-27 10:49:33 +01:00
parent c68695b6d1
commit c5038ac31d
2 changed files with 18 additions and 0 deletions

View File

@@ -0,0 +1,11 @@
---
apiVersion: groupsnapshot.storage.k8s.io/v1alpha1
kind: VolumeGroupSnapshot
metadata:
name: new-groupsnapshot-demo
spec:
source:
selector:
matchLabels:
app.kubernetes.io/name: postgresql
volumeGroupSnapshotClassName: csi-hostpath-groupsnapclass

View File

@@ -0,0 +1,7 @@
---
apiVersion: groupsnapshot.storage.k8s.io/v1alpha1
kind: VolumeGroupSnapshotClass
metadata:
name: csi-hostpath-groupsnapclass
driver: hostpath.csi.k8s.io
deletionPolicy: Delete