From d98be680ca5e764fd354c03cb7900777cfb285cf Mon Sep 17 00:00:00 2001 From: mskanth972 Date: Mon, 15 Apr 2024 14:39:34 -0400 Subject: [PATCH] Pre-release PRs for v2.0.0 --- CHANGELOG-1.x.md | 7 +++++++ Makefile | 2 +- docs/README.md | 25 ++++++++++++++----------- 3 files changed, 22 insertions(+), 12 deletions(-) diff --git a/CHANGELOG-1.x.md b/CHANGELOG-1.x.md index eb3742687..cb6bae005 100644 --- a/CHANGELOG-1.x.md +++ b/CHANGELOG-1.x.md @@ -1,3 +1,10 @@ +# V2.0.0 +* Efs-utils v2.0.0 replaces stunnel, which provides TLS encryptions for mounts, with efs-proxy, a component built in-house at AWS. ([#203](https://github.com/aws/efs-utils/pull/203), [@RyanStan](https://github.com/RyanStan)) +* Install Rust and Cargo for building efs-utils v2.0.0 ([#1306](https://github.com/kubernetes-sigs/aws-efs-csi-driver/pull/1306), [@RyanStan](https://github.com/RyanStan)) +* Update go-restful dependency. ([#1308](https://github.com/kubernetes-sigs/aws-efs-csi-driver/pull/1308), [@RyanStan](https://github.com/RyanStan)) +* Adds script + instructions for an in-place upgrade test. ([#1304](https://github.com/kubernetes-sigs/aws-efs-csi-driver/pull/1304), [@seanzatzdev-amazon](https://github.com/seanzatzdev-amazon)) +* Update test file manifest paths for e2e tests. ([#1303](https://github.com/kubernetes-sigs/aws-efs-csi-driver/pull/1303), [@seanzatzdev-amazon](https://github.com/seanzatzdev-amazon)) +* Bump SIDECARS to the latest. ([#1302](https://github.com/kubernetes-sigs/aws-efs-csi-driver/pull/1302), [@mskanth972](https://github.com/mskanth972)) # V1.7.7 * Add seanzatzdev-amazon OWNERS. ([#1200](https://github.com/kubernetes-sigs/aws-efs-csi-driver/pull/1200), [@seanzatzdev-amazon](https://github.com/seanzatzdev-amazon)) * CVE-2024-24786: bump google.golang.org/protobuf to v1.33.0. ([#1286](https://github.com/kubernetes-sigs/aws-efs-csi-driver/pull/1286), [@dobsonj](https://github.com/dobsonj)) diff --git a/Makefile b/Makefile index fcc6bb0cb..bcadd5c1e 100644 --- a/Makefile +++ b/Makefile @@ -13,7 +13,7 @@ # limitations under the License. # -VERSION=v1.7.7 +VERSION=v2.0.0 PKG=github.com/kubernetes-sigs/aws-efs-csi-driver GIT_COMMIT?=$(shell git rev-parse HEAD) diff --git a/docs/README.md b/docs/README.md index cf2e1ada1..8d1307d3f 100644 --- a/docs/README.md +++ b/docs/README.md @@ -5,13 +5,14 @@ The [Amazon Elastic File System](https://aws.amazon.com/efs/) Container Storage Interface (CSI) Driver implements the [CSI](https://github.com/container-storage-interface/spec/blob/master/spec.md) specification for container orchestrators to manage the lifecycle of Amazon EFS file systems. ### CSI Specification Compatibility Matrix -| Amazon EFS CSI Driver \ CSI Spec Version | v0.3.0| v1.1.0 | v1.2.0 | -|----------------------------------------|-------|--------|--------| -| master branch | no | no | yes | -| v1.x.x | no | no | yes | -| v0.3.0 | no | yes | no | -| v0.2.0 | no | yes | no | -| v0.1.0 | yes | no | no | +| Amazon EFS CSI Driver \ CSI Spec Version | v0.3.0| v1.1.0 | v1.2.0 | +|------------------------------------------|-------|--------|--------| +| master branch | no | no | yes | +| v2.x.x | no | no | yes | +| v1.x.x | no | no | yes | +| v0.3.0 | no | yes | no | +| v0.2.0 | no | yes | no | +| v0.1.0 | yes | no | no | ## Features Amazon EFS CSI driver supports dynamic provisioning and static provisioning. @@ -70,6 +71,7 @@ The following sections are Kubernetes specific. If you are a Kubernetes user, us | Amazon EFS CSI Driver \ Kubernetes Version | maturity | v1.11 | v1.12 | v1.13 | v1.14 | v1.15 | v1.16 | v1.17+ | |--------------------------------------------|----------|-------|-------|-------|-------|-------|-------|--------| | master branch | GA | no | no | no | no | no | no | yes | +| v2.0.x | GA | no | no | no | no | no | no | yes | | v1.7.x | GA | no | no | no | no | no | no | yes | | v1.6.x | GA | no | no | no | no | no | no | yes | | v1.5.x | GA | no | no | no | no | no | no | yes | @@ -86,6 +88,7 @@ The following sections are Kubernetes specific. If you are a Kubernetes user, us | Amazon EFS CSI Driver Version | Image | |-------------------------------|----------------------------------| | master branch | amazon/aws-efs-csi-driver:master | +| v2.0.0 | amazon/aws-efs-csi-driver:v2.0.0 | | v1.7.7 | amazon/aws-efs-csi-driver:v1.7.7 | | v1.7.6 | amazon/aws-efs-csi-driver:v1.7.6 | | v1.7.5 | amazon/aws-efs-csi-driver:v1.7.5 | @@ -136,7 +139,7 @@ The following sections are Kubernetes specific. If you are a Kubernetes user, us ### ECR Image | Driver Version | [ECR](https://gallery.ecr.aws/efs-csi-driver/amazon/aws-efs-csi-driver) Image | |----------------|-------------------------------------------------------------------------------| -| v1.7.7 | public.ecr.aws/efs-csi-driver/amazon/aws-efs-csi-driver:v1.7.7 | +| v2.0.0 | public.ecr.aws/efs-csi-driver/amazon/aws-efs-csi-driver:v2.0.0 | **Note** You can find previous efs-csi-driver versions' images from [here](https://gallery.ecr.aws/efs-csi-driver/amazon/aws-efs-csi-driver) @@ -345,16 +348,16 @@ Enabling the vol-metrics-opt-in parameter activates the gathering of inode and d #### Upgrade to the latest version: If you want to update to latest released version: ```sh -kubectl apply -k "github.com/kubernetes-sigs/aws-efs-csi-driver/deploy/kubernetes/overlays/stable/?ref=release-1.7" +kubectl apply -k "github.com/kubernetes-sigs/aws-efs-csi-driver/deploy/kubernetes/overlays/stable/?ref=release-2.0" ``` #### Upgrade to a specific version: If you want to update to a specific version, first customize the driver yaml file locally: ```sh -kubectl kustomize "github.com/kubernetes-sigs/aws-efs-csi-driver/deploy/kubernetes/overlays/stable/?ref=release-1.7" > driver.yaml +kubectl kustomize "github.com/kubernetes-sigs/aws-efs-csi-driver/deploy/kubernetes/overlays/stable/?ref=release-2.0" > driver.yaml ``` -Then, update all lines referencing `image: amazon/aws-efs-csi-driver` to the desired version (e.g., to `image: amazon/aws-efs-csi-driver:v1.7.7`) in the yaml file, and deploy driver yaml again: +Then, update all lines referencing `image: amazon/aws-efs-csi-driver` to the desired version (e.g., to `image: amazon/aws-efs-csi-driver:v2.0.0`) in the yaml file, and deploy driver yaml again: ```sh kubectl apply -f driver.yaml ```