From 41385d068cda17598d98e2f9ef0000360c31e4d1 Mon Sep 17 00:00:00 2001 From: torredil Date: Tue, 12 Nov 2024 15:50:51 +0000 Subject: [PATCH 1/2] Bump up sidecars Signed-off-by: torredil --- charts/aws-ebs-csi-driver/values.yaml | 14 +++++++------- deploy/kubernetes/base/controller.yaml | 10 +++++----- deploy/kubernetes/base/node.yaml | 4 ++-- 3 files changed, 14 insertions(+), 14 deletions(-) diff --git a/charts/aws-ebs-csi-driver/values.yaml b/charts/aws-ebs-csi-driver/values.yaml index 7bf8e6d785..45579b8fad 100644 --- a/charts/aws-ebs-csi-driver/values.yaml +++ b/charts/aws-ebs-csi-driver/values.yaml @@ -17,7 +17,7 @@ sidecars: image: pullPolicy: IfNotPresent repository: public.ecr.aws/eks-distro/kubernetes-csi/external-provisioner - tag: "v5.1.0-eks-1-31-5" + tag: "v5.1.0-eks-1-31-7" logLevel: 2 # Additional parameters provided by external-provisioner. additionalArgs: [] @@ -44,7 +44,7 @@ sidecars: image: pullPolicy: IfNotPresent repository: public.ecr.aws/eks-distro/kubernetes-csi/external-attacher - tag: "v4.7.0-eks-1-31-5" + tag: "v4.7.0-eks-1-31-7" # Tune leader lease election for csi-attacher. # Leader election is on by default. leaderElection: @@ -73,7 +73,7 @@ sidecars: image: pullPolicy: IfNotPresent repository: public.ecr.aws/eks-distro/kubernetes-csi/external-snapshotter/csi-snapshotter - tag: "v8.1.0-eks-1-31-5" + tag: "v8.1.0-eks-1-31-7" logLevel: 2 # Additional parameters provided by csi-snapshotter. additionalArgs: [] @@ -89,7 +89,7 @@ sidecars: image: pullPolicy: IfNotPresent repository: public.ecr.aws/eks-distro/kubernetes-csi/livenessprobe - tag: "v2.14.0-eks-1-31-5" + tag: "v2.14.0-eks-1-31-7" # Additional parameters provided by livenessprobe. additionalArgs: [] resources: {} @@ -101,7 +101,7 @@ sidecars: image: pullPolicy: IfNotPresent repository: public.ecr.aws/eks-distro/kubernetes-csi/external-resizer - tag: "v1.12.0-eks-1-31-5" + tag: "v1.12.0-eks-1-31-7" # Tune leader lease election for csi-resizer. # Leader election is on by default. leaderElection: @@ -128,7 +128,7 @@ sidecars: image: pullPolicy: IfNotPresent repository: public.ecr.aws/eks-distro/kubernetes-csi/node-driver-registrar - tag: "v2.12.0-eks-1-31-5" + tag: "v2.12.0-eks-1-31-7" logLevel: 2 # Additional parameters provided by node-driver-registrar. additionalArgs: [] @@ -150,7 +150,7 @@ sidecars: image: pullPolicy: IfNotPresent repository: public.ecr.aws/ebs-csi-driver/volume-modifier-for-k8s - tag: "v0.3.0" + tag: "v0.4.0" leaderElection: enabled: true # Optional values to tune lease behavior. diff --git a/deploy/kubernetes/base/controller.yaml b/deploy/kubernetes/base/controller.yaml index d90a379f7c..33e263c0e6 100644 --- a/deploy/kubernetes/base/controller.yaml +++ b/deploy/kubernetes/base/controller.yaml @@ -133,7 +133,7 @@ spec: seccompProfile: type: RuntimeDefault - name: csi-provisioner - image: public.ecr.aws/eks-distro/kubernetes-csi/external-provisioner:v5.1.0-eks-1-31-5 + image: public.ecr.aws/eks-distro/kubernetes-csi/external-provisioner:v5.1.0-eks-1-31-7 imagePullPolicy: IfNotPresent args: - --timeout=60s @@ -165,7 +165,7 @@ spec: seccompProfile: type: RuntimeDefault - name: csi-attacher - image: public.ecr.aws/eks-distro/kubernetes-csi/external-attacher:v4.7.0-eks-1-31-5 + image: public.ecr.aws/eks-distro/kubernetes-csi/external-attacher:v4.7.0-eks-1-31-7 imagePullPolicy: IfNotPresent args: - --timeout=60s @@ -194,7 +194,7 @@ spec: seccompProfile: type: RuntimeDefault - name: csi-snapshotter - image: public.ecr.aws/eks-distro/kubernetes-csi/external-snapshotter/csi-snapshotter:v8.1.0-eks-1-31-5 + image: public.ecr.aws/eks-distro/kubernetes-csi/external-snapshotter/csi-snapshotter:v8.1.0-eks-1-31-7 imagePullPolicy: IfNotPresent args: - --csi-address=$(ADDRESS) @@ -223,7 +223,7 @@ spec: seccompProfile: type: RuntimeDefault - name: csi-resizer - image: public.ecr.aws/eks-distro/kubernetes-csi/external-resizer:v1.12.0-eks-1-31-5 + image: public.ecr.aws/eks-distro/kubernetes-csi/external-resizer:v1.12.0-eks-1-31-7 imagePullPolicy: IfNotPresent args: - --timeout=60s @@ -253,7 +253,7 @@ spec: seccompProfile: type: RuntimeDefault - name: liveness-probe - image: public.ecr.aws/eks-distro/kubernetes-csi/livenessprobe:v2.14.0-eks-1-31-5 + image: public.ecr.aws/eks-distro/kubernetes-csi/livenessprobe:v2.14.0-eks-1-31-7 imagePullPolicy: IfNotPresent args: - --csi-address=/csi/csi.sock diff --git a/deploy/kubernetes/base/node.yaml b/deploy/kubernetes/base/node.yaml index 4f360b679d..b5fba9ab82 100644 --- a/deploy/kubernetes/base/node.yaml +++ b/deploy/kubernetes/base/node.yaml @@ -105,7 +105,7 @@ spec: exec: command: ["/bin/aws-ebs-csi-driver", "pre-stop-hook"] - name: node-driver-registrar - image: public.ecr.aws/eks-distro/kubernetes-csi/node-driver-registrar:v2.12.0-eks-1-31-5 + image: public.ecr.aws/eks-distro/kubernetes-csi/node-driver-registrar:v2.12.0-eks-1-31-7 imagePullPolicy: IfNotPresent args: - --csi-address=$(ADDRESS) @@ -142,7 +142,7 @@ spec: allowPrivilegeEscalation: false readOnlyRootFilesystem: true - name: liveness-probe - image: public.ecr.aws/eks-distro/kubernetes-csi/livenessprobe:v2.14.0-eks-1-31-5 + image: public.ecr.aws/eks-distro/kubernetes-csi/livenessprobe:v2.14.0-eks-1-31-7 imagePullPolicy: IfNotPresent args: - --csi-address=/csi/csi.sock From b1f0e043a09068878a148f56a82e8164628d36aa Mon Sep 17 00:00:00 2001 From: torredil Date: Tue, 12 Nov 2024 18:37:39 +0000 Subject: [PATCH 2/2] Release v1.37.0 Signed-off-by: torredil --- CHANGELOG.md | 20 ++++++++++++++++++++ Makefile | 2 +- README.md | 2 +- charts/aws-ebs-csi-driver/CHANGELOG.md | 5 +++++ charts/aws-ebs-csi-driver/Chart.yaml | 4 ++-- deploy/kubernetes/base/controller.yaml | 2 +- deploy/kubernetes/base/node.yaml | 2 +- docs/install.md | 2 +- 8 files changed, 32 insertions(+), 7 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 89aa43a8d7..b9a365e418 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,23 @@ +# v1.37.0 +### Urgent Upgrade Notes +*(No, really, you MUST read this before you upgrade)* + +#### [ACTION REQUIRED] Update to the EBS CSI Driver IAM Policy +Due to an upcoming change in handling of IAM polices for the CreateVolume API when creating a volume from an EBS snapshot, a change to your EBS CSI Driver policy may be needed. For more information and remediation steps, see [GitHub issue #2190](https://github.com/kubernetes-sigs/aws-ebs-csi-driver/issues/2190). This change affects all versions of the EBS CSI Driver and action may be required even on clusters where the driver is not upgraded. + +### Notable Changes +* Export EBS detailed performance statistics as Prometheus metrics for CSI-managed volumes ([#2216](https://github.com/kubernetes-sigs/aws-ebs-csi-driver/pull/2216), [@torredil](https://github.com/torredil)) + +### Bug Fixes +* Update example-iam-policy.json for non 'aws' partitions ([#2193](https://github.com/kubernetes-sigs/aws-ebs-csi-driver/pull/2193), [@willswire](https://github.com/willswire)) + +### Improvements +* Add Dependabot for Go module & GitHub Action dependencies ([#2179](https://github.com/kubernetes-sigs/aws-ebs-csi-driver/pull/2179), [@AndrewSirenko](https://github.com/AndrewSirenko)) +* Add middleware to log server errors ([#2196](https://github.com/kubernetes-sigs/aws-ebs-csi-driver/pull/2196), [@ConnorJC3](https://github.com/ConnorJC3)) +* Enable golang-ci linters ([#2204](https://github.com/kubernetes-sigs/aws-ebs-csi-driver/pull/2204), [@AndrewSirenko](https://github.com/AndrewSirenko)) +* Enable VAC tests ([#2220](https://github.com/kubernetes-sigs/aws-ebs-csi-driver/pull/2220), [@ElijahQuinones](https://github.com/ElijahQuinones)) +* Upgrade dependencies ([#2223](https://github.com/kubernetes-sigs/aws-ebs-csi-driver/pull/2223), [@torredil](https://github.com/torredil)) + # v1.36.0 ### Urgent Upgrade Notes *(No, really, you MUST read this before you upgrade)* diff --git a/Makefile b/Makefile index fc7b587c2a..c7da868d24 100644 --- a/Makefile +++ b/Makefile @@ -18,7 +18,7 @@ ## Variables/Functions -VERSION?=v1.36.0 +VERSION?=v1.37.0 PKG=github.com/kubernetes-sigs/aws-ebs-csi-driver GIT_COMMIT?=$(shell git rev-parse HEAD) diff --git a/README.md b/README.md index 0d9e46f233..eedc4fc5bd 100644 --- a/README.md +++ b/README.md @@ -25,8 +25,8 @@ The [Amazon Elastic Block Store](https://aws.amazon.com/ebs/) Container Storage | Driver Version | [registry.k8s.io](https://kubernetes.io/blog/2022/11/28/registry-k8s-io-faster-cheaper-ga/) Image | [ECR Public](https://gallery.ecr.aws/ebs-csi-driver/aws-ebs-csi-driver) Image | |----------------|---------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------| +| v1.37.0 | registry.k8s.io/provider-aws/aws-ebs-csi-driver:v1.37.0 | public.ecr.aws/ebs-csi-driver/aws-ebs-csi-driver:v1.37.0 | | v1.36.0 | registry.k8s.io/provider-aws/aws-ebs-csi-driver:v1.36.0 | public.ecr.aws/ebs-csi-driver/aws-ebs-csi-driver:v1.36.0 | -| v1.35.0 | registry.k8s.io/provider-aws/aws-ebs-csi-driver:v1.35.0 | public.ecr.aws/ebs-csi-driver/aws-ebs-csi-driver:v1.35.0 | ## Releases diff --git a/charts/aws-ebs-csi-driver/CHANGELOG.md b/charts/aws-ebs-csi-driver/CHANGELOG.md index aaa231e08a..332ae43c62 100644 --- a/charts/aws-ebs-csi-driver/CHANGELOG.md +++ b/charts/aws-ebs-csi-driver/CHANGELOG.md @@ -1,4 +1,9 @@ # Helm chart +## v2.37.0 +* Bump driver version to `v1.37.0` +* Add init containers to node daemonset ([#2215](https://github.com/kubernetes-sigs/aws-ebs-csi-driver/pull/2215), [@clbx](https://github.com/clbx)) +* Fix fetching test package version for kubetest in helm-tester ([#2203](https://github.com/kubernetes-sigs/aws-ebs-csi-driver/pull/2203), [@torredil](https://github.com/torredil)) + ## v2.36.0 * Bump driver version to `v1.36.0` * Add recommended autoscalar Tolerations to driver DaemonSet ([#2165](https://github.com/kubernetes-sigs/aws-ebs-csi-driver/pull/2165), [@AndrewSirenko](https://github.com/AndrewSirenko)) diff --git a/charts/aws-ebs-csi-driver/Chart.yaml b/charts/aws-ebs-csi-driver/Chart.yaml index 9464181aae..09f72cda1f 100644 --- a/charts/aws-ebs-csi-driver/Chart.yaml +++ b/charts/aws-ebs-csi-driver/Chart.yaml @@ -1,8 +1,8 @@ apiVersion: v2 -appVersion: 1.36.0 +appVersion: 1.37.0 name: aws-ebs-csi-driver description: A Helm chart for AWS EBS CSI Driver -version: 2.36.0 +version: 2.37.0 kubeVersion: ">=1.17.0-0" home: https://github.com/kubernetes-sigs/aws-ebs-csi-driver sources: diff --git a/deploy/kubernetes/base/controller.yaml b/deploy/kubernetes/base/controller.yaml index 33e263c0e6..1197c7b12a 100644 --- a/deploy/kubernetes/base/controller.yaml +++ b/deploy/kubernetes/base/controller.yaml @@ -64,7 +64,7 @@ spec: runAsUser: 1000 containers: - name: ebs-plugin - image: public.ecr.aws/ebs-csi-driver/aws-ebs-csi-driver:v1.36.0 + image: public.ecr.aws/ebs-csi-driver/aws-ebs-csi-driver:v1.37.0 imagePullPolicy: IfNotPresent args: - controller diff --git a/deploy/kubernetes/base/node.yaml b/deploy/kubernetes/base/node.yaml index b5fba9ab82..87b6841e54 100644 --- a/deploy/kubernetes/base/node.yaml +++ b/deploy/kubernetes/base/node.yaml @@ -56,7 +56,7 @@ spec: runAsUser: 0 containers: - name: ebs-plugin - image: public.ecr.aws/ebs-csi-driver/aws-ebs-csi-driver:v1.36.0 + image: public.ecr.aws/ebs-csi-driver/aws-ebs-csi-driver:v1.37.0 imagePullPolicy: IfNotPresent args: - node diff --git a/docs/install.md b/docs/install.md index 5c5fa0d164..1bd236a9b8 100644 --- a/docs/install.md +++ b/docs/install.md @@ -77,7 +77,7 @@ You may deploy the EBS CSI driver via Kustomize, Helm, or as an [Amazon EKS mana #### Kustomize ```sh -kubectl apply -k "github.com/kubernetes-sigs/aws-ebs-csi-driver/deploy/kubernetes/overlays/stable/?ref=release-1.36" +kubectl apply -k "github.com/kubernetes-sigs/aws-ebs-csi-driver/deploy/kubernetes/overlays/stable/?ref=release-1.37" ``` *Note: Using the master branch to deploy the driver is not supported as the master branch may contain upcoming features incompatible with the currently released stable version of the driver.*