mirror of
https://github.com/clearml/clearml-helm-charts
synced 2025-03-03 10:42:06 +00:00
Fixed: redis svc name creation
This commit is contained in:
parent
25af4a4d8f
commit
9b6372d730
@ -194,7 +194,7 @@ MongoDB Comnnection string
|
||||
{{- end }}
|
||||
|
||||
{{/*
|
||||
MongoDB hotname
|
||||
MongoDB hostname
|
||||
*/}}
|
||||
{{- define "mongodb.hostname" -}}
|
||||
{{- if eq .Values.mongodb.architecture "standalone" }}
|
||||
@ -209,8 +209,12 @@ 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