Skip to content

Commit

Permalink
Merge 56c373b into f89b143
Browse files Browse the repository at this point in the history
  • Loading branch information
KarstenSiemer committed Apr 14, 2021
2 parents f89b143 + 56c373b commit 61e3d51
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 1 deletion.
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
11 changes: 11 additions & 0 deletions charts/aws-efs-csi-driver/templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -54,3 +54,14 @@ Create the name of the service account to use
{{ default "default" .Values.serviceAccount.controller.name }}
{{- end -}}
{{- end -}}

{{/*
Create a string out of the map for controller tags flag
*/}}
{{- define "aws-efs-csi-driver.tags" -}}
{{- $tags := list -}}
{{ range $key, $val := . }}
{{- $tags = print $key ":" $val | append $tags -}}
{{- end -}}
{{- join " " $tags | quote -}}
{{- end -}}
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,9 @@ spec:
- --v=5
# Uncomment below line to allow access point root directory to be deleted by controller.
#- --delete-access-point-root-dir
{{- if .Values.controller.tags }}
- --tags={{ include "aws-efs-csi-driver.tags" .Values.controller.tags }}
{{- end }}
env:
- name: CSI_ENDPOINT
value: unix:///var/lib/csi/sockets/pluginproxy/csi.sock
Expand Down
4 changes: 4 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,10 @@ serviceAccount:

controller:
create: true
# Add additional tags to access points
tags: {}
# environment: prod
# region: us-east-1

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

0 comments on commit 61e3d51

Please sign in to comment.