Skip to content

Commit

Permalink
Add commonLabels values to blackbox-exporter (#3359)
Browse files Browse the repository at this point in the history
* add commonLabels values

Signed-off-by: JULIEN EL MOKRI <[email protected]>

* add commonLabels values

Signed-off-by: JULIEN EL MOKRI <[email protected]>

* bump version

Signed-off-by: JULIEN EL MOKRI <[email protected]>

* Update charts/prometheus-blackbox-exporter/Chart.yaml

Signed-off-by: André Bauer <[email protected]>

* Update _helpers.tpl

Signed-off-by: jelmokri <[email protected]>

---------

Signed-off-by: JULIEN EL MOKRI <[email protected]>
Signed-off-by: André Bauer <[email protected]>
Signed-off-by: jelmokri <[email protected]>
Co-authored-by: André Bauer <[email protected]>
  • Loading branch information
jelmokri and monotek authored May 12, 2023
1 parent 6d3dba4 commit c8a3f7a
Show file tree
Hide file tree
Showing 3 changed files with 7 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: 7.7.0
version: 7.8.0
appVersion: 0.23.0
home: https://github.com/prometheus/blackbox_exporter
sources:
Expand Down
3 changes: 3 additions & 0 deletions charts/prometheus-blackbox-exporter/templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,9 @@ app.kubernetes.io/managed-by: {{ .Release.Service }}
{{- if .Values.releaseLabel }}
release: {{ .Release.Name }}
{{- end }}
{{- if .Values.commonLabels }}
{{ toYaml .Values.commonLabels }}
{{- end }}
{{- end }}

{{/*
Expand Down
3 changes: 3 additions & 0 deletions charts/prometheus-blackbox-exporter/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -293,3 +293,6 @@ extraManifests: []
# name: prometheus-extra
# data:
# extra-data: "value"

# global common labels, applied to all ressources
commonLabels: {}

0 comments on commit c8a3f7a

Please sign in to comment.