diff --git a/charts/templates/_helpers.tpl b/charts/templates/_helpers.tpl index 6ebf527..4bda36d 100644 --- a/charts/templates/_helpers.tpl +++ b/charts/templates/_helpers.tpl @@ -38,6 +38,9 @@ helm.sh/chart: {{ include "hyperfleet-adapter.chart" . }} {{ include "hyperfleet-adapter.selectorLabels" . }} app.kubernetes.io/version: {{ .Values.image.tag | default .Chart.AppVersion | quote }} app.kubernetes.io/managed-by: {{ .Release.Service }} +{{- with .Values.labels }} +{{ toYaml . }} +{{- end }} {{- end }} {{/* diff --git a/charts/values.yaml b/charts/values.yaml index e2cbaff..9e67897 100644 --- a/charts/values.yaml +++ b/charts/values.yaml @@ -226,6 +226,16 @@ podDisruptionBudget: # -- Additional labels applied to all pods podLabels: {} +# -- Custom labels applied to all resources managed by this Helm chart +# (Deployment, Service, ServiceAccount, ClusterRole, ClusterRoleBinding, ConfigMaps, etc.) +# Useful for labeling resources for cleanup, tracking, or organization. +# Example: +# labels: +# environment: production +# team: platform +# hyperfleet-e2e-run: e2e-20260615-102422-bb5nfo2d +# labels: {} + # -- Pod-level security context podSecurityContext: # -- Filesystem group for volume mounts