Skip to content

Commit 8ac4daa

Browse files
author
Bob
committed
BZ1906518-v1 fix apiVersion in 4-7
1 parent 5c8437e commit 8ac4daa

4 files changed

+8
-8
lines changed

modules/persistent-storage-csi-snapshots-create.adoc

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ To dynamically create a volume snapshot:
2929
.volumesnapshotclass.yaml
3030
[source,yaml]
3131
----
32-
apiVersion: snapshot.storage.k8s.io
32+
apiVersion: snapshot.storage.k8s.io/v1
3333
kind: VolumeSnapshotClass <1>
3434
metadata:
3535
name: csi-hostpath-snap
@@ -52,7 +52,7 @@ $ oc create -f volumesnapshotclass.yaml
5252
.volumesnapshot-dynamic.yaml
5353
[source,yaml]
5454
----
55-
apiVersion: snapshot.storage.k8s.io
55+
apiVersion: snapshot.storage.k8s.io/v1
5656
kind: VolumeSnapshot
5757
metadata:
5858
name: mysnap
@@ -82,7 +82,7 @@ To manually provision a snapshot:
8282
.volumesnapshot-manual.yaml
8383
[source,yaml]
8484
----
85-
apiVersion: snapshot.storage.k8s.io
85+
apiVersion: snapshot.storage.k8s.io/v1
8686
kind: VolumeSnapshot
8787
metadata:
8888
name: snapshot-demo
@@ -114,7 +114,7 @@ The following example displays details about the `mysnap` volume snapshot:
114114
.volumesnapshot.yaml
115115
[source,yaml]
116116
----
117-
apiVersion: snapshot.storage.k8s.io
117+
apiVersion: snapshot.storage.k8s.io/v1
118118
kind: VolumeSnapshot
119119
metadata:
120120
name: mysnap

modules/persistent-storage-csi-snapshots-delete.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ To enable deletion of a volume snapshot in a cluster:
1717
.volumesnapshot.yaml
1818
[source,yaml]
1919
----
20-
apiVersion: snapshot.storage.k8s.io
20+
apiVersion: snapshot.storage.k8s.io/v1
2121
kind: VolumeSnapshotClass
2222
metadata:
2323
name: csi-hostpath-snap

modules/persistent-storage-csi-snapshots-operator.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ The CSI Snapshot Controller Operator installs the CSI snapshot controller, which
1111

1212
== Volume snapshot CRDs
1313

14-
During {product-title} installation, the CSI Snapshot Controller Operator creates the following snapshot custom resource definitions (CRDs) in the `snapshot.storage.k8s.io/` API group:
14+
During {product-title} installation, the CSI Snapshot Controller Operator creates the following snapshot custom resource definitions (CRDs) in the `snapshot.storage.k8s.io/v1` API group:
1515

1616
`VolumeSnapshotContent`::
1717
A snapshot taken of a volume in the cluster that has been provisioned by a cluster administrator.

modules/persistent-storage-csi-snapshots-restore.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ spec:
3030
dataSource:
3131
name: mysnap <1>
3232
kind: VolumeSnapshot <2>
33-
apiGroup: snapshot.storage.k8s.io <3>
33+
apiGroup: snapshot.storage.k8s.io/v1 <3>
3434
accessModes:
3535
- ReadWriteOnce
3636
resources:
@@ -39,7 +39,7 @@ spec:
3939
----
4040
<1> Name of the `VolumeSnapshot` object representing the snapshot to use as source.
4141
<2> Must be set to the `VolumeSnapshot` value.
42-
<3> Must be set to the `snapshot.storage.k8s.io` value.
42+
<3> Must be set to the `snapshot.storage.k8s.io/v1` value.
4343

4444
. Create a PVC by entering the following command:
4545

0 commit comments

Comments
 (0)