File tree Expand file tree Collapse file tree 5 files changed +32
-7
lines changed
charts/aws-fsx-csi-driver Expand file tree Collapse file tree 5 files changed +32
-7
lines changed Original file line number Diff line number Diff line change 1
1
# Helm chart
2
2
3
+ # v1.12.1
4
+ * Parameterize controller.extraTags
5
+
3
6
# v1.12.0
4
7
* Use driver image 1.5.0
5
8
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ apiVersion: v2
2
2
appVersion : " 1.5.0"
3
3
name : aws-fsx-csi-driver
4
4
description : A Helm chart for AWS FSx for Lustre CSI Driver
5
- version : 1.12.0
5
+ version : 1.12.1
6
6
kubeVersion : " >=1.17.0-0"
7
7
home : https://github.com/kubernetes-sigs/aws-fsx-csi-driver
8
8
sources :
Original file line number Diff line number Diff line change @@ -54,3 +54,16 @@ app.kubernetes.io/name: {{ include "aws-fsx-csi-driver.name" . }}
54
54
app.kubernetes.io/instance: { { .Release.Name } }
55
55
{ {- end } }
56
56
{ {- 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 44
44
args :
45
45
- --mode={{ .Values.controller.mode }}
46
46
- --endpoint=$(CSI_ENDPOINT)
47
+ {{- if .Values.controller.extraTags }}
48
+ {{- include "aws-fsx-csi-driver.extra-tags" . | nindent 12 }}
49
+ {{- end }}
47
50
- --logging-format={{ .Values.controller.loggingFormat }}
48
51
- --v={{ .Values.controller.logLevel }}
49
52
env :
Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ sidecars:
31
31
tag : v2.13.0-eks-1-33-9
32
32
pullPolicy : IfNotPresent
33
33
logLevel : 2
34
- resources :
34
+ resources :
35
35
requests :
36
36
cpu : 10m
37
37
memory : 32Mi
@@ -46,7 +46,7 @@ sidecars:
46
46
tag : v5.2.0-eks-1-33-9
47
47
pullPolicy : IfNotPresent
48
48
logLevel : 2
49
- resources :
49
+ resources :
50
50
requests :
51
51
cpu : 10m
52
52
memory : 32Mi
@@ -61,7 +61,7 @@ sidecars:
61
61
tag : v1.13.2-eks-1-33-9
62
62
pullPolicy : IfNotPresent
63
63
logLevel : 2
64
- resources :
64
+ resources :
65
65
requests :
66
66
cpu : 10m
67
67
memory : 32Mi
@@ -133,11 +133,17 @@ controller:
133
133
# - maxSkew: 1
134
134
# topologyKey: kubernetes.io/hostname
135
135
# whenUnsatisfiable: ScheduleAnyway
136
- topologySpreadConstraints : []
136
+ topologySpreadConstraints : []
137
137
podDisruptionBudget :
138
138
# Warning: Disabling PodDisruptionBudget may lead to delays in stateful workloads starting due to controller
139
139
# pod restarts or evictions.
140
140
enabled : true
141
+ # Extra tags to attach to each dynamically provisioned file system.
142
+ # ---
143
+ # extraTags:
144
+ # key1: value1
145
+ # key2: value2
146
+ extraTags : {}
141
147
142
148
node :
143
149
mode : node
@@ -193,8 +199,8 @@ node:
193
199
operator : NotIn
194
200
values :
195
201
- fargate
196
- - hybrid
197
-
202
+ - hybrid
203
+
198
204
nameOverride : " "
199
205
fullnameOverride : " "
200
206
You can’t perform that action at this time.
0 commit comments