Skip to content

Commit

Permalink
fix: Redis password (#290)
Browse files Browse the repository at this point in the history
  • Loading branch information
zacharyblasczyk authored Dec 17, 2024
1 parent b948c3b commit d4ecfca
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion charts/operator-wandb/templates/_redis.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Return name of secret where redis information is stored
{{- if .Values.global.redis.secret.secretName -}}
{{ .Values.global.redis.secret.secretName }}
{{- else -}}
{{- print .Release.Name "-redis" -}}
{{- print .Release.Name "-redis-secret" -}}
{{- end -}}
{{- end -}}

Expand Down
4 changes: 2 additions & 2 deletions charts/operator-wandb/templates/redis.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
apiVersion: v1
kind: Secret
metadata:
name: "{{ .Release.Name }}-redis-secret"
name: "{{ $secretName }}"
labels:
{{- include "wandb.commonLabels" . | nindent 4 }}
data:
Expand All @@ -20,4 +20,4 @@ metadata:
{{- include "wandb.commonLabels" . | nindent 4 }}
data:
REDIS_PORT: "{{ include "wandb.redis.port" . }}"
REDIS_HOST: "{{ include "wandb.redis.host" . }}"
REDIS_HOST: "{{ include "wandb.redis.host" . }}"

0 comments on commit d4ecfca

Please sign in to comment.