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:
244244 {{- if .Values.node.enableAznfsMount }}
245245 - mountPath : /opt/microsoft/aznfs/data
246246 name : aznfs-data
247+ - mountPath : /lib/modules
248+ name : lib-modules
249+ readOnly : true
247250 {{- end }}
248251 resources : {{- toYaml .Values.node.resources.blob | nindent 12 }}
249252{{- if .Values.node.enableAznfsMount }}
@@ -313,6 +316,10 @@ spec:
313316 path : /opt/microsoft/aznfs/data
314317 type : DirectoryOrCreate
315318 name : aznfs-data
319+ - name : lib-modules
320+ hostPath :
321+ path : /lib/modules
322+ type : DirectoryOrCreate
316323 {{- end }}
317324 {{- if .Values.securityContext }}
318325 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 && \
3535 chmod +x /blobfuse-proxy/blobfuse-proxy
3636
3737# 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
3939
4040# install aznfs
4141RUN if [ "$ARCH" = "amd64" ] ; then \
You can’t perform that action at this time.
0 commit comments