File tree Expand file tree Collapse file tree 5 files changed +26
-1
lines changed
charts/aws-fsx-csi-driver Expand file tree Collapse file tree 5 files changed +26
-1
lines changed Original file line number Diff line number Diff line change 11# Helm chart
22
3+ # v1.12.1
4+ * Parameterize controller.extraTags
5+
36# v1.12.0
47* Use driver image 1.5.0
58
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ apiVersion: v2
22appVersion : " 1.5.0"
33name : aws-fsx-csi-driver
44description : A Helm chart for AWS FSx for Lustre CSI Driver
5- version : 1.12.0
5+ version : 1.12.1
66kubeVersion : " >=1.17.0-0"
77home : https://github.com/kubernetes-sigs/aws-fsx-csi-driver
88sources :
Original file line number Diff line number Diff line change @@ -54,3 +54,16 @@ app.kubernetes.io/name: {{ include "aws-fsx-csi-driver.name" . }}
5454app.kubernetes.io/instance: { { .Release.Name } }
5555{ {- end } }
5656{ {- end -} }
57+
58+ { {/*
59+ Prepare the `--extra-tags` controller flag from a map.
60+ */} }
61+ { {- define " aws-fsx-csi-driver.extra-tags" -} }
62+ { {- $extraTags := list -} }
63+ { {- range $key , $value := .Values.controller.extraTags -} }
64+ { {- $extraTags = printf " %s=%v" $key $value | append $extraTags -} }
65+ { {- end -} }
66+ { {- if $extraTags -} }
67+ { {- printf " - \" --extra-tags=%s\" " (join " ," $extraTags ) -} }
68+ { {- end -} }
69+ { {- end -} }
Original file line number Diff line number Diff line change 4444 args :
4545 - --mode={{ .Values.controller.mode }}
4646 - --endpoint=$(CSI_ENDPOINT)
47+ {{- if .Values.controller.extraTags }}
48+ {{- include "aws-fsx-csi-driver.extra-tags" . | nindent 12 }}
49+ {{- end }}
4750 - --logging-format={{ .Values.controller.loggingFormat }}
4851 - --v={{ .Values.controller.logLevel }}
4952 env :
Original file line number Diff line number Diff line change @@ -138,6 +138,12 @@ controller:
138138 # Warning: Disabling PodDisruptionBudget may lead to delays in stateful workloads starting due to controller
139139 # pod restarts or evictions.
140140 enabled : true
141+ # Extra tags to attach to each dynamically provisioned file system.
142+ # ---
143+ # extraTags:
144+ # key1: value1
145+ # key2: value2
146+ extraTags : {}
141147
142148node :
143149 mode : node
You can’t perform that action at this time.
0 commit comments