Skip to content

Commit

Permalink
Mount /etc/modprobe.d/ib_core.conf to OFED container (#942)
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.
  • Loading branch information
e0ne authored May 20, 2024
2 parents 6b93a0c + f952488 commit 72f04c8
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 72f04c8

Please sign in to comment.