Skip to content

add repoconfig to the openshift-driver-toolkit-ctr container in DTK mode - #2812

Open
kvalliyurnatt wants to merge 1 commit into
NVIDIA:mainfrom
kvalliyurnatt:repoconfig_openshift_driver_toolkit
Open

add repoconfig to the openshift-driver-toolkit-ctr container in DTK mode#2812
kvalliyurnatt wants to merge 1 commit into
NVIDIA:mainfrom
kvalliyurnatt:repoconfig_openshift_driver_toolkit

Conversation

@kvalliyurnatt

@kvalliyurnatt kvalliyurnatt commented Aug 26, 2026

Copy link
Copy Markdown
Contributor

Description

When DTK mode is active, driver build runs in openshift-driver-toolkit-ctr but we don't mount the repoconfig configmap to the container, so dnf steps can't see custom repos due to this.

This PR adds the repoconfig configmap to the openshift-driver-toolkit-ctr and also any certs that might be required as well.

fixes: #2811

Checklist

  • No secrets, sensitive information, or unrelated changes
  • Lint checks passing (make lint)
  • Generated assets in-sync (make validate-generated-assets)
  • Go mod artifacts in-sync (make validate-modules)
  • Test cases are added for new code paths

Testing

I added a unit test to verify.
I will test and verify on an actual machine as well

Signed-off-by: Karthikeyan Valliyurnatt <kvalliyurnat@nvidia.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: spec.driver.repoConfig is not mounted into openshift-driver-toolkit-ctr (DTK-mode builds can't use it)

1 participant