Skip to content

Commit

Permalink
Merge branch 'master' into feat/helm-add-controller-access-point-tags
Browse files Browse the repository at this point in the history
  • Loading branch information
KarstenSiemer committed Apr 14, 2021
2 parents 56c373b + 68cf36a commit ceda1e6
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
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 }}
{{- if .Values.controller.tags }}
- --tags={{ include "aws-efs-csi-driver.tags" .Values.controller.tags }}
{{- end }}
Expand All @@ -80,7 +79,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
5 changes: 4 additions & 1 deletion charts/aws-efs-csi-driver/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,10 @@ serviceAccount:

controller:
create: true
# Add additional tags to access points
# Enable if you want the controller to also delete the
# path on efs when deleteing an access point
deleteAccessPointRootDir: false
# Add additional tags to access points
tags: {}
# environment: prod
# region: us-east-1
Expand Down

0 comments on commit ceda1e6

Please sign in to comment.