diff --git a/charts/temporal/templates/_helpers.tpl b/charts/temporal/templates/_helpers.tpl index 609ca6b0..ab9f2009 100644 --- a/charts/temporal/templates/_helpers.tpl +++ b/charts/temporal/templates/_helpers.tpl @@ -89,7 +89,7 @@ app.kubernetes.io/managed-by: {{ index $global "Release" "Service" }} app.kubernetes.io/instance: {{ index $global "Release" "Name" }} app.kubernetes.io/version: {{ include "temporal.appVersion" $global }} app.kubernetes.io/part-of: {{ $global.Chart.Name }} -{{- with $resourceType -}} +{{ with $resourceType -}} {{- $resourceTypeKey := printf "%sLabels" . -}} {{- $resourceLabels := dict -}} {{- if or (eq $scope "") (ne $component "server") -}}