Skip to content

Commit

Permalink
Merge pull request #245 from fastlorenzo/fix-external-chart-names
Browse files Browse the repository at this point in the history
fix: fix redis service name when using Mailu as a subchart
  • Loading branch information
fastlorenzo authored Jun 9, 2023
2 parents 56002c6 + ae7f804 commit f6c8772
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mailu/templates/_services.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ Service fqdn (within cluster) can be retrieved with `mailu.SERVICE.serviceFqdn`

{{/* Returns redis internal service name. */}}
{{- define "mailu.redis.serviceName" -}}
{{- printf "%s-redis-master" (include "mailu.fullname" .) -}}
{{- printf "%s-master" (include "common.names.dependency.fullname" (dict "chartName" "redis" "chartValues" .Values.redis "context" $)) -}}
{{- end -}}
{{/* Returns redis service fqdn. */}}
{{- define "mailu.redis.serviceFqdn" -}}
Expand Down

0 comments on commit f6c8772

Please # to comment.