Skip to content

Commit

Permalink
Mount /etc/modprobe.d/ib_core.conf to OFED container
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
e0ne committed May 20, 2024
1 parent 6b93a0c commit f952488
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions manifests/state-ofed-driver/0050_ofed-driver-ds.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down Expand Up @@ -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:
Expand Down

0 comments on commit f952488

Please sign in to comment.