From 8fcb4dc1ce5ee3816981ec3f19f9d7f792c28c4b Mon Sep 17 00:00:00 2001 From: guptaNswati Date: Tue, 29 Oct 2024 21:52:48 +0000 Subject: [PATCH] mount imex nodes config --- assets/state-driver/0500_daemonset.yaml | 6 ++++++ manifests/state-driver/0500_daemonset.yaml | 6 ++++++ 2 files changed, 12 insertions(+) diff --git a/assets/state-driver/0500_daemonset.yaml b/assets/state-driver/0500_daemonset.yaml index 13f83884a..e4794a3f2 100644 --- a/assets/state-driver/0500_daemonset.yaml +++ b/assets/state-driver/0500_daemonset.yaml @@ -132,6 +132,8 @@ spec: mountPath: /sys/module/firmware_class/parameters/path - name: nv-firmware mountPath: /lib/firmware + - name: host-imex-config + mountPath: /etc/nvidia-imex/nodes_config.cfg startupProbe: exec: command: @@ -335,3 +337,7 @@ spec: hostPath: path: /run/nvidia/driver/lib/firmware type: DirectoryOrCreate + - name: host-imex-config + hostPath: + path: /etc/nvidia-imex/nodes_config.cfg + type: File diff --git a/manifests/state-driver/0500_daemonset.yaml b/manifests/state-driver/0500_daemonset.yaml index 26dfecf15..2f53d2adb 100644 --- a/manifests/state-driver/0500_daemonset.yaml +++ b/manifests/state-driver/0500_daemonset.yaml @@ -292,6 +292,8 @@ spec: mountPath: /sys/devices/system/memory/auto_online_blocks - name: nv-firmware mountPath: /lib/firmware + - name: host-imex-config + mountPath: /etc/nvidia-imex/nodes_config.cfg {{- if and .AdditionalConfigs .AdditionalConfigs.VolumeMounts }} {{- range .AdditionalConfigs.VolumeMounts }} - name: {{ .Name }} @@ -644,6 +646,10 @@ spec: hostPath: path: /run/nvidia/driver/lib/firmware type: DirectoryOrCreate + - name: host-imex-config + hostPath: + path: /etc/nvidia-imex/nodes_config.cfg + type: File {{- if and .AdditionalConfigs .AdditionalConfigs.Volumes }} {{- range .AdditionalConfigs.Volumes }} - name: {{ .Name }}