Skip to content

feat(driver-kubernetes): disable service account token auto-mounting#1298

Merged
mrunalp merged 1 commit intoNVIDIA:mainfrom
derekwaynecarr:feat/kubernetes-hardening
May 10, 2026
Merged

feat(driver-kubernetes): disable service account token auto-mounting#1298
mrunalp merged 1 commit intoNVIDIA:mainfrom
derekwaynecarr:feat/kubernetes-hardening

Conversation

@derekwaynecarr
Copy link
Copy Markdown
Collaborator

Summary

Disables automountServiceAccountToken in sandbox pods for security hardening. Sandbox pods should not have access to the Kubernetes API by default.

Adds test case to verify the pod spec includes the disabled setting.

Related Issue

Changes

Testing

  • [x ] mise run pre-commit passes
  • [x ] Unit tests added/updated
  • E2E tests added/updated (if applicable)

Checklist

  • [ x] Follows Conventional Commits
  • [ x] Commits are signed off (DCO)
  • Architecture docs updated (if applicable)

Disables automountServiceAccountToken in sandbox pods for security
hardening. Sandbox pods should not have access to the Kubernetes API
by default.

Adds test case to verify the pod spec includes the disabled setting.

Signed-off-by: Derek Carr <decarr@redhat.com>
@derekwaynecarr derekwaynecarr requested review from a team, maxamillion and mrunalp as code owners May 9, 2026 22:51
@copy-pr-bot
Copy link
Copy Markdown

copy-pr-bot Bot commented May 9, 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.

@mrunalp mrunalp merged commit 24cbaa1 into NVIDIA:main May 10, 2026
5 checks passed
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.

3 participants