From b839c3aa63905fdafe4a59e1b4cb50df10c7f93a Mon Sep 17 00:00:00 2001 From: Humble Chirammal Date: Wed, 16 Nov 2022 10:49:40 +0530 Subject: [PATCH] deploy: remove snapshot v1beta1 references from manifests This commit remove the v1beta1 snapshot references as its no longer valid or to be concerned about. Signed-off-by: Humble Chirammal --- examples/cephfs/snapshot.yaml | 8 -------- examples/cephfs/snapshotclass.yaml | 10 +--------- examples/nfs/snapshotclass.yaml | 2 +- examples/rbd/snapshot.yaml | 8 -------- examples/rbd/snapshotclass.yaml | 10 +--------- 5 files changed, 3 insertions(+), 35 deletions(-) diff --git a/examples/cephfs/snapshot.yaml b/examples/cephfs/snapshot.yaml index 674674e5e..7e737d3d6 100644 --- a/examples/cephfs/snapshot.yaml +++ b/examples/cephfs/snapshot.yaml @@ -1,12 +1,4 @@ --- -# Snapshot API version compatibility matrix: -# v1beta1: -# v1.17 =< k8s < v1.20 -# 2.x =< snapshot-controller < v4.x -# v1: -# k8s >= v1.20 -# snapshot-controller >= v4.x -# We recommend to use {sidecar, controller, crds} of same version apiVersion: snapshot.storage.k8s.io/v1 kind: VolumeSnapshot metadata: diff --git a/examples/cephfs/snapshotclass.yaml b/examples/cephfs/snapshotclass.yaml index 58af84aae..b51b0c331 100644 --- a/examples/cephfs/snapshotclass.yaml +++ b/examples/cephfs/snapshotclass.yaml @@ -1,19 +1,11 @@ --- -# Snapshot API version compatibility matrix: -# v1beta1: -# v1.17 =< k8s < v1.20 -# 2.x =< snapshot-controller < v4.x -# v1: -# k8s >= v1.20 -# snapshot-controller >= v4.x -# We recommend to use {sidecar, controller, crds} of same version apiVersion: snapshot.storage.k8s.io/v1 kind: VolumeSnapshotClass metadata: name: csi-cephfsplugin-snapclass driver: cephfs.csi.ceph.com parameters: - # String representing a Ceph cluster to provision storage from. + # String representing a Ceph cluster to provision storage snapshot from. # Should be unique across all Ceph clusters in use for provisioning, # cannot be greater than 36 bytes in length, and should remain immutable for # the lifetime of the StorageClass in use. diff --git a/examples/nfs/snapshotclass.yaml b/examples/nfs/snapshotclass.yaml index cc1fa2852..229d7744a 100644 --- a/examples/nfs/snapshotclass.yaml +++ b/examples/nfs/snapshotclass.yaml @@ -5,7 +5,7 @@ metadata: name: csi-nfsplugin-snapclass driver: nfs.csi.ceph.com parameters: - # String representing a Ceph cluster to provision storage from. + # String representing a Ceph cluster to provision storage snapshot from. # Should be unique across all Ceph clusters in use for provisioning, # cannot be greater than 36 bytes in length, and should remain immutable for # the lifetime of the StorageClass in use. diff --git a/examples/rbd/snapshot.yaml b/examples/rbd/snapshot.yaml index 5716128bd..8dc24e8c2 100644 --- a/examples/rbd/snapshot.yaml +++ b/examples/rbd/snapshot.yaml @@ -1,12 +1,4 @@ --- -# Snapshot API version compatibility matrix: -# v1beta1: -# v1.17 =< k8s < v1.20 -# 2.x =< snapshot-controller < v4.x -# v1: -# k8s >= v1.20 -# snapshot-controller >= v4.x -# We recommend to use {sidecar, controller, crds} of same version apiVersion: snapshot.storage.k8s.io/v1 kind: VolumeSnapshot metadata: diff --git a/examples/rbd/snapshotclass.yaml b/examples/rbd/snapshotclass.yaml index 67a94e4fa..af48c46e7 100644 --- a/examples/rbd/snapshotclass.yaml +++ b/examples/rbd/snapshotclass.yaml @@ -1,19 +1,11 @@ --- -# Snapshot API version compatibility matrix: -# v1beta1: -# v1.17 =< k8s < v1.20 -# 2.x =< snapshot-controller < v4.x -# v1: -# k8s >= v1.20 -# snapshot-controller >= v4.x -# We recommend to use {sidecar, controller, crds} of same version apiVersion: snapshot.storage.k8s.io/v1 kind: VolumeSnapshotClass metadata: name: csi-rbdplugin-snapclass driver: rbd.csi.ceph.com parameters: - # String representing a Ceph cluster to provision storage from. + # String representing a Ceph cluster to provision storage snapshot from. # Should be unique across all Ceph clusters in use for provisioning, # cannot be greater than 36 bytes in length, and should remain immutable for # the lifetime of the StorageClass in use.