Skip to content

[nri-plugin] support injection of management CDI devices in multiple namespaces#1901

Open
tariq1890 wants to merge 1 commit into
mainfrom
nri-additional-namespaces
Open

[nri-plugin] support injection of management CDI devices in multiple namespaces#1901
tariq1890 wants to merge 1 commit into
mainfrom
nri-additional-namespaces

Conversation

@tariq1890

Copy link
Copy Markdown
Contributor

This commit exposes a new CLI flag so that users can specify additional namespaces that are authorised for management CDI device injection via the NRI plugin. Currently, users can only inject management CDI devices to containers/pods that are in the same namespace as that of the toolkit pod. With this change, users can specify can additional namespaces whose pods may need management CDI device access.

…namespaces

This commit exposes a new CLI flag so that users can specify additional
namespaces that are authorised for management CDI device injection via the
NRI plugin. Currently, users can only inject management CDI devices to
containers/pods that are in the same namespace as that of the toolkit pod.
With this change, users can specify can additional namespaces whose pods
may need management CDI device access.

Signed-off-by: Tariq Ibrahim <tibrahim@nvidia.com>
@tariq1890 tariq1890 requested a review from cdesiniotis June 24, 2026 01:27
@tariq1890 tariq1890 self-assigned this Jun 24, 2026
@coveralls

Copy link
Copy Markdown

Coverage Report for CI Build 28068807699

Coverage decreased (-0.02%) to 43.526%

Details

  • Coverage decreased (-0.02%) from the base build.
  • Patch coverage: 13 uncovered changes across 2 files (0 of 13 lines covered, 0.0%).
  • No coverage regressions found.

Uncovered Changes

File Changed Covered %
cmd/nvidia-ctk-installer/container/runtime/nri/plugin.go 7 0 0.0%
cmd/nvidia-ctk-installer/main.go 6 0 0.0%

Coverage Regressions

No coverage regressions found.


Coverage Stats

Coverage Status
Relevant Lines: 15014
Covered Lines: 6535
Line Coverage: 43.53%
Coverage Strength: 0.48 hits per line

💛 - Coveralls

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.

2 participants