Describe the bug
With DTK mode active, the driver build runs in openshift-driver-toolkit-ctr (via ocp_dtk_entrypoint dtk-build-driver), but the repoConfig ConfigMap is mounted only into nvidia-driver-ctr. Any dnf step in the DTK container can't see the custom repo — defeating repoConfig on platforms without RHEL entitlements (OKD/SCOS).
To Reproduce
ClusterPolicy with use_ocp_driver_toolkit: true + driver.repoConfig.configMapName. Rendered DS mounts:
nvidia-driver-ctr: okd-gpu-kernel-packages @ /etc/yum.repos.d/okd-gpu-kernel-packages.repo
openshift-driver-toolkit-ctr: (no configMap mounts)
DTK-container build then fails (Error: Unable to find a match: kernel-6.12.0-233.el10.x86_64) since it only sees baked-in rolling CentOS Stream repos. Live-patching the same mount into the DTK container makes the identical build succeed.
Expected behavior
repoConfig (and certConfig) mounted into openshift-driver-toolkit-ctr whenever DTK mode is enabled.
Environment
- GPU Operator Version: v26.3.3 (OLM certified)
- OS: CentOS Stream CoreOS 10
- Kernel Version: 6.12.0-233.el10.x86_64
- Container Runtime: CRI-O 1.34
- Kubernetes Distro and Version: OKD 4.22.0-okd-scos.6
Debug data available on request: kubectl get pods/ds -n nvidia-gpu-operator, driver pod logs from both containers.
Describe the bug
With DTK mode active, the driver build runs in
openshift-driver-toolkit-ctr(viaocp_dtk_entrypoint dtk-build-driver), but therepoConfigConfigMap is mounted only intonvidia-driver-ctr. Anydnfstep in the DTK container can't see the custom repo — defeatingrepoConfigon platforms without RHEL entitlements (OKD/SCOS).To Reproduce
ClusterPolicy with
use_ocp_driver_toolkit: true+driver.repoConfig.configMapName. Rendered DS mounts:DTK-container build then fails (
Error: Unable to find a match: kernel-6.12.0-233.el10.x86_64) since it only sees baked-in rolling CentOS Stream repos. Live-patching the same mount into the DTK container makes the identical build succeed.Expected behavior
repoConfig(andcertConfig) mounted intoopenshift-driver-toolkit-ctrwhenever DTK mode is enabled.Environment
Debug data available on request:
kubectl get pods/ds -n nvidia-gpu-operator, driver pod logs from both containers.