Skip to content

Commit

Permalink
Merge pull request #1 from KarstenSiemer/feat/helm-add-config-to-enab…
Browse files Browse the repository at this point in the history
…le-deleteAccessPointRootDir

Feat/helm add config to enable delete access point root dir
  • Loading branch information
KarstenSiemer committed Apr 14, 2021
2 parents f89b143 + 274be81 commit 68cf36a
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
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
appVersion: "1.2.0"
name: aws-efs-csi-driver
description: A Helm chart for AWS EFS CSI Driver
version: 1.2.1
version: 1.2.2
kubeVersion: ">=1.17.0-0"
home: https://github.com/kubernetes-sigs/aws-efs-csi-driver
sources:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,8 @@ spec:
args:
- --endpoint=$(CSI_ENDPOINT)
- --logtostderr
- --v=5
# Uncomment below line to allow access point root directory to be deleted by controller.
#- --delete-access-point-root-dir
- --v={{ .Values.logLevel }}
- --delete-access-point-root-dir={{ hasKey .Values.controller "deleteAccessPointRootDir" | ternary .Values.controller.deleteAccessPointRootDir false }}
env:
- name: CSI_ENDPOINT
value: unix:///var/lib/csi/sockets/pluginproxy/csi.sock
Expand All @@ -77,7 +76,7 @@ spec:
image: {{ printf "%s:%s" .Values.sidecars.csiProvisionerImage.repository .Values.sidecars.csiProvisionerImage.tag }}
args:
- --csi-address=$(ADDRESS)
- --v=5
- --v={{ .Values.logLevel }}
- --feature-gates=Topology=true
- --leader-election
env:
Expand Down
3 changes: 3 additions & 0 deletions charts/aws-efs-csi-driver/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,9 @@ serviceAccount:

controller:
create: true
# Enable if you want the controller to also delete the
# path on efs when deleteing an access point
deleteAccessPointRootDir: false

storageClasses: []
# Add StorageClass resources like:
Expand Down

0 comments on commit 68cf36a

Please sign in to comment.