Skip to content

Commit

Permalink
[prometheus-blackbox-exporter] add commonLabels to pod (#4855)
Browse files Browse the repository at this point in the history
* add commonLabels to pod

Signed-off-by: Grzegorz Eliszewski <[email protected]>

* Bump chart version

Signed-off-by: Grzegorz Eliszewski <[email protected]>

---------

Signed-off-by: Grzegorz Eliszewski <[email protected]>
  • Loading branch information
es1o authored Nov 6, 2024
1 parent 7284be3 commit 12e6a9f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/prometheus-blackbox-exporter/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: v2
description: Prometheus Blackbox Exporter
name: prometheus-blackbox-exporter
version: 9.0.1
version: 9.0.3
appVersion: v0.25.0
kubeVersion: ">=1.21.0-0"
home: https://github.com/prometheus/blackbox_exporter
Expand Down
3 changes: 3 additions & 0 deletions charts/prometheus-blackbox-exporter/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down

0 comments on commit 12e6a9f

Please sign in to comment.