From ade0cc4210aca20738c354ae27788134a7d2d9fa Mon Sep 17 00:00:00 2001 From: Grzegorz Eliszewski Date: Fri, 13 Sep 2024 13:25:29 +0200 Subject: [PATCH] add commonLabels to pod Signed-off-by: Grzegorz Eliszewski --- charts/prometheus-blackbox-exporter/templates/deployment.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/charts/prometheus-blackbox-exporter/templates/deployment.yaml b/charts/prometheus-blackbox-exporter/templates/deployment.yaml index 0d1f0b990271..beee01e6b6a3 100644 --- a/charts/prometheus-blackbox-exporter/templates/deployment.yaml +++ b/charts/prometheus-blackbox-exporter/templates/deployment.yaml @@ -21,6 +21,9 @@ spec: metadata: labels: {{- include "prometheus-blackbox-exporter.selectorLabels" . | nindent 8 }} + {{- if .Values.commonLabels }} +{{ toYaml .Values.commonLabels | indent 8 }} + {{- end }} {{- if .Values.pod.labels }} {{ toYaml .Values.pod.labels | indent 8 }} {{- end }}