[bitnami/metallb] fix: use podLabels values (#9310)

Individual podLabels values for controller deployment and speaker
daemonset would be ignored due to the respective templates checking the
wrong podLabels key. This commit changes the inclusion condition to the
correct one.

Signed-off-by: Gusts Jonasts <101050452+0x0013@users.noreply.github.com>
This commit is contained in:
Gusts Jonasts
2022-03-07 18:16:59 +02:00
committed by GitHub
parent a03a312bab
commit e8ae276887
3 changed files with 3 additions and 3 deletions

View File

@@ -19,7 +19,7 @@ spec:
metadata:
labels: {{- include "common.labels.standard" . | nindent 8 }}
app.kubernetes.io/component: controller
{{- if .Values.podLabels }}
{{- if .Values.controller.podLabels }}
{{- include "common.tplvalues.render" (dict "value" .Values.controller.podLabels "context" $) | nindent 8 }}
{{- end }}
{{- if .Values.controller.podAnnotations }}