From 6f4b8f5ac5813a7727e331853f3eda6f5b2fa664 Mon Sep 17 00:00:00 2001 From: pari- Date: Mon, 13 Mar 2023 10:49:55 +0100 Subject: [PATCH] fix(keda): Allow for podLabels override in the webhooks deployment (#404) Signed-off-by: Patrick Ringl --- keda/templates/30-webhooks-deployment.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/keda/templates/30-webhooks-deployment.yaml b/keda/templates/30-webhooks-deployment.yaml index 66508803..8d512ba8 100644 --- a/keda/templates/30-webhooks-deployment.yaml +++ b/keda/templates/30-webhooks-deployment.yaml @@ -27,6 +27,9 @@ spec: name: {{ .Values.webhooks.name }} app.kubernetes.io/name: {{ .Values.webhooks.name }} {{- include "keda.labels" . | indent 8 }} + {{- if .Values.podLabels.webhooks }} + {{- toYaml .Values.podLabels.webhooks | nindent 8 }} + {{- end }} annotations: {{- if .Values.podAnnotations.webhooks }} {{- toYaml .Values.podAnnotations.webhooks | nindent 8 }}