Skip to content

Commit

Permalink
Snow support
Browse files Browse the repository at this point in the history
  • Loading branch information
jigisha620 committed Jul 18, 2022
1 parent 4ac688f commit cbe75bb
Show file tree
Hide file tree
Showing 81 changed files with 7,019 additions and 43 deletions.
36 changes: 36 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,39 @@
# v1.9.0
### Notable Changes
* Upgrade dependencies ([#1296](https://github.com/kubernetes-sigs/aws-ebs-csi-driver/pull/1296), [@torredil](https://github.com/torredil))
- k8s.io/kubernetes `v1.21.11` -> `v1.22.11`
- github.com/aws/aws-sdk-go `v1.43.37` -> `v1.44.45`
- github.com/container-storage-interface/spec `v1.3.0` -> `v1.6.0`
- github.com/golang/mock `v1.5.0` -> `v1.6.0`
- github.com/golang/protobuf `v1.5.0` -> `v1.5.2`
- github.com/google/go-cmp `v0.5.5` -> `v0.5.8`
- github.com/kubernetes-csi/csi-proxy/client `v1.0.1` -> `v1.1.1`
- github.com/kubernetes-csi/csi-test `v2.0.0+incompatible` -> `v2.2.0+incompatible`
- github.com/kubernetes-csi/external-snapshotter/client/v4 `v4.0.0` -> `v4.2.0`
- github.com/onsi/ginkgo `v1.11.0` -> `v1.16.5`
- github.com/onsi/gomega `v1.7.1` -> `v1.19.0`
- github.com/stretchr/testify `v1.6.1` -> `v1.8.0`
- golang.org/x/sys `v0.0.0-20211216021012-1d35b9e2eb4e` -> `v0.0.0-20220627191245-f75cf1eec38b`
- google.golang.org/grpc `v1.34.0` -> `v1.47.0`
* Add GitHub actions ([#1297](https://github.com/kubernetes-sigs/aws-ebs-csi-driver/pull/1297), [@torredil](https://github.com/torredil))
- Fix broken CHANGELOG link in release.yaml
- Add codeql-analysis.yaml for additional vulnerability scanning
- Add unit-tests.yaml for multi-platform unit testing (Linux/Windows)
- Add verify.yaml which runs `make verify`
* Update livenessprobe to `v2.6.0` ([#1303](https://github.com/kubernetes-sigs/aws-ebs-csi-driver/pull/1303), [@t0rr3sp3dr0](https://github.com/t0rr3sp3dr0))

### Bug Fixes
* Fix version of K8s manifest images ([#1303](https://github.com/kubernetes-sigs/aws-ebs-csi-driver/pull/1303), [@t0rr3sp3dr0](https://github.com/t0rr3sp3dr0))
* Fix image tags in ecr-public kustomization ([#1305](https://github.com/kubernetes-sigs/aws-ebs-csi-driver/pull/1305), [@torredil](https://github.com/torredil))

### Miscellaneous
* Use mount utils to check if volume needs resizing ([#1165](https://github.com/kubernetes-sigs/aws-ebs-csi-driver/pull/1165), [@RomanBednar](https://github.com/RomanBednar))
* Improve metadata_ec2.go error logging ([#1294](https://github.com/kubernetes-sigs/aws-ebs-csi-driver/pull/1294), [@torredil](https://github.com/torredil))

### Acknowledgments
* We would like to sincerely thank:
[@RomanBednar](https://github.com/RomanBednar) and [@t0rr3sp3dr0](https://github.com/t0rr3sp3dr0)

# v1.8.0
## Notable Changes
* Change base image from Amazon Linux 2 to EKS minimal for linux builds
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.

VERSION=v1.8.0
VERSION=v1.9.0

PKG=github.com/kubernetes-sigs/aws-ebs-csi-driver
GIT_COMMIT?=$(shell git rev-parse HEAD)
Expand Down
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,14 @@ The [Amazon Elastic Block Store](https://aws.amazon.com/ebs/) Container Storage

|Driver Version | [GCR](https://us.gcr.io/k8s-artifacts-prod/provider-aws/aws-ebs-csi-driver ) Image | [ECR](https://gallery.ecr.aws/ebs-csi-driver/aws-ebs-csi-driver) Image |
|---------------------------|--------------------------------------------------|-----------------------------------------------------------------------------|
|v1.8.0 |k8s.gcr.io/provider-aws/aws-ebs-csi-driver:v1.8.0 | public.ecr.aws/ebs-csi-driver/aws-ebs-csi-driver:v1.8.0 |
|v1.9.0 |k8s.gcr.io/provider-aws/aws-ebs-csi-driver:v1.9.0 | public.ecr.aws/ebs-csi-driver/aws-ebs-csi-driver:v1.9.0 |

<details>
<summary>Previous Images</summary>

|Driver Version | [GCR](https://us.gcr.io/k8s-artifacts-prod/provider-aws/aws-ebs-csi-driver ) Image | [ECR](https://gallery.ecr.aws/ebs-csi-driver/aws-ebs-csi-driver) Image |
|---------------------------|--------------------------------------------------|-----------------------------------------------------------------------------|
|v1.8.0 |k8s.gcr.io/provider-aws/aws-ebs-csi-driver:v1.8.0 | public.ecr.aws/ebs-csi-driver/aws-ebs-csi-driver:v1.8.0 |
|v1.7.0 |k8s.gcr.io/provider-aws/aws-ebs-csi-driver:v1.7.0 | public.ecr.aws/ebs-csi-driver/aws-ebs-csi-driver:v1.7.0 |
|v1.6.2 |k8s.gcr.io/provider-aws/aws-ebs-csi-driver:v1.6.2 | public.ecr.aws/ebs-csi-driver/aws-ebs-csi-driver:v1.6.2 |
|v1.6.1 |k8s.gcr.io/provider-aws/aws-ebs-csi-driver:v1.6.1 | public.ecr.aws/ebs-csi-driver/aws-ebs-csi-driver:v1.6.1 |
Expand Down
5 changes: 4 additions & 1 deletion charts/aws-ebs-csi-driver/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
# Helm chart

## v2.8.0
## v2.8.1
* Bump app/driver to version `v1.9.0`
* Update livenessprobe to version `v2.6.0`

## v2.8.0
* Feature: Support custom affinity definition on node daemon set ([#1277](https://github.com/kubernetes-sigs/aws-ebs-csi-driver/pull/1277), [@vauchok](https://github.com/vauchok))

## v2.7.1
Expand Down
4 changes: 2 additions & 2 deletions charts/aws-ebs-csi-driver/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
apiVersion: v2
appVersion: 1.8.0
appVersion: 1.9.0
name: aws-ebs-csi-driver
description: A Helm chart for AWS EBS CSI Driver
version: 2.8.0
version: 2.8.1
kubeVersion: ">=1.17.0-0"
home: https://github.com/kubernetes-sigs/aws-ebs-csi-driver
sources:
Expand Down
2 changes: 1 addition & 1 deletion charts/aws-ebs-csi-driver/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ sidecars:
image:
pullPolicy: IfNotPresent
repository: k8s.gcr.io/sig-storage/livenessprobe
tag: "v2.5.0"
tag: "v2.6.0"
resources: {}
resizer:
env: []
Expand Down
2 changes: 1 addition & 1 deletion deploy/kubernetes/overlays/stable/gcr/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ bases:
- ../../../base
images:
- name: k8s.gcr.io/provider-aws/aws-ebs-csi-driver
newTag: v1.8.0
newTag: v1.9.0
- name: k8s.gcr.io/sig-storage/csi-attacher
newTag: v3.4.0
- name: k8s.gcr.io/sig-storage/csi-node-driver-registrar
Expand Down
4 changes: 2 additions & 2 deletions docs/install.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
## Prerequisites
* If you are managing EBS volumes using static provisioning, get yourself familiar with [EBS volume](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/AmazonEBS.html).
* Get yourself familiar with how to setup Kubernetes on AWS and have a working Kubernetes cluster:
* Enable flag `--allow-privileged=true` for `kubelet` and `kube-apiserver`
* Enable flag `--allow-privileged=true` for `kube-apiserver`
* Enable `kube-apiserver` feature gates `--feature-gates=CSINodeInfo=true,CSIDriverRegistry=true,CSIBlockVolume=true,VolumeSnapshotDataSource=true`
* Enable `kubelet` feature gates `--feature-gates=CSINodeInfo=true,CSIDriverRegistry=true,CSIBlockVolume=true`
* If you intend to use the csi-snapshotter functionality you will need to first install the [CSI Snapshotter](https://github.com/kubernetes-csi/external-snapshotter).
Expand All @@ -29,7 +29,7 @@ Please see the compatibility matrix before you deploy the driver

To deploy the CSI driver:
```sh
kubectl apply -k "github.com/kubernetes-sigs/aws-ebs-csi-driver/deploy/kubernetes/overlays/stable/?ref=release-1.6"
kubectl apply -k "github.com/kubernetes-sigs/aws-ebs-csi-driver/deploy/kubernetes/overlays/stable/?ref=release-1.9"
```

Verify driver is running:
Expand Down
9 changes: 8 additions & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,11 @@ require (
github.com/kubernetes-csi/external-snapshotter/client/v4 v4.2.0
github.com/onsi/ginkgo v1.16.5
github.com/onsi/gomega v1.19.0
github.com/sirupsen/logrus v1.8.1
github.com/stretchr/testify v1.8.0
golang.org/x/sys v0.0.0-20220627191245-f75cf1eec38b
google.golang.org/grpc v1.47.0
k8s.io/api v0.22.11
k8s.io/api v1.18.19
k8s.io/apimachinery v0.22.11
k8s.io/client-go v1.22.11
k8s.io/component-base v0.22.11
Expand All @@ -25,6 +26,11 @@ require (
k8s.io/utils v0.0.0-20220210201930-3a6ce19ff2f9
)

require (
github.com/antonfisher/nested-logrus-formatter v1.0.3 // indirect
sigs.k8s.io/controller-runtime v0.6.0 // indirect
)

require (
github.com/Microsoft/go-winio v0.4.16 // indirect
github.com/beorn7/perks v1.0.1 // indirect
Expand All @@ -33,6 +39,7 @@ require (
github.com/cespare/xxhash/v2 v2.1.1 // indirect
github.com/cyphar/filepath-securejoin v0.2.2 // indirect
github.com/davecgh/go-spew v1.1.1 // indirect
github.com/dell/csi-baremetal v1.0.0
github.com/docker/distribution v2.7.1+incompatible // indirect
github.com/elazarl/goproxy v0.0.0-20181111060418-2ce16c963a8a // indirect
github.com/evanphx/json-patch v4.11.0+incompatible // indirect
Expand Down
Loading

0 comments on commit cbe75bb

Please sign in to comment.