Skip to content

Commit 9420c44

Browse files
authored
fix(_labels): fix labels missmatch (#84)
1 parent 28e1e0f commit 9420c44

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

charts/base/templates/_labels.tpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Kubernetes standard labels
44
*/}}
55
{{- define "base.labels.standard" -}}
66
{{- if and (hasKey . "customLabels") (hasKey . "context") -}}
7-
{{- $default := dict "app.kubernetes.io/name" (include "base.names.name" .context) "helm.sh/chart" (include "base.names.chart" .context) "app.kubernetes.io/instance" .context.Release.Name "app.kubernetes.io/managed-by" .context.Release.Service -}}
7+
{{- $default := dict "app.kubernetes.io/name" (include "base.names.fullname" .context) "helm.sh/chart" (include "base.names.chart" .context) "app.kubernetes.io/instance" .context.Release.Name "app.kubernetes.io/managed-by" .context.Release.Service -}}
88
{{- with .context.Chart.AppVersion -}}
99
{{- $_ := set $default "app.kubernetes.io/version" . -}}
1010
{{- end -}}

0 commit comments

Comments
 (0)