Skip to content

feat(helm): make automountServiceAccountToken configurable#665

Open
75asu wants to merge 1 commit into
NVIDIA:mainfrom
75asu:feat/helm-automount-sa-token-configurable
Open

feat(helm): make automountServiceAccountToken configurable#665
75asu wants to merge 1 commit into
NVIDIA:mainfrom
75asu:feat/helm-automount-sa-token-configurable

Conversation

@75asu

@75asu 75asu commented May 30, 2026

Copy link
Copy Markdown

Resolves #624

  • Adds serviceAccount.automountServiceAccountToken to expose the field as an explicit override.
  • Backward compatible: when unset, falls back to the existing derivation from kubernetes.enablePodLabels/enablePodUID with rbac.create, or kubernetesDRA.enabled.
  • Applied to both the DaemonSet pod spec and the ServiceAccount for consistency.
  • Verified with helm template for default, explicit true, explicit false, and the DRA-enabled derivation path.

Signed-off-by: Asutosh Panda <asutosh.pda@gmail.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.

DCGM Exporter DaemonSet crashes in Kubernetes due to missing ServiceAccount token (/var/run/secrets/.../token)

1 participant