From 9622ce3d09d98b1c91a5697697d754ba2fefe2cd Mon Sep 17 00:00:00 2001 From: Lisa Pettyjohn Date: Fri, 16 Jan 2026 14:02:16 -0500 Subject: [PATCH] OSDOCS-17931#VolumeGroup Snapshots bump API to v1beta2 --- .../persistent-storage-csi-group-snapshot-create-admin.adoc | 3 ++- modules/persistent-storage-csi-group-snapshots-create.adoc | 5 +++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/modules/persistent-storage-csi-group-snapshot-create-admin.adoc b/modules/persistent-storage-csi-group-snapshot-create-admin.adoc index 2ace7dae60..1f60037917 100644 --- a/modules/persistent-storage-csi-group-snapshot-create-admin.adoc +++ b/modules/persistent-storage-csi-group-snapshot-create-admin.adoc @@ -6,6 +6,7 @@ [id="persistent-storage-csi-group-snapshots-create-admin_{context}"] = Creating a volume group snapshot class +[role="_abstract"] Before you can create volume group snapshots, the cluster administrator needs to create a `VolumeGroupSnapshotClass`. This object describes how volume group snapshots should be created, including the driver information, the deletion policy, etc. @@ -24,7 +25,7 @@ To create a `VolumeGroupSnapshotClass`: .Example volume group snapshot class YAML file [source, yaml] ---- -apiVersion: groupsnapshot.storage.k8s.io/v1beta1 +apiVersion: groupsnapshot.storage.k8s.io/v1beta2 kind: VolumeGroupSnapshotClass <1> metadata: name: csi-hostpath-groupsnapclass <2> diff --git a/modules/persistent-storage-csi-group-snapshots-create.adoc b/modules/persistent-storage-csi-group-snapshots-create.adoc index 0ceb001bb3..7bedfe3c28 100644 --- a/modules/persistent-storage-csi-group-snapshots-create.adoc +++ b/modules/persistent-storage-csi-group-snapshots-create.adoc @@ -6,6 +6,7 @@ [id="persistent-storage-csi-group-snapshots-create_{context}"] = Creating a volume group snapshot +[role="_abstract"] When you create a `VolumeGroupSnapshot` object, {product-title} creates a volume group snapshot. .Prerequisites @@ -71,7 +72,7 @@ In this example, you are labeling PVC "pvc-0" and "pvc-1" to belong to group "my .Example VolumeGroupSnapshot YAML file [source, yaml] ---- -apiVersion: groupsnapshot.storage.k8s.io/v1beta1 +apiVersion: groupsnapshot.storage.k8s.io/v1beta2 kind: VolumeGroupSnapshot <1> metadata: name: <2> @@ -110,7 +111,7 @@ metadata: name: snapshot-4dc1c53a29538b36e85003503a4bcac5dbde4cff59e81f1e3bb80b6c18c3fd03 namespace: default ownerReferences: - - apiVersion: groupsnapshot.storage.k8s.io/v1beta1 + - apiVersion: groupsnapshot.storage.k8s.io/v1beta2 kind: VolumeGroupSnapshot name: my-groupsnapshot uid: ba2d60c5-5082-4279-80c2-daa85f0af354