File tree Expand file tree Collapse file tree 4 files changed +52
-0
lines changed Expand file tree Collapse file tree 4 files changed +52
-0
lines changed Original file line number Diff line number Diff line change @@ -145,6 +145,27 @@ spec:
145
145
- name : registration-dir
146
146
mountPath : /registration
147
147
resources : {{- toYaml .Values.linux.resources.nodeDriverRegistrar | nindent 12 }}
148
+ - name : azfilesrefresh
149
+ {{- if hasPrefix "/" .Values.image.azurefile.repository }}
150
+ image : " {{ .Values.image.baseRepo }}{{ .Values.image.azurefile.repository }}:{{ .Values.image.azurefile.tag }}"
151
+ {{- else }}
152
+ image : " {{ .Values.image.azurefile.repository }}:{{ .Values.image.azurefile.tag }}"
153
+ {{- end }}
154
+ imagePullPolicy : {{ .Values.image.azurefile.pullPolicy }}
155
+ command :
156
+ - " azfilesrefresh"
157
+ securityContext :
158
+ privileged : true
159
+ capabilities :
160
+ drop :
161
+ - ALL
162
+ volumeMounts :
163
+ - mountPath : /var/lib/kubelet/
164
+ mountPropagation : Bidirectional
165
+ name : mountpoint-dir
166
+ - name : host-etc
167
+ mountPath : /etc
168
+ resources : {{- toYaml .Values.linux.resources.azfilesrefresh | nindent 12 }}
148
169
- name : azurefile
149
170
{{- if hasPrefix "/" .Values.image.azurefile.repository }}
150
171
image : " {{ .Values.image.baseRepo }}{{ .Values.image.azurefile.repository }}:{{ .Values.image.azurefile.tag }}"
Original file line number Diff line number Diff line change @@ -88,6 +88,13 @@ controller:
88
88
requests :
89
89
cpu : 10m
90
90
memory : 20Mi
91
+ azfilesrefresh :
92
+ limits :
93
+ cpu : 1
94
+ memory : 100Mi
95
+ requests :
96
+ cpu : 10m
97
+ memory : 20Mi
91
98
azurefile :
92
99
limits :
93
100
cpu : 2
Original file line number Diff line number Diff line change @@ -168,12 +168,36 @@ spec:
168
168
name : device-dir
169
169
- mountPath : /run/kata-containers/shared/direct-volumes
170
170
name : kata-direct-volumes
171
+ - name : host-etc
172
+ mountPath : /etc
171
173
resources :
172
174
limits :
173
175
memory : 400Mi
174
176
requests :
175
177
cpu : 10m
176
178
memory : 20Mi
179
+ - name : azfilesrefresh
180
+ image : mcr.microsoft.com/k8s/csi/azurefile-csi:latest
181
+ imagePullPolicy : IfNotPresent
182
+ command :
183
+ - " azfilesrefresh"
184
+ securityContext :
185
+ privileged : true
186
+ capabilities :
187
+ drop :
188
+ - ALL
189
+ volumeMounts :
190
+ - mountPath : /var/lib/kubelet/
191
+ mountPropagation : Bidirectional
192
+ name : mountpoint-dir
193
+ - name : host-etc
194
+ mountPath : /etc
195
+ resources :
196
+ limits :
197
+ memory : 100Mi
198
+ requests :
199
+ cpu : 10m
200
+ memory : 20Mi
177
201
volumes :
178
202
- name : host-usr
179
203
hostPath :
You can’t perform that action at this time.
0 commit comments