From 6f3e02e6ca29bd16e90eb25cf178239ca68dbea6 Mon Sep 17 00:00:00 2001 From: Aiman-D Date: Sat, 27 Jun 2026 12:56:14 +0530 Subject: [PATCH] feat(helm): add extraLabels to commonLabels --- helm/litellm/templates/_helpers.tpl | 3 +++ helm/litellm/values.yaml | 3 +++ 2 files changed, 6 insertions(+) diff --git a/helm/litellm/templates/_helpers.tpl b/helm/litellm/templates/_helpers.tpl index 4319907883e..184cab61728 100644 --- a/helm/litellm/templates/_helpers.tpl +++ b/helm/litellm/templates/_helpers.tpl @@ -32,6 +32,9 @@ app.kubernetes.io/name: {{ include "litellm.name" . }} app.kubernetes.io/instance: {{ .Release.Name }} app.kubernetes.io/managed-by: {{ .Release.Service }} helm.sh/chart: {{ printf "%s-%s" .Chart.Name .Chart.Version | replace "+" "_" }} +{{- if .Values.extraLabels }} +{{ toYaml .Values.extraLabels }} +{{- end }} {{- end -}} {{/* diff --git a/helm/litellm/values.yaml b/helm/litellm/values.yaml index 934661643bd..bd93a88d378 100644 --- a/helm/litellm/values.yaml +++ b/helm/litellm/values.yaml @@ -3,6 +3,9 @@ nameOverride: "" fullnameOverride: "" +# Additional labels to apply to all resources +extraLabels: {} + imagePullSecrets: [] # Optional Ingress wiring the three component Services behind a single L7