diff --git a/CHANGELOG-0.x.md b/CHANGELOG-0.x.md index 8336c2bb6..da3af9d89 100644 --- a/CHANGELOG-0.x.md +++ b/CHANGELOG-0.x.md @@ -1,3 +1,39 @@ +# v0.8.0 + +## Notable changes +- gp3 is now the default volume type. +- Images will be built on a Debian base by default. Images built on Amazon Linux will still be available but with the tag suffix `-amazonlinux`. +- Images will be published to k8s.gcr.io in addition to ECR, GitHub, and Docker Hub. + +### New features +* Chart option to disable default toleration of all taints ([#526](https://github.com/kubernetes-sigs/aws-ebs-csi-driver/pull/526), [@risinger](https://github.com/risinger)) +* Apply extra volume tags to EBS snapshots ([#568](https://github.com/kubernetes-sigs/aws-ebs-csi-driver/pull/568), [@chrishenzie](https://github.com/chrishenzie)) +* [helm] add tag options and update csi-provisioner ([#577](https://github.com/kubernetes-sigs/aws-ebs-csi-driver/pull/577), [@kcking](https://github.com/kcking)) +* vendor: bump aws sdk for AssumeRoleWithWebIdentity support ([#614](https://github.com/kubernetes-sigs/aws-ebs-csi-driver/pull/614), [@abhinavdahiya](https://github.com/abhinavdahiya)) +* Add EBS gp3 support ([#633](https://github.com/kubernetes-sigs/aws-ebs-csi-driver/pull/633), [@samjo-nyang](https://github.com/samjo-nyang)) +* Apply resource constraints to all sidecar containers ([#640](https://github.com/kubernetes-sigs/aws-ebs-csi-driver/pull/640), [@tirumerla](https://github.com/tirumerla)) + +### Bug fixes +* Fix the name of the snapshot controller leader election RoleBinding ([#601](https://github.com/kubernetes-sigs/aws-ebs-csi-driver/pull/601), [@robbie-demuth](https://github.com/robbie-demuth)) + +### Misc. +* Post-release v0.7.0 ([#576](https://github.com/kubernetes-sigs/aws-ebs-csi-driver/pull/576), [@ayberk](https://github.com/ayberk)) +* Fixing Helm install command ([#578](https://github.com/kubernetes-sigs/aws-ebs-csi-driver/pull/578), [@danil-smirnov](https://github.com/danil-smirnov)) +* Fix markdown issue in README.md ([#579](https://github.com/kubernetes-sigs/aws-ebs-csi-driver/pull/579), [@ialidzhikov](https://github.com/ialidzhikov)) +* Document behavior wrt minimum and maximum iops ([#582](https://github.com/kubernetes-sigs/aws-ebs-csi-driver/pull/582), [@wongma7](https://github.com/wongma7)) +* Set CSIMigrationAWSComplete for migration tests ([#593](https://github.com/kubernetes-sigs/aws-ebs-csi-driver/pull/593), [@wongma7](https://github.com/wongma7)) +* Bump migration kops and k8s version ([#602](https://github.com/kubernetes-sigs/aws-ebs-csi-driver/pull/602), [@wongma7](https://github.com/wongma7)) +* Update hack/run-e2e-test to be more idempotent and pleasant to use ([#616](https://github.com/kubernetes-sigs/aws-ebs-csi-driver/pull/616), [@wongma7](https://github.com/wongma7)) +* Post-release v0.7.1 ([#619](https://github.com/kubernetes-sigs/aws-ebs-csi-driver/pull/619), [@ayberk](https://github.com/ayberk)) +* Move chart to charts directory and add workflow to publish new chart versions ([#624](https://github.com/kubernetes-sigs/aws-ebs-csi-driver/pull/624), [@krmichel](https://github.com/krmichel)) +* docs(readme): update link to developer documentation ([#629](https://github.com/kubernetes-sigs/aws-ebs-csi-driver/pull/629), [@BondAnthony](https://github.com/BondAnthony)) +* Update ecr overlay image tag ([#630](https://github.com/kubernetes-sigs/aws-ebs-csi-driver/pull/630), [@ayberk](https://github.com/ayberk)) +* Add cloudbuild.yaml for image pushing to gcr ([#632](https://github.com/kubernetes-sigs/aws-ebs-csi-driver/pull/632), [@wongma7](https://github.com/wongma7)) +* Add latest tags to cloudbuild ([#634](https://github.com/kubernetes-sigs/aws-ebs-csi-driver/pull/634), [@wongma7](https://github.com/wongma7)) +* Fix target name in cloudbuild.yaml from amazon to amazonlinux ([#636](https://github.com/kubernetes-sigs/aws-ebs-csi-driver/pull/636), [@wongma7](https://github.com/wongma7)) +* Suffix amazonlinux image with -amazonlinux and push debian image to GitHub ([#639](https://github.com/kubernetes-sigs/aws-ebs-csi-driver/pull/639), [@wongma7](https://github.com/wongma7)) +* Set up QEMU to build for arm64 ([#641](https://github.com/kubernetes-sigs/aws-ebs-csi-driver/pull/641), [@wongma7](https://github.com/wongma7)) + # v0.7.1 [Documentation](https://github.com/kubernetes-sigs/aws-ebs-csi-driver/blob/v0.7.1/docs/README.md) diff --git a/Makefile b/Makefile index 5dc8cf55f..aed8da9c5 100644 --- a/Makefile +++ b/Makefile @@ -14,7 +14,7 @@ PKG=github.com/kubernetes-sigs/aws-ebs-csi-driver IMAGE?=amazon/aws-ebs-csi-driver -VERSION=v0.7.1 +VERSION=v0.8.0 VERSION_AMAZONLINUX=$(VERSION)-amazonlinux GIT_COMMIT?=$(shell git rev-parse HEAD) BUILD_DATE?=$(shell date -u +"%Y-%m-%dT%H:%M:%SZ") diff --git a/charts/aws-ebs-csi-driver/Chart.yaml b/charts/aws-ebs-csi-driver/Chart.yaml index 414bfc1a2..539c8c5b2 100644 --- a/charts/aws-ebs-csi-driver/Chart.yaml +++ b/charts/aws-ebs-csi-driver/Chart.yaml @@ -1,8 +1,8 @@ apiVersion: v1 -appVersion: "0.7.1" +appVersion: "0.8.0" name: aws-ebs-csi-driver description: A Helm chart for AWS EBS CSI Driver -version: 0.6.2 +version: 0.7.0 kubeVersion: ">=1.14.0-0" home: https://github.com/kubernetes-sigs/aws-ebs-csi-driver sources: diff --git a/charts/aws-ebs-csi-driver/templates/statefulset.yaml b/charts/aws-ebs-csi-driver/templates/statefulset.yaml index b82460918..08a43eded 100644 --- a/charts/aws-ebs-csi-driver/templates/statefulset.yaml +++ b/charts/aws-ebs-csi-driver/templates/statefulset.yaml @@ -1,30 +1,30 @@ -{{- if .Values.enableVolumeSnapshot }} -#Snapshot controller -kind: StatefulSet -apiVersion: apps/v1 -metadata: - name: ebs-snapshot-controller - namespace: kube-system - labels: - {{- include "aws-ebs-csi-driver.labels" . | nindent 4 }} -spec: - serviceName: ebs-snapshot-controller - replicas: 1 - selector: - matchLabels: - app: ebs-snapshot-controller - {{- include "aws-ebs-csi-driver.selectorLabels" . | nindent 6 }} - template: - metadata: - labels: - app: ebs-snapshot-controller - {{- include "aws-ebs-csi-driver.labels" . | nindent 8 }} - spec: - serviceAccountName: ebs-snapshot-controller - containers: - - name: snapshot-controller - image: quay.io/k8scsi/snapshot-controller:v2.1.1 - args: - - --v=5 - - --leader-election=false -{{- end }} +{{- if .Values.enableVolumeSnapshot }} +#Snapshot controller +kind: StatefulSet +apiVersion: apps/v1 +metadata: + name: ebs-snapshot-controller + namespace: kube-system + labels: + {{- include "aws-ebs-csi-driver.labels" . | nindent 4 }} +spec: + serviceName: ebs-snapshot-controller + replicas: 1 + selector: + matchLabels: + app: ebs-snapshot-controller + {{- include "aws-ebs-csi-driver.selectorLabels" . | nindent 6 }} + template: + metadata: + labels: + app: ebs-snapshot-controller + {{- include "aws-ebs-csi-driver.labels" . | nindent 8 }} + spec: + serviceAccountName: ebs-snapshot-controller + containers: + - name: snapshot-controller + image: quay.io/k8scsi/snapshot-controller:v2.1.1 + args: + - --v=5 + - --leader-election=false +{{- end }} diff --git a/charts/aws-ebs-csi-driver/values.yaml b/charts/aws-ebs-csi-driver/values.yaml index 9a2642d59..d1d14e7ea 100644 --- a/charts/aws-ebs-csi-driver/values.yaml +++ b/charts/aws-ebs-csi-driver/values.yaml @@ -5,8 +5,8 @@ replicaCount: 2 image: - repository: amazon/aws-ebs-csi-driver - tag: "v0.7.1" + repository: k8s.gcr.io/provider-aws/aws-ebs-csi-driver + tag: "v0.8.0" pullPolicy: IfNotPresent sidecars: @@ -44,7 +44,8 @@ enableVolumeResizing: false # True if enable volume snapshot enableVolumeSnapshot: false -resources: {} +resources: + {} # We usually recommend not to specify default resources and to leave this as a conscious # choice for the user. This also increases chances charts run on environments with little # resources, such as Minikube. If you do want to specify resources, uncomment the following diff --git a/deploy/kubernetes/base/controller.yaml b/deploy/kubernetes/base/controller.yaml index d619e8175..3b2391223 100644 --- a/deploy/kubernetes/base/controller.yaml +++ b/deploy/kubernetes/base/controller.yaml @@ -28,7 +28,7 @@ spec: - operator: Exists containers: - name: ebs-plugin - image: amazon/aws-ebs-csi-driver:latest + image: k8s.gcr.io/provider-aws/aws-ebs-csi-driver:latest imagePullPolicy: IfNotPresent args: # - {all,controller,node} # specify the driver mode @@ -66,7 +66,7 @@ spec: periodSeconds: 10 failureThreshold: 5 - name: csi-provisioner - image: quay.io/k8scsi/csi-provisioner:v1.5.0 + image: quay.io/k8scsi/csi-provisioner:v1.6.0 args: - --csi-address=$(ADDRESS) - --v=5 diff --git a/deploy/kubernetes/base/node.yaml b/deploy/kubernetes/base/node.yaml index 09517cb89..5a7d390f7 100644 --- a/deploy/kubernetes/base/node.yaml +++ b/deploy/kubernetes/base/node.yaml @@ -38,11 +38,10 @@ spec: - name: ebs-plugin securityContext: privileged: true - image: amazon/aws-ebs-csi-driver:latest + image: k8s.gcr.io/provider-aws/aws-ebs-csi-driver:latest args: - node - --endpoint=$(CSI_ENDPOINT) - # - --volume-attach-limit=42 - --logtostderr - --v=5 env: diff --git a/docs/README.md b/docs/README.md index d1e7fb3f0..aec28b05b 100644 --- a/docs/README.md +++ b/docs/README.md @@ -12,6 +12,7 @@ The [Amazon Elastic Block Store](https://aws.amazon.com/ebs/) Container Storage | AWS EBS CSI Driver \ CSI Version | v0.3.0| v1.0.0 | v1.1.0 | |----------------------------------------|-------|--------|--------| | master branch | no | no | yes | +| v0.8.0 | no | no | yes | | v0.7.1 | no | no | yes | | v0.6.0 | no | no | yes | | v0.5.0 | no | no | yes | @@ -46,9 +47,10 @@ There are several optional parameters that could be passed into `CreateVolumeReq Following sections are Kubernetes specific. If you are Kubernetes user, use followings for driver features, installation steps and examples. ## Kubernetes Version Compatibility Matrix -| AWS EBS CSI Driver \ Kubernetes Version| v1.12 | v1.13 | v1.14 | v1.15 | v1.16 | v1.17 | v1.18 | +| AWS EBS CSI Driver \ Kubernetes Version| v1.12 | v1.13 | v1.14 | v1.15 | v1.16 | v1.17 | v1.18+ | |----------------------------------------|-------|-------|-------|-------|-------|-------|-------| | master branch | no | no+ | yes | yes | yes | yes | yes | +| v0.8.0 | no | no+ | yes | yes | yes | yes | yes | | v0.7.1 | no | no+ | yes | yes | yes | yes | yes | | v0.6.0 | no | no+ | yes | yes | yes | yes | yes | | v0.5.0 | no | no+ | yes | yes | yes | yes | yes | @@ -60,16 +62,17 @@ Following sections are Kubernetes specific. If you are Kubernetes user, use foll **Note**: for the entry with `+` sign, it means the driver's default released manifest doesn't work with corresponding Kubernetes version, but the driver container image is compatiable with the Kubernetes version if an older version's manifest is used. ## Container Images: -|AWS EBS CSI Driver Version | Image | -|---------------------------|-------------------------------------| -|master branch |amazon/aws-ebs-csi-driver:latest | -|v0.7.1 |amazon/aws-ebs-csi-driver:v0.7.1 | -|v0.6.0 |amazon/aws-ebs-csi-driver:v0.6.0 | -|v0.5.0 |amazon/aws-ebs-csi-driver:v0.5.0 | -|v0.4.0 |amazon/aws-ebs-csi-driver:v0.4.0 | -|v0.3.0 |amazon/aws-ebs-csi-driver:v0.3.0 | -|v0.2.0 |amazon/aws-ebs-csi-driver:0.2.0 | -|v0.1.0 |amazon/aws-ebs-csi-driver:0.1.0-alpha| +|AWS EBS CSI Driver Version | Image | +|---------------------------|--------------------------------------------------| +|master branch |amazon/aws-ebs-csi-driver:latest | +|v0.8.0 |k8s.gcr.io/provider-aws/aws-ebs-csi-driver:v0.8.0 | +|v0.7.1 |amazon/aws-ebs-csi-driver:v0.7.1 | +|v0.6.0 |amazon/aws-ebs-csi-driver:v0.6.0 | +|v0.5.0 |amazon/aws-ebs-csi-driver:v0.5.0 | +|v0.4.0 |amazon/aws-ebs-csi-driver:v0.4.0 | +|v0.3.0 |amazon/aws-ebs-csi-driver:v0.3.0 | +|v0.2.0 |amazon/aws-ebs-csi-driver:0.2.0 | +|v0.1.0 |amazon/aws-ebs-csi-driver:0.1.0-alpha | ## Features * **Static Provisioning** - create a new or migrating existing EBS volumes, then create persistence volume (PV) from the EBS volume and consume the PV from container using persistence volume claim (PVC).