Skip to content

Commit

Permalink
Use labels instead of selectorLabels for pod labels
Browse files Browse the repository at this point in the history
Signed-off-by: Tim Chaplin <tim.chaplin@datadoghq.com>
  • Loading branch information
tim-chaplin-dd committed Aug 24, 2023
1 parent 1db97a5 commit 479be0c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/chartutil/create.go
Expand Up @@ -310,7 +310,7 @@ spec:
{{- toYaml . | nindent 8 }}
{{- end }}
labels:
{{- include "<CHARTNAME>.selectorLabels" . | nindent 8 }}
{{- include "<CHARTNAME>.labels" . | nindent 8 }}
{{- with .Values.podLabels }}
{{- toYaml . | nindent 8 }}
{{- end }}
Expand Down

0 comments on commit 479be0c

Please sign in to comment.