From f95248862c0aab5cc0ca5a3def563b7c109d139c Mon Sep 17 00:00:00 2001 From: Ivan Kolodiazhnyi Date: Mon, 20 May 2024 09:47:59 +0300 Subject: [PATCH] Mount `/etc/modprobe.d/ib_core.conf` to OFED container We need to mount host `/etc/modprobe.d/ib_core.conf` config into the container to not break host RDMA subsystem configuration. Signed-off-by: Ivan Kolodiazhnyi --- manifests/state-ofed-driver/0050_ofed-driver-ds.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/manifests/state-ofed-driver/0050_ofed-driver-ds.yaml b/manifests/state-ofed-driver/0050_ofed-driver-ds.yaml index 12898d18c..ea0a900ea 100644 --- a/manifests/state-ofed-driver/0050_ofed-driver-ds.yaml +++ b/manifests/state-ofed-driver/0050_ofed-driver-ds.yaml @@ -116,6 +116,8 @@ spec: mountPath: /host/lib/modules - name: drivers-inventory mountPath: /mnt/drivers-inventory + - name: host-ib-core + mountPath: /etc/modprobe.d/ib_core.conf {{- if.AdditionalVolumeMounts.VolumeMounts }} {{- range .AdditionalVolumeMounts.VolumeMounts }} - name: {{ .Name }} @@ -235,6 +237,10 @@ spec: hostPath: path: /var/opt/mofed-container/inventory type: DirectoryOrCreate + - name: host-ib-core + hostPath: + path: /etc/modprobe.d/ib_core.conf + type: FileOrCreate {{- range .AdditionalVolumeMounts.Volumes }} - name: {{ .Name }} configMap: