Skip to content

Commit

Permalink
Merge pull request #8 from wandb/expose-sa-name
Browse files Browse the repository at this point in the history
Add service account name as environment variable in agent pod
  • Loading branch information
bcsherma authored May 26, 2023
2 parents d449291 + 4c392e4 commit 0820144
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/launch-agent/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
name: launch-agent
description: A Helm chart for running the W&B Launch Agent in Kubernetes
type: application
version: 0.1.0
version: 0.2.0
maintainers:
- name: wandb
email: support@wandb.com
Expand Down
4 changes: 4 additions & 0 deletions charts/launch-agent/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,10 @@ spec:
secretKeyRef:
name: wandb-api-key
key: password
- name: WANDB_LAUNCH_SERVICE_ACCOUNT_NAME
valueFrom:
fieldRef:
fieldPath: spec.serviceAccountName
volumeMounts:
- name: wandb-launch-config
mountPath: /home/launch_agent/.config/wandb
Expand Down

0 comments on commit 0820144

Please sign in to comment.