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 }}