summaryrefslogtreecommitdiff
path: root/charts/llm-app/templates/_helpers.tpl
diff options
context:
space:
mode:
authorYour Name <you@example.com>2026-04-26 21:02:47 +0800
committerYour Name <you@example.com>2026-04-26 21:02:47 +0800
commitd3e770254de0bb301815ca87257c8b1a357d06c4 (patch)
tree358c814be2a06b9e2009905f14938243286b8d82 /charts/llm-app/templates/_helpers.tpl
Diffstat (limited to 'charts/llm-app/templates/_helpers.tpl')
-rw-r--r--charts/llm-app/templates/_helpers.tpl8
1 files changed, 8 insertions, 0 deletions
diff --git a/charts/llm-app/templates/_helpers.tpl b/charts/llm-app/templates/_helpers.tpl
new file mode 100644
index 0000000..8b104de
--- /dev/null
+++ b/charts/llm-app/templates/_helpers.tpl
@@ -0,0 +1,8 @@
1{{- define "llm-app.fullname" -}}
2{{- printf "%s-%s" .Release.Name .Chart.Name | trunc 63 | trimSuffix "-" -}}
3{{- end -}}
4
5{{- define "llm-app.selectorLabels" -}}
6app.kubernetes.io/name: {{ .Chart.Name }}
7app.kubernetes.io/instance: {{ .Release.Name }}
8{{- end -}}