Skip to content

Commit 3cb28f4

Browse files
committed
feat: Add image tag to api pod environment
1 parent 845f3b9 commit 3cb28f4

20 files changed

+8836
-2
lines changed

charts/operator-wandb/templates/_env.tpl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
{{- $allExtraEnvFrom := mergeOverwrite $global $values $local -}}
66
{{- range $key, $value := $allExtraEnvFrom }}
77
- name: {{ $key }}
8-
valueFrom:
8+
valueFrom:
99
{{ toYaml $value | nindent 4 }}
1010
{{- end -}}
1111
{{- end -}}
@@ -110,7 +110,7 @@ Global values will override any chart-specific values.
110110
{{- define "wandb.mysqlConfigEnvs" -}}
111111
{{- /*
112112
ATTENTION!
113-
113+
114114
MYSQL_PASSWORD, MYSQL_PORT, MYSQL_HOST, MYSQL_DATABASE, MYSQL_USER
115115
116116
Are all set in the the values.yaml under global.mysql.(host,port,database,user,password)

charts/operator-wandb/templates/api.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,3 +38,4 @@ data:
3838
GORILLA_INTERNAL_JWT_SUBJECTS_TO_ISSUERS: {{ tpl (include "wandb.internalJWTMap" .) . }}
3939
{{- end }}
4040
GORILLA_TASK_QUEUE_WORKER_ENABLED: "false"
41+
GORILLA_IMAGE_TAG: "{{ .Values.api.image.tag }}"

charts/operator-wandb/templates/flat-run-fields-updater.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,4 @@ data:
1010
GORILLA_RUN_UPDATE_QUEUE_ADDR: "internal://"
1111
GORILLA_RUN_UPDATE_SHADOW_QUEUE_OVERFLOW_BUCKET_NAME: "wandb"
1212
GORILLA_RUN_UPDATE_SHADOW_QUEUE_OVERFLOW_BUCKET_PREFIX: "wandb-overflow"
13+
GORILLA_IMAGE_TAG: "{{ index .Values "flat-run-fields-updater" "image" "tag" }}"

0 commit comments

Comments
 (0)