File tree Expand file tree Collapse file tree 3 files changed +27
-0
lines changed
charts/aws-efs-csi-driver Expand file tree Collapse file tree 3 files changed +27
-0
lines changed Original file line number Diff line number Diff line change 93
93
- name : AWS_USE_FIPS_ENDPOINT
94
94
value : " true"
95
95
{{- end }}
96
+ {{- with .Values.controller.env }}
97
+ {{- toYaml . | nindent 12 }}
98
+ {{- end }}
96
99
volumeMounts :
97
100
- name : socket-dir
98
101
mountPath : /var/lib/csi/sockets/pluginproxy/
102
+ {{- with .Values.controller.volumeMounts }}
103
+ {{- toYaml . | nindent 12 }}
104
+ {{- end }}
99
105
ports :
100
106
- name : healthz
101
107
containerPort : {{ .Values.controller.healthPort }}
@@ -150,6 +156,9 @@ spec:
150
156
volumeMounts :
151
157
- name : socket-dir
152
158
mountPath : /csi
159
+ {{- with .Values.controller.volumeMounts }}
160
+ {{- toYaml . | nindent 12 }}
161
+ {{- end }}
153
162
{{- with .Values.sidecars.livenessProbe.resources }}
154
163
resources : {{ toYaml . | nindent 12 }}
155
164
{{- end }}
@@ -160,6 +169,9 @@ spec:
160
169
volumes :
161
170
- name : socket-dir
162
171
emptyDir : {}
172
+ {{- with .Values.controller.volumes }}
173
+ {{- toYaml . | nindent 8 }}
174
+ {{- end }}
163
175
{{- with .Values.controller.affinity }}
164
176
affinity : {{- toYaml . | nindent 8 }}
165
177
{{- end }}
Original file line number Diff line number Diff line change 88
88
- name : AWS_USE_FIPS_ENDPOINT
89
89
value : " true"
90
90
{{- end }}
91
+ {{- with .Values.node.env }}
92
+ {{- toYaml . | nindent 12 }}
93
+ {{- end }}
91
94
volumeMounts :
92
95
- name : kubelet-dir
93
96
mountPath : /var/lib/kubelet
@@ -100,6 +103,9 @@ spec:
100
103
mountPath : /var/amazon/efs
101
104
- name : efs-utils-config-legacy
102
105
mountPath : /etc/amazon/efs-legacy
106
+ {{- with .Values.node.volumeMounts }}
107
+ {{- toYaml . | nindent 12 }}
108
+ {{- end }}
103
109
ports :
104
110
- name : healthz
105
111
containerPort : {{ .Values.node.healthPort }}
@@ -185,3 +191,6 @@ spec:
185
191
hostPath :
186
192
path : /etc/amazon/efs
187
193
type : DirectoryOrCreate
194
+ {{- with .Values.node.volumes }}
195
+ {{- toYaml . | nindent 8 }}
196
+ {{- end }}
Original file line number Diff line number Diff line change @@ -89,6 +89,9 @@ controller:
89
89
- key : efs.csi.aws.com/agent-not-ready
90
90
operator : Exists
91
91
affinity : {}
92
+ env : []
93
+ volumes : []
94
+ volumeMounts : []
92
95
# Specifies whether a service account should be created
93
96
serviceAccount :
94
97
create : true
@@ -180,6 +183,9 @@ node:
180
183
runAsUser : 0
181
184
runAsGroup : 0
182
185
fsGroup : 0
186
+ env : []
187
+ volumes : []
188
+ volumeMounts : []
183
189
184
190
storageClasses : []
185
191
# Add StorageClass resources like:
You can’t perform that action at this time.
0 commit comments