From fe2b999d246adc3211dc55f02d9c75a6d3f8cdce Mon Sep 17 00:00:00 2001 From: Raunak Pradip Shah Date: Tue, 12 Mar 2024 11:43:48 -0700 Subject: [PATCH 1/3] Doc update for Volume mode conversion GA --- book/src/prevent-volume-mode-conversion.md | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/book/src/prevent-volume-mode-conversion.md b/book/src/prevent-volume-mode-conversion.md index 0991776a..cf443e94 100644 --- a/book/src/prevent-volume-mode-conversion.md +++ b/book/src/prevent-volume-mode-conversion.md @@ -5,6 +5,8 @@ Status | Min K8s Version | Max K8s Version | external-snapshotter Version | external-provisioner Version --|--|--|--|-- Alpha | 1.24 | - | 6.0.1+ | 3.2.1+ +Beta | 1.28 | - | 7.0.0+ | 4.0.0+ +GA | 1.30 | - | 7.0.2+ | 4.0.1+ ## Overview @@ -21,11 +23,11 @@ the mode of a volume when a `PersistentVolumeClaim` is being created from an exi ## Usage -To enable this feature, cluster administrators must: +This feature is enabled by default and moved to GA with the Kubernetes 1.30 release. +To use this feature, cluster administrators must: -* Create `VolumeSnapshot` APIs with a minimum version of [`v6.0.1`](https://github.com/kubernetes-csi/external-snapshotter/releases/tag/client%2Fv6.0.1). -* Use `snapshot-controller` and `snapshot-validation-webhook` with a minimum version of `v6.0.1`. -* Use `external-provisioner` with a minimum version of [`v3.2.1`](https://github.com/kubernetes-csi/external-provisioner/releases/tag/v3.2.1). -* Set `--prevent-volume-mode-conversion=true` flag in `snapshot-controller`, `snapshot-validation-webhook` and `external-provisioner`. +* Create `VolumeSnapshot` APIs with a minimum version of [`v7.0.2`](https://github.com/kubernetes-csi/external-snapshotter/releases/tag/client%2Fv7.0.2). +* Use `snapshot-controller` and `snapshot-validation-webhook` with a minimum version of `v7.0.2`. +* Use `external-provisioner` with a minimum version of [`v4.0.1`](https://github.com/kubernetes-csi/external-provisioner/releases/tag/v4.0.1). -> For more information about how to use the feature, visit the [Kubernetes blog](https://kubernetes.io/blog/2022/05/18/prevent-unauthorised-volume-mode-conversion-alpha/) page. \ No newline at end of file +> For more information about how to use the feature, visit the [Kubernetes blog](TODO: Add GA blog link) page. \ No newline at end of file From 784ca3473dd144a20818031e409c3706f7d60ffe Mon Sep 17 00:00:00 2001 From: Raunak Pradip Shah Date: Tue, 18 Jun 2024 09:41:25 -0700 Subject: [PATCH 2/3] update to latest versions --- book/src/prevent-volume-mode-conversion.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/book/src/prevent-volume-mode-conversion.md b/book/src/prevent-volume-mode-conversion.md index cf443e94..f630fe33 100644 --- a/book/src/prevent-volume-mode-conversion.md +++ b/book/src/prevent-volume-mode-conversion.md @@ -3,10 +3,10 @@ ## Status Status | Min K8s Version | Max K8s Version | external-snapshotter Version | external-provisioner Version ---|--|--|--|-- +--|--|--|--------|-- Alpha | 1.24 | - | 6.0.1+ | 3.2.1+ Beta | 1.28 | - | 7.0.0+ | 4.0.0+ -GA | 1.30 | - | 7.0.2+ | 4.0.1+ +GA | 1.30 | - | 8.0.1+ | 5.0.1+ ## Overview @@ -26,8 +26,8 @@ the mode of a volume when a `PersistentVolumeClaim` is being created from an exi This feature is enabled by default and moved to GA with the Kubernetes 1.30 release. To use this feature, cluster administrators must: -* Create `VolumeSnapshot` APIs with a minimum version of [`v7.0.2`](https://github.com/kubernetes-csi/external-snapshotter/releases/tag/client%2Fv7.0.2). -* Use `snapshot-controller` and `snapshot-validation-webhook` with a minimum version of `v7.0.2`. -* Use `external-provisioner` with a minimum version of [`v4.0.1`](https://github.com/kubernetes-csi/external-provisioner/releases/tag/v4.0.1). +* Create `VolumeSnapshot` APIs with a minimum version of [`v8.0.1`](https://github.com/kubernetes-csi/external-snapshotter/releases/tag/v8.0.1). +* Use `snapshot-controller` and `snapshot-validation-webhook` with a minimum version of `v8.0.1`. +* Use `external-provisioner` with a minimum version of [`v5.0.1`](https://github.com/kubernetes-csi/external-provisioner/releases/tag/v5.0.1). -> For more information about how to use the feature, visit the [Kubernetes blog](TODO: Add GA blog link) page. \ No newline at end of file +> For more information about how to use the feature, visit the [Kubernetes blog](https://kubernetes.io/blog/2024/04/30/prevent-unauthorized-volume-mode-conversion-ga/) page. \ No newline at end of file From 15fab53ee8abf6f5d6ff20f9e270a19741255613 Mon Sep 17 00:00:00 2001 From: Raunak Pradip Shah Date: Tue, 18 Jun 2024 09:42:29 -0700 Subject: [PATCH 3/3] fix indenting --- book/src/prevent-volume-mode-conversion.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/book/src/prevent-volume-mode-conversion.md b/book/src/prevent-volume-mode-conversion.md index f630fe33..05a25918 100644 --- a/book/src/prevent-volume-mode-conversion.md +++ b/book/src/prevent-volume-mode-conversion.md @@ -3,7 +3,7 @@ ## Status Status | Min K8s Version | Max K8s Version | external-snapshotter Version | external-provisioner Version ---|--|--|--------|-- +--|--|--|--|-- Alpha | 1.24 | - | 6.0.1+ | 3.2.1+ Beta | 1.28 | - | 7.0.0+ | 4.0.0+ GA | 1.30 | - | 8.0.1+ | 5.0.1+