[bitnami/common] render labels correctly when they contains templates (#19680)

Signed-off-by: Cyril Jouve <jv.cyril@gmail.com>
This commit is contained in:
Cyril Jouve
2023-10-04 11:21:40 +02:00
committed by GitHub
parent 387bdcec72
commit 3cb44e376a
2 changed files with 3 additions and 3 deletions

View File

@@ -15,7 +15,7 @@ Kubernetes standard labels
{{- with .context.Chart.AppVersion -}}
{{- $_ := set $default "app.kubernetes.io/version" . -}}
{{- end -}}
{{ template "common.tplvalues.merge" (dict "values" (list .customLabels $default) "context" .) }}
{{ template "common.tplvalues.merge" (dict "values" (list .customLabels $default) "context" .context) }}
{{- else -}}
app.kubernetes.io/name: {{ include "common.names.name" . }}
helm.sh/chart: {{ include "common.names.chart" . }}