File tree Expand file tree Collapse file tree 3 files changed +8
-1
lines changed
blob-csi-driver/templates Expand file tree Collapse file tree 3 files changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -244,6 +244,9 @@ spec:
244
244
{{- if .Values.node.enableAznfsMount }}
245
245
- mountPath : /opt/microsoft/aznfs/data
246
246
name : aznfs-data
247
+ - mountPath : /lib/modules
248
+ name : lib-modules
249
+ readOnly : true
247
250
{{- end }}
248
251
resources : {{- toYaml .Values.node.resources.blob | nindent 12 }}
249
252
{{- if .Values.node.enableAznfsMount }}
@@ -313,6 +316,10 @@ spec:
313
316
path : /opt/microsoft/aznfs/data
314
317
type : DirectoryOrCreate
315
318
name : aznfs-data
319
+ - name : lib-modules
320
+ hostPath :
321
+ path : /lib/modules
322
+ type : DirectoryOrCreate
316
323
{{- end }}
317
324
{{- if .Values.securityContext }}
318
325
securityContext : {{- toYaml .Values.securityContext | nindent 8 }}
Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ RUN chmod +x /blobfuse-proxy/init.sh && \
35
35
chmod +x /blobfuse-proxy/blobfuse-proxy
36
36
37
37
# packages that are only needed by aznfs: procps conntrack iptables bind9-host iproute2 bash netcat sysvinit-utils.
38
- RUN apt update && apt upgrade -y && apt-mark unhold libcap2 && clean-install ca-certificates uuid-dev util-linux mount udev wget e2fsprogs nfs-common netbase procps conntrack iptables bind9-host iproute2 bash netcat-traditional sysvinit-utils
38
+ RUN apt update && apt upgrade -y && apt-mark unhold libcap2 && clean-install ca-certificates uuid-dev util-linux mount udev wget e2fsprogs nfs-common netbase procps conntrack iptables bind9-host iproute2 bash netcat-traditional sysvinit-utils kmod
39
39
40
40
# install aznfs
41
41
RUN if [ "$ARCH" = "amd64" ] ; then \
You can’t perform that action at this time.
0 commit comments