Skip to content

Commit c5038ac

Browse files
committed
Add VolumeGroupSnaphot examples
Signed-off-by: Leonardo Cecchi <[email protected]>
1 parent c68695b commit c5038ac

File tree

2 files changed

+18
-0
lines changed

2 files changed

+18
-0
lines changed
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
---
2+
apiVersion: groupsnapshot.storage.k8s.io/v1alpha1
3+
kind: VolumeGroupSnapshot
4+
metadata:
5+
name: new-groupsnapshot-demo
6+
spec:
7+
source:
8+
selector:
9+
matchLabels:
10+
app.kubernetes.io/name: postgresql
11+
volumeGroupSnapshotClassName: csi-hostpath-groupsnapclass
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
apiVersion: groupsnapshot.storage.k8s.io/v1alpha1
3+
kind: VolumeGroupSnapshotClass
4+
metadata:
5+
name: csi-hostpath-groupsnapclass
6+
driver: hostpath.csi.k8s.io
7+
deletionPolicy: Delete

0 commit comments

Comments
 (0)