File tree Expand file tree Collapse file tree 3 files changed +6
-1
lines changed
deployments/helm/k8s-dra-driver Expand file tree Collapse file tree 3 files changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -105,7 +105,7 @@ func newApp() *cli.App {
105
105
Value : "/driver-root" ,
106
106
Usage : "the path where the NVIDIA driver root is mounted in the container; used for generating CDI specifications" ,
107
107
Destination : & flags .containerDriverRoot ,
108
- EnvVars : []string {"CONTAINER_DRIVER_ROOT " },
108
+ EnvVars : []string {"DRIVER_ROOT_CTR_PATH " },
109
109
},
110
110
& cli.StringFlag {
111
111
Name : "nvidia-ctk-path" ,
Original file line number Diff line number Diff line change 75
75
value : " {{ .Values.nvidiaCtkPath }}"
76
76
- name : NVIDIA_DRIVER_ROOT
77
77
value : " {{ .Values.nvidiaDriverRoot }}"
78
+ - name : DRIVER_ROOT_CTR_PATH
79
+ value : " {{ .Values.driverRootCtrPath }}"
78
80
- name : NVIDIA_VISIBLE_DEVICES
79
81
value : void
80
82
- name : CDI_ROOT
Original file line number Diff line number Diff line change 22
22
# For driver installed directly on a host, a value of `/` is used.
23
23
nvidiaDriverRoot : /
24
24
25
+ # the path where the NVIDIA driver root is mounted in the container; used for generating CDI specifications
26
+ driverRootCtrPath : /driver-root
27
+
25
28
# Specify the path of CTK binary (nvidia-ctk) on the host,
26
29
# as it should appear in the the generated CDI specification.
27
30
# The path depends on the system that runs on the node.
You can’t perform that action at this time.
0 commit comments