Skip to content

Commit

Permalink
Merge pull request #442 from e0ne/lib-modules
Browse files Browse the repository at this point in the history
Mount host /lib/modules directory to OFED container
  • Loading branch information
adrianchiris committed Dec 26, 2022
2 parents d3400d7 + a8deee4 commit 6f86918
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions manifests/stage-ofed-driver/0050_ofed-driver-ds.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,8 @@ spec:
mountPath: /host/usr
- name: host-udev
mountPath: /host/lib/udev
- name: host-lib-modules
mountPath: /host/lib/modules
{{- if.AdditionalVolumeMounts.VolumeMounts }}
{{- range .AdditionalVolumeMounts.VolumeMounts }}
- name: {{ .Name }}
Expand Down Expand Up @@ -128,6 +130,9 @@ spec:
- name: host-udev
hostPath:
path: /lib/udev
- name: host-lib-modules
hostPath:
path: /lib/modules
{{- range .AdditionalVolumeMounts.Volumes }}
- name: {{ .Name }}
configMap:
Expand Down

0 comments on commit 6f86918

Please sign in to comment.