mirror of
https://github.com/clearml/clearml-helm-charts
synced 2025-04-17 01:31:13 +00:00
Fixed: redis name generation
This commit is contained in:
parent
0892882cf7
commit
8a9a3de019
@ -216,12 +216,8 @@ Redis Service name
|
||||
*/}}
|
||||
{{- define "redis.servicename" -}}
|
||||
{{- if .Values.redis.enabled }}
|
||||
{{- if eq .Values.redis.architecture "standalone" }}
|
||||
{{- tpl .Values.redis.master.name . }}
|
||||
{{- else }}
|
||||
{{- printf "%s-headless" (tpl .Values.redis.master.name . ) }}
|
||||
{{- end }}
|
||||
{{- else }}
|
||||
{{- .Values.externalServices.redisHost }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user