Skip to content

Commit

Permalink
Address PR comments
Browse files Browse the repository at this point in the history
  • Loading branch information
MaesterZ committed Apr 28, 2021
1 parent f634239 commit b1c989d
Show file tree
Hide file tree
Showing 4 changed files with 62 additions and 8 deletions.
62 changes: 58 additions & 4 deletions charts/aws-efs-csi-driver/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,68 @@

# v2.0.0

## Notable changes
## Breaking changes

* Multiple breaking changes in values file
* Support only Kubernetes `>=1.18` with `CSIDriver` API version `storage.k8s.io/v1`
Multiple changes in values file at `sidecars`, `controller` and `node`

---

```yaml
sidecars:
xxxxxxImage:
repository:
tag:
```

Moving to

```yaml
sidecars:
xxxxxxImage:
image:
repository:
tag:
```

---

```yaml
hostAliases:
dnsPolicy:
dnsConfig:
```

Moving to

```yaml
node:
hostAliases:
dnsPolicy:
dnsConfig:
```

---

```yaml
serviceAccount:
controller:
```

Moving to

```yaml
controller:
serviceAccount:
```

## New features

* Set `resources` and `imagePullPolicy` fields independently for containers
* Set `logLevel`, `affinity`, `nodeSelector`, `podAnnotations` and `tolerations` fields independently
for Controller deployment and Node daemonset
* Set `resources` and `imagePullPolicy` fields independently for containers
* Set `reclaimPolicy` and `volumeBindingMode` fields in storage class

## Fixes

* Default `logLevel` lowered from `5` to `2`
* Default `imagePullPolicy` everywhere set to `IfNotPresent`
2 changes: 1 addition & 1 deletion charts/aws-efs-csi-driver/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v1
name: aws-efs-csi-driver
version: 2.0.0
appVersion: "1.2.0"
kubeVersion: ">=1.18.0-0"
kubeVersion: ">=1.17.0-0"
description: A Helm chart for AWS EFS CSI Driver
home: https://github.com/kubernetes-sigs/aws-efs-csi-driver
sources:
Expand Down
2 changes: 1 addition & 1 deletion charts/aws-efs-csi-driver/templates/csidriver.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
apiVersion: storage.k8s.io/v1
apiVersion: {{ ternary "storage.k8s.io/v1" "storage.k8s.io/v1beta1" (semverCompare ">=1.18.0-0" .Capabilities.KubeVersion.Version) }}
kind: CSIDriver
metadata:
name: efs.csi.aws.com
Expand Down
4 changes: 2 additions & 2 deletions charts/aws-efs-csi-driver/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ controller:
# Specifies whether a deployment should be created
create: true
# Number for the log level verbosity
logLevel: 5
logLevel: 2
# Add additional tags to access points
tags: {}
# environment: prod
Expand Down Expand Up @@ -76,7 +76,7 @@ controller:

node:
# Number for the log level verbosity
logLevel: 5
logLevel: 2
hostAliases:
{}
# for cross VPC EFS, you need to poison or overwrite the DNS for the efs volume as per
Expand Down

0 comments on commit b1c989d

Please sign in to comment.