From d92e084dc17a57c2ce150747c827880b2bf4306e Mon Sep 17 00:00:00 2001 From: Prasanna Kumar Kalever Date: Fri, 12 Mar 2021 15:02:56 +0530 Subject: [PATCH] deploy: bump up the API version from v1beta1 to v1 With v4.0.0 release of external-snapshotter, we are moving towards v1 from v1beta1 API version Signed-off-by: Prasanna Kumar Kalever --- examples/cephfs/snapshot.yaml | 10 +++++++++- examples/cephfs/snapshotclass.yaml | 10 +++++++++- examples/rbd/snapshot.yaml | 10 +++++++++- examples/rbd/snapshotclass.yaml | 10 +++++++++- 4 files changed, 36 insertions(+), 4 deletions(-) diff --git a/examples/cephfs/snapshot.yaml b/examples/cephfs/snapshot.yaml index 52bd2c2ff..29e0a8f58 100644 --- a/examples/cephfs/snapshot.yaml +++ b/examples/cephfs/snapshot.yaml @@ -1,5 +1,13 @@ --- -apiVersion: snapshot.storage.k8s.io/v1beta1 +# Snapshot API version compatibility matrix: +# v1betav1: +# 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: name: cephfs-pvc-snapshot diff --git a/examples/cephfs/snapshotclass.yaml b/examples/cephfs/snapshotclass.yaml index 3444f5199..62379cb8c 100644 --- a/examples/cephfs/snapshotclass.yaml +++ b/examples/cephfs/snapshotclass.yaml @@ -1,5 +1,13 @@ --- -apiVersion: snapshot.storage.k8s.io/v1beta1 +# Snapshot API version compatibility matrix: +# v1betav1: +# 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 diff --git a/examples/rbd/snapshot.yaml b/examples/rbd/snapshot.yaml index a7127ab57..014634f44 100644 --- a/examples/rbd/snapshot.yaml +++ b/examples/rbd/snapshot.yaml @@ -1,5 +1,13 @@ --- -apiVersion: snapshot.storage.k8s.io/v1beta1 +# Snapshot API version compatibility matrix: +# v1betav1: +# 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: name: rbd-pvc-snapshot diff --git a/examples/rbd/snapshotclass.yaml b/examples/rbd/snapshotclass.yaml index 0e8fc3daa..d2f325bc0 100644 --- a/examples/rbd/snapshotclass.yaml +++ b/examples/rbd/snapshotclass.yaml @@ -1,5 +1,13 @@ --- -apiVersion: snapshot.storage.k8s.io/v1beta1 +# Snapshot API version compatibility matrix: +# v1betav1: +# 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