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:
242
242
{{- if .Values.node.enableAznfsMount }}
243
243
- mountPath : /opt/microsoft/aznfs/data
244
244
name : aznfs-data
245
+ - mountPath : /lib/modules
246
+ name : lib-modules
247
+ readOnly : true
245
248
{{- end }}
246
249
resources : {{- toYaml .Values.node.resources.blob | nindent 12 }}
247
250
{{- if .Values.node.enableAznfsMount }}
@@ -310,6 +313,10 @@ spec:
310
313
path : /opt/microsoft/aznfs/data
311
314
type : DirectoryOrCreate
312
315
name : aznfs-data
316
+ - name : lib-modules
317
+ hostPath :
318
+ path : /lib/modules
319
+ type : DirectoryOrCreate
313
320
{{- end }}
314
321
{{- if .Values.securityContext }}
315
322
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 && \
29
29
chmod +x /blobfuse-proxy/blobfuse-proxy
30
30
31
31
# 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
33
33
34
34
# install aznfs
35
35
RUN if [ "$ARCH" = "amd64" ] ; then \
You can’t perform that action at this time.
0 commit comments