Skip to content

Commit

Permalink
Merge 20dfb9a into 56088a7
Browse files Browse the repository at this point in the history
  • Loading branch information
KyleGoyette authored Nov 12, 2024
2 parents 56088a7 + 20dfb9a commit 00c0ce3
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion charts/operator-wandb/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
name: operator-wandb
description: A Helm chart for deploying W&B to Kubernetes
type: application
version: 0.18.14
version: 0.18.15
appVersion: 1.0.0
icon: https://wandb.ai/logo.svg

Expand Down
2 changes: 2 additions & 0 deletions charts/operator-wandb/charts/app/templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,9 @@ app deployments.
{{- define "app.internalJWTMap" -}}
'{
{{- range $value := .Values.internalJWTMap -}}
{{- if and (not (empty $value.subject)) (not (empty $value.issuer)) }}
{{- printf "%q: %q" $value.subject $value.issuer }},
{{- end -}}
{{- end -}}
}'
{{- end -}}
3 changes: 2 additions & 1 deletion charts/operator-wandb/charts/app/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ artifactsGc:
NumWorkers: 0
DeleteFilesNumWorkers: 0

# internalJWTMap is used to map service accounts to their issuers.
internalJWTMap:
- subject: "system:serviceaccount:{{ .Release.Namespace }}:{{ .Release.Name }}-weave-trace"
issuer: "https://kubernetes.{{ .Release.Namespace }}.svc.cluster.local"
issuer: ""

0 comments on commit 00c0ce3

Please sign in to comment.