Skip to content

Commit

Permalink
Merge pull request #1144 from seanzatzdev-amazon/master
Browse files Browse the repository at this point in the history
Pre-release PR for v1.7.0
  • Loading branch information
k8s-ci-robot committed Sep 20, 2023
2 parents 44c9b85 + bcee8ee commit efedace
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 6 deletions.
13 changes: 13 additions & 0 deletions CHANGELOG-1.x.md
Original file line number Diff line number Diff line change
@@ -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),
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
12 changes: 7 additions & 5 deletions docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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**.<br/> 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.
Expand Down Expand Up @@ -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 |
Expand All @@ -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 |
Expand Down Expand Up @@ -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)
Expand Down Expand Up @@ -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
```
Expand Down

0 comments on commit efedace

Please sign in to comment.