mirror of
https://github.com/bitnami/charts.git
synced 2026-03-13 06:47:24 +08:00
9 lines
268 B
Smarty
9 lines
268 B
Smarty
{{/*
|
|
Return the proper service name for a subcomponent
|
|
Usage:
|
|
{{ include "subcomponent.service.name" ( dict "componentName" "name" "context" $ ) }}
|
|
*/}}
|
|
{{- define "subcomponent.service.name" -}}
|
|
{{- printf "%s-%s" .context.Release.Name .componentName -}}
|
|
{{- end -}}
|