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 @@ -242,6 +242,9 @@ spec:
242242 {{- if .Values.node.enableAznfsMount }}
243243 - mountPath : /opt/microsoft/aznfs/data
244244 name : aznfs-data
245+ - mountPath : /lib/modules
246+ name : lib-modules
247+ readOnly : true
245248 {{- end }}
246249 resources : {{- toYaml .Values.node.resources.blob | nindent 12 }}
247250{{- if .Values.node.enableAznfsMount }}
@@ -310,6 +313,10 @@ spec:
310313 path : /opt/microsoft/aznfs/data
311314 type : DirectoryOrCreate
312315 name : aznfs-data
316+ - name : lib-modules
317+ hostPath :
318+ path : /lib/modules
319+ type : DirectoryOrCreate
313320 {{- end }}
314321 {{- if .Values.securityContext }}
315322 securityContext : {{- toYaml .Values.securityContext | nindent 8 }}
Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ RUN chmod +x /blobfuse-proxy/init.sh && \
2929 chmod +x /blobfuse-proxy/blobfuse-proxy
3030
3131# packages that are only needed by aznfs: procps conntrack iptables bind9-host iproute2 bash netcat sysvinit-utils.
32- 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
32+ 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
3333
3434# install aznfs
3535RUN if [ "$ARCH" = "amd64" ] ; then \
You can’t perform that action at this time.
0 commit comments