Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1906283

Summary: [Doc] apiVersion for volumesnapshotclass and volumesnapshot is not correct
Product: OpenShift Container Platform Reporter: Qin Ping <piqin>
Component: DocumentationAssignee: Bob Furu <bfuru>
Status: CLOSED CURRENTRELEASE QA Contact: Wei Duan <wduan>
Severity: medium Docs Contact: Vikram Goyal <vigoyal>
Priority: unspecified    
Version: 4.7CC: aos-bugs, bfuru, jokerman
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-01-07 22:21:42 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Qin Ping 2020-12-10 06:31:05 UTC
Document URL: 
https://github.com/openshift/openshift-docs/blob/master/modules/persistent-storage-csi-snapshots-create.adoc

Section Number and Name: 
Procedure

Describe the issue: 
In this doc the apiVersion for volumesnapshotclass and volumesnapshot is snapshot.storage.k8s.io, it's not correct

Suggestions for improvement: 
The apiVersion should be: snapshot.storage.k8s.io/v1beta1

Additional information:

Comment 2 Bob Furu 2020-12-11 15:35:27 UTC
The PR to update this (https://github.com/openshift/openshift-docs/pull/28034) is changing the CSI snapshot apiVersion to `snapshot.storage.k8s.io/v1beta1`. But with 4.7 GA, it will change to `snapshot.storage.k8s.io/v1`. Therefore, once PR28034 merges and prior to 4.7 GA, we need to update docs to `v1` and not `v1beta1` in a separate PR against master, CP to 4.7 only.

Changing to POST until the new PR is created.

Comment 3 Bob Furu 2020-12-22 20:24:14 UTC
Created and merged https://github.com/openshift/openshift-docs/pull/28289 to update 4.7+ docs to use `apiVersion: snapshot.storage.k8s.io/v1`, per https://github.com/openshift/cluster-csi-snapshot-controller-operator/pull/69.

Prior to 4.7, this should be `apiVersion: snapshot.storage.k8s.io/v1beta1`.

Comment 4 Bob Furu 2021-01-07 22:21:42 UTC
Related PRs have been reviewed, approved, and merged. Content published to 4.5, 4.6, and 4.7, respectively:
- 4.5: https://github.com/openshift/openshift-docs/pull/28330
- 4.6: https://github.com/openshift/openshift-docs/pull/28331
- 4.7: https://github.com/openshift/openshift-docs/pull/28034

Closing BZ.