From 479be0c36bfcd96ff49c82b851cec40d21650a36 Mon Sep 17 00:00:00 2001 From: Tim Chaplin Date: Fri, 16 Dec 2022 13:20:48 -0500 Subject: [PATCH] Use labels instead of selectorLabels for pod labels Signed-off-by: Tim Chaplin --- pkg/chartutil/create.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/chartutil/create.go b/pkg/chartutil/create.go index b073e1893..e43aaf479 100644 --- a/pkg/chartutil/create.go +++ b/pkg/chartutil/create.go @@ -310,7 +310,7 @@ spec: {{- toYaml . | nindent 8 }} {{- end }} labels: - {{- include ".selectorLabels" . | nindent 8 }} + {{- include ".labels" . | nindent 8 }} {{- with .Values.podLabels }} {{- toYaml . | nindent 8 }} {{- end }}