cw-infra-apps/charts/backend/charts/big-chat-splitter-app-k8s/templates/_helpers.tpl
2025-07-18 11:38:43 +03:00

19 lines
676 B
Smarty
Executable File

{{/* Common Name Definitions */}}
{{- define "big-chat-splitter-app-k8s.fullname" -}}
{{- default .Chart.Name .Values.fullnameOverride | trunc 63 | trimSuffix "-" -}}
{{- end }}
{{/* Standard labels */}}
{{- define "big-chat-splitter-app-k8s.labels" -}}
helm.sh/chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}
app.kubernetes.io/name: {{ .Chart.Name }}
app.kubernetes.io/instance: {{ .Chart.Name }}
app.kubernetes.io/version: {{ .Chart.AppVersion | quote }}
app.kubernetes.io/managed-by: {{ .Release.Service }}
{{- end }}
{{/* Selector labels */}}
{{- define "big-chat-splitter-app-k8s.selectorLabels" -}}
io.kompose.service: big-chat-splitter-app
{{- end }}