From bcee8eedd8fd61efa8cac5c2a6f5610c778aa515 Mon Sep 17 00:00:00 2001 From: Sean Zatz Date: Wed, 20 Sep 2023 00:27:23 +0000 Subject: [PATCH] Pre-release PR for v1.7.0 --- CHANGELOG-1.x.md | 13 +++++++++++++ Makefile | 2 +- docs/README.md | 12 +++++++----- 3 files changed, 21 insertions(+), 6 deletions(-) diff --git a/CHANGELOG-1.x.md b/CHANGELOG-1.x.md index 7981b6757..831a61cde 100644 --- a/CHANGELOG-1.x.md +++ b/CHANGELOG-1.x.md @@ -1,3 +1,16 @@ +# V1.7.0 +* Added Storage Class features to allow more control of the directory structure of Access Points under Dynamic Provisioning. ([#640](https://github.com/kubernetes-sigs/aws-efs-csi-driver/pull/640), [@jonathanrainer](https://github.com/jonathanrainer)) +* Added Storage Class feature to allow access points to be replicated across different clusters. ([#1026](https://github.com/kubernetes-sigs/aws-efs-csi-driver/pull/1026), [@mskanth972](https://github.com/mskanth972)) +* Fixed GID allocator. ([#850](https://github.com/kubernetes-sigs/aws-efs-csi-driver/pull/850), [@RomanBednar](https://github.com/RomanBednar)) +* Added unit test for subpath patterns with repeated elements. ([#1117](https://github.com/kubernetes-sigs/aws-efs-csi-driver/pull/1117), [@seanzatzdev-amazon](https://github.com/seanzatzdev-amazon)) +* Updated manifest paths in aws-efs-csi-driver/vendor/k8s.io/kubernetes/test/e2e/storage/testsuites/provisioning.go. ([#1118](https://github.com/kubernetes-sigs/aws-efs-csi-driver/pull/1118), [@seanzatzdev-amazon](https://github.com/seanzatzdev-amazon)) +* Added e2e test for dynamic provisioning. ([#1120](https://github.com/kubernetes-sigs/aws-efs-csi-driver/pull/1120), [@seanzatzdev-amazon](https://github.com/seanzatzdev-amazon)) +* Added CSI_NODE_NAME to node Daemonset. ([#1124](https://github.com/kubernetes-sigs/aws-efs-csi-driver/pull/1124), [@RyanStan](https://github.com/RyanStan)) +* Removed old TravisCI config file. ([#1129](https://github.com/kubernetes-sigs/aws-efs-csi-driver/pull/1129), [@jacobwolfaws](https://github.com/jacobwolfaws)) +* Added hostnetwork back to Node Daemonset. ([#1130](https://github.com/kubernetes-sigs/aws-efs-csi-driver/pull/1130), [@RyanStan](https://github.com/RyanStan)) +* Fixed ensureUniqueDirectory parameter in docs. ([#1133](https://github.com/kubernetes-sigs/aws-efs-csi-driver/pull/1133), [@wilkerlucio](https://github.com/wilkerlucio)) +* Increased the AccessPoint MAX limit from 120 to 1000. ([#1135](https://github.com/kubernetes-sigs/aws-efs-csi-driver/pull/1135), [@seanzatzdev-amazon](https://github.com/seanzatzdev-amazon)) +* Moved to new s3 bucket. ([#1137](https://github.com/kubernetes-sigs/aws-efs-csi-driver/pull/1137), [@dims](https://github.com/dims)) # V1.6.0 * Bump golang.org/x/net/html to fix CVE-2023-3978. ([#1089](https://github.com/kubernetes-sigs/aws-efs-csi-driver/pull/1089), [@jsafrane](https://github.com/jsafrane)) * Set efs-plugin container security context to `true` which can solve the deleteAccessPointRootDir issues. ([#1096](https://github.com/kubernetes-sigs/aws-efs-csi-driver/pull/1096), diff --git a/Makefile b/Makefile index 6a2d5aa98..3e4923a5f 100644 --- a/Makefile +++ b/Makefile @@ -13,7 +13,7 @@ # limitations under the License. # -VERSION=v1.6.0 +VERSION=v1.7.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 e41ba16fd..71499991d 100644 --- a/docs/README.md +++ b/docs/README.md @@ -37,7 +37,7 @@ The following CSI interfaces are implemented: | subPathPattern | | `/${.PV.name}` | true | The template used to construct the subPath under which each of the access points created under Dynamic Provisioning. Can be made up of fixed strings and limited variables, is akin to the 'subPathPattern' variable on the [nfs-subdir-external-provisioner](https://github.com/kubernetes-sigs/nfs-subdir-external-provisioner) chart. Supports `.PVC.name`,`.PVC.namespace` and `.PV.name` | | ensureUniqueDirectory | | true | true | **NOTE: Only set this to false if you're sure this is the behaviour you want**.
Used when dynamic provisioning is enabled, if set to true, appends the a UID to the pattern specified in `subPathPattern` to ensure that access points will not accidentally point at the same directory. | | az | | "" | true | Used for cross-account mount. `az` under storage class parameter is optional. If specified, mount target associated with the az will be used for cross-account mount. If not specified, a random mount target will be picked for cross account mount | -| reuseAccessPoint | | false | true | When set to true, it creates Accesspoint client-token from the provided PVC name. So that the AccessPoint can be re-used from a differen cluster if same PVC name and storageclass configuration are used. | +| reuseAccessPoint | | false | true | When set to true, it creates the Access Point client-token from the provided PVC name. So that the AccessPoint can be replicated from a different cluster if same PVC name and storageclass configuration are used. | **Note** * Custom Posix group Id range for Access Point root directory must include both `gidRangeStart` and `gidRangeEnd` parameters. These parameters are optional only if both are omitted. If you specify one, the other becomes mandatory. @@ -67,6 +67,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 | +| 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 | | v1.4.x | GA | no | no | no | no | no | no | yes | @@ -82,6 +83,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 | +| v1.7.0 | amazon/aws-efs-csi-driver:v1.7.0 | | v1.6.0 | amazon/aws-efs-csi-driver:v1.6.0 | | v1.5.9 | amazon/aws-efs-csi-driver:v1.5.9 | | v1.5.8 | amazon/aws-efs-csi-driver:v1.5.8 | @@ -124,7 +126,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.6.0 | public.ecr.aws/efs-csi-driver/amazon/aws-efs-csi-driver:v1.6.0 | +| v1.7.0 | public.ecr.aws/efs-csi-driver/amazon/aws-efs-csi-driver:v1.7.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) @@ -322,16 +324,16 @@ After deploying the driver, you can continue to these sections: #### 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.6" +kubectl apply -k "github.com/kubernetes-sigs/aws-efs-csi-driver/deploy/kubernetes/overlays/stable/?ref=release-1.7" ``` #### 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.6" > driver.yaml +kubectl kustomize "github.com/kubernetes-sigs/aws-efs-csi-driver/deploy/kubernetes/overlays/stable/?ref=release-1.7" > 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.6.0`) 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:v1.7.0`) in the yaml file, and deploy driver yaml again: ```sh kubectl apply -f driver.yaml ```