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 76
76
- name : AWS_USE_FIPS_ENDPOINT
77
77
value : " true"
78
78
{{- end }}
79
+ {{- with .Values.controller.env }}
80
+ {{- toYaml . | nindent 12 }}
81
+ {{- end }}
79
82
volumeMounts :
80
83
- name : socket-dir
81
84
mountPath : /var/lib/csi/sockets/pluginproxy/
85
+ {{- with .Values.controller.volumeMounts }}
86
+ {{- toYaml . | nindent 12 }}
87
+ {{- end }}
82
88
ports :
83
89
- name : healthz
84
90
containerPort : {{ .Values.controller.healthPort }}
@@ -127,6 +133,9 @@ spec:
127
133
volumeMounts :
128
134
- name : socket-dir
129
135
mountPath : /csi
136
+ {{- with .Values.controller.volumeMounts }}
137
+ {{- toYaml . | nindent 12 }}
138
+ {{- end }}
130
139
{{- with .Values.sidecars.livenessProbe.resources }}
131
140
resources : {{ toYaml . | nindent 12 }}
132
141
{{- end }}
@@ -137,6 +146,9 @@ spec:
137
146
volumes :
138
147
- name : socket-dir
139
148
emptyDir : {}
149
+ {{- with .Values.controller.volumes }}
150
+ {{- toYaml . | nindent 8 }}
151
+ {{- end }}
140
152
{{- with .Values.controller.affinity }}
141
153
affinity : {{- toYaml . | nindent 8 }}
142
154
{{- end }}
Original file line number Diff line number Diff line change 85
85
- name : AWS_USE_FIPS_ENDPOINT
86
86
value : " true"
87
87
{{- end }}
88
+ {{- with .Values.node.env }}
89
+ {{- toYaml . | nindent 12 }}
90
+ {{- end }}
88
91
volumeMounts :
89
92
- name : kubelet-dir
90
93
mountPath : /var/lib/kubelet
97
100
mountPath : /var/amazon/efs
98
101
- name : efs-utils-config-legacy
99
102
mountPath : /etc/amazon/efs-legacy
103
+ {{- with .Values.node.volumeMounts }}
104
+ {{- toYaml . | nindent 12 }}
105
+ {{- end }}
100
106
ports :
101
107
- name : healthz
102
108
containerPort : {{ .Values.node.healthPort }}
@@ -182,3 +188,6 @@ spec:
182
188
hostPath :
183
189
path : /etc/amazon/efs
184
190
type : DirectoryOrCreate
191
+ {{- with .Values.node.volumes }}
192
+ {{- toYaml . | nindent 8 }}
193
+ {{- end }}
Original file line number Diff line number Diff line change @@ -83,6 +83,9 @@ controller:
83
83
- key : efs.csi.aws.com/agent-not-ready
84
84
operator : Exists
85
85
affinity : {}
86
+ env : []
87
+ volumes : []
88
+ volumeMounts : []
86
89
# Specifies whether a service account should be created
87
90
serviceAccount :
88
91
create : true
@@ -166,6 +169,9 @@ node:
166
169
runAsUser : 0
167
170
runAsGroup : 0
168
171
fsGroup : 0
172
+ env : []
173
+ volumes : []
174
+ volumeMounts : []
169
175
170
176
storageClasses : []
171
177
# Add StorageClass resources like:
You can’t perform that action at this time.
0 commit comments