Skip to content

Commit 448232c

Browse files
committed
Add VolumeGroupSnapshot examples
Signed-off-by: Leonardo Cecchi <[email protected]>
1 parent 2caefc6 commit 448232c

File tree

4 files changed

+22
-8
lines changed

4 files changed

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

examples/csi-snapshot-v1beta1.yaml

Lines changed: 0 additions & 8 deletions
This file was deleted.
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
apiVersion: snapshot.storage.k8s.io/v1
2+
kind: VolumeSnapshotClass
3+
metadata:
4+
name: csi-hostpath-snapclass
5+
deletionPolicy: Delete
6+
driver: hostpath.csi.k8s.io

0 commit comments

Comments
 (0)