Skip to content

Conversation

@rajatchopra
Copy link
Contributor

@rajatchopra rajatchopra commented Jan 28, 2026

Description

sandbox-device-plugin will launch the GFD job within the sandbox env, so we need new privileges for it to do so
Changes:

  • add CRUD privileges for jobs to Role
  • add NODE_NAME/POD_NAMESPACE info so that the device plugin can launch job on its own node

GFD launch PR in sandbox-device-plugin: NVIDIA/sandbox-device-plugin#30

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

Manual testing on cluster

@copy-pr-bot
Copy link

copy-pr-bot bot commented Jan 28, 2026

This pull request requires additional validation before any workflows can run on NVIDIA's runners.

Pull request vetters can view their responsibilities here.

Contributors can view more details about this message here.

resources:
- jobs
verbs:
- create
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do you need all of these permissions? I prefer starting with a minimal list. It seems that create, get, watch and delete would suffice here, yes?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We can skip update I think. I always assumed watch requires list/get.
Fixed.

…vileges and info

Signed-off-by: Rajat Chopra <rajatc@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.

2 participants