Skip to content

Commit

Permalink
feat: Support mofed udev logic (#740)
Browse files Browse the repository at this point in the history
latest MOFED build supports a better logic to create udev rule to
preserve
netdev name on old(er) kernels.

bump mofed version and provide required mounts.
  • Loading branch information
e0ne authored Jan 9, 2024
2 parents c41c520 + e9c9371 commit 6aa83c2
Show file tree
Hide file tree
Showing 9 changed files with 14 additions and 8 deletions.
2 changes: 1 addition & 1 deletion config/samples/mellanox.com_v1alpha1_nicclusterpolicy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ spec:
ofedDriver:
image: doca-driver
repository: nvcr.io/nvstaging/mellanox
version: 24.01-0.0.9.0
version: 24.01-0.1.2.0
livenessProbe:
initialDelaySeconds: 30
periodSeconds: 30
Expand Down
2 changes: 1 addition & 1 deletion deployment/network-operator/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ ofedDriver:
deploy: false
image: doca-driver
repository: nvcr.io/nvstaging/mellanox
version: 24.01-0.0.9.0
version: 24.01-0.1.2.0
initContainer:
enable: true
repository: ghcr.io/mellanox
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ spec:
ofedDriver:
image: doca-driver
repository: nvcr.io/nvstaging/mellanox
version: 24.01-0.0.9.0
version: 24.01-0.1.2.0
upgradePolicy:
autoUpgrade: true
drain:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ spec:
ofedDriver:
image: doca-driver
repository: nvcr.io/nvstaging/mellanox
version: 24.01-0.0.9.0
version: 24.01-0.1.2.0
upgradePolicy:
autoUpgrade: true
drain:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ spec:
ofedDriver:
image: doca-driver
repository: nvcr.io/nvstaging/mellanox
version: 24.01-0.0.9.0
version: 24.01-0.1.2.0
upgradePolicy:
autoUpgrade: true
drain:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ spec:
ofedDriver:
image: doca-driver
repository: nvcr.io/nvstaging/mellanox
version: 24.01-0.0.9.0
version: 24.01-0.1.2.0
upgradePolicy:
autoUpgrade: true
drain:
Expand Down
2 changes: 1 addition & 1 deletion example/crs/mellanox.com_v1alpha1_nicclusterpolicy_cr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ spec:
ofedDriver:
image: doca-driver
repository: nvcr.io/nvstaging/mellanox
version: 24.01-0.0.9.0
version: 24.01-0.1.2.0
upgradePolicy:
autoUpgrade: true
drain:
Expand Down
2 changes: 1 addition & 1 deletion hack/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ SriovIbCni:
Mofed:
image: doca-driver
repository: nvcr.io/nvstaging/mellanox
version: 24.01-0.0.9.0
version: 24.01-0.1.2.0
RdmaSharedDevicePlugin:
image: k8s-rdma-shared-dev-plugin
repository: ghcr.io/mellanox
Expand Down
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 @@ -107,6 +107,9 @@ spec:
mountPath: /host/usr
- name: host-udev
mountPath: /host/lib/udev
- name: host-run-udev
mountPath: /run/udev
readOnly: true
- name: host-lib-modules
mountPath: /host/lib/modules
{{- if.AdditionalVolumeMounts.VolumeMounts }}
Expand Down Expand Up @@ -208,6 +211,9 @@ spec:
- name: host-udev
hostPath:
path: /lib/udev
- name: host-run-udev
hostPath:
path: /run/udev
- name: host-lib-modules
hostPath:
path: /lib/modules
Expand Down

0 comments on commit 6aa83c2

Please sign in to comment.