From 68262bf7b8afed103ce922556219c4893548744a Mon Sep 17 00:00:00 2001 From: Tariq Ibrahim Date: Wed, 21 Jan 2026 21:38:14 -0800 Subject: [PATCH] [state-toolkit] expose the namespace as an envar for the main toolkit container Signed-off-by: Tariq Ibrahim --- assets/state-container-toolkit/0500_daemonset.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/assets/state-container-toolkit/0500_daemonset.yaml b/assets/state-container-toolkit/0500_daemonset.yaml index c5f9352bb..75f802e10 100644 --- a/assets/state-container-toolkit/0500_daemonset.yaml +++ b/assets/state-container-toolkit/0500_daemonset.yaml @@ -71,6 +71,10 @@ spec: value: "void" - name: TOOLKIT_PID_FILE value: "/run/nvidia/toolkit/toolkit.pid" + - name: NRI_NAMESPACE + valueFrom: + fieldRef: + fieldPath: metadata.namespace imagePullPolicy: IfNotPresent name: nvidia-container-toolkit-ctr securityContext: