diff options
| author | Your Name <you@example.com> | 2026-04-26 21:02:47 +0800 |
|---|---|---|
| committer | Your Name <you@example.com> | 2026-04-26 21:02:47 +0800 |
| commit | d3e770254de0bb301815ca87257c8b1a357d06c4 (patch) | |
| tree | 358c814be2a06b9e2009905f14938243286b8d82 /charts/llm-app/templates/_helpers.tpl | |
Diffstat (limited to 'charts/llm-app/templates/_helpers.tpl')
| -rw-r--r-- | charts/llm-app/templates/_helpers.tpl | 8 |
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" -}} | ||
| 6 | app.kubernetes.io/name: {{ .Chart.Name }} | ||
| 7 | app.kubernetes.io/instance: {{ .Release.Name }} | ||
| 8 | {{- end -}} | ||
