Change storage version from v1beta1 to v1

This commit is contained in:
xing-yang
2021-04-15 01:54:36 +00:00
parent f255fe7b46
commit 046cce9868
3 changed files with 21 additions and 6 deletions

View File

@@ -58,7 +58,7 @@ spec:
- driver
type: object
served: true
storage: false
storage: true
subresources: {}
- additionalPrinterColumns:
- jsonPath: .driver
@@ -72,6 +72,11 @@ spec:
name: Age
type: date
name: v1beta1
# This indicates the v1beta1 version of the custom resource is deprecated.
# API requests to this version receive a warning in the server response.
deprecated: true
# This overrides the default warning returned to clients making v1beta1 API requests.
deprecationWarning: "snapshot.storage.k8s.io/v1beta1 VolumeSnapshotClass is deprecated; use snapshot.storage.k8s.io/v1 VolumeSnapshotClass"
schema:
openAPIV3Schema:
description: VolumeSnapshotClass specifies parameters that a underlying storage system uses when creating a volume snapshot. A specific VolumeSnapshotClass is used by specifying its name in a VolumeSnapshot object. VolumeSnapshotClasses are non-namespaced
@@ -101,7 +106,7 @@ spec:
- driver
type: object
served: true
storage: true
storage: false
subresources: {}
status:
acceptedNames: