Skip to content

Commit d53ec4d

Browse files
aeberjkroepke
andauthored
[jiralert] Enable usage of serviceMonitor.additionalLabels (#5036)
* Enable usage of serviceMonitor.additionalLabels Up to now the field was present in the values.yaml but did not get used in the servicemonitor template. Signed-off-by: Anselm Eberhardt <[email protected]> * Update charts/jiralert/templates/servicemonitor.yaml Signed-off-by: Jan-Otto Kröpke <[email protected]> --------- Signed-off-by: Anselm Eberhardt <[email protected]> Signed-off-by: Jan-Otto Kröpke <[email protected]> Co-authored-by: Jan-Otto Kröpke <[email protected]>
1 parent de8665b commit d53ec4d

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

charts/jiralert/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ apiVersion: v2
22
name: jiralert
33
description: A Helm chart for Kubernetes to install jiralert
44
type: application
5-
version: 1.7.1
5+
version: 1.7.2
66
appVersion: "v1.3.0"
77
home: "https://github.com/prometheus-community/jiralert"
88
keywords:

charts/jiralert/templates/servicemonitor.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ metadata:
88
{{- end }}
99
labels:
1010
{{- include "jiralert.labels" . | nindent 4 }}
11+
{{- with .Values.serviceMonitor.additionalLabels }}
12+
{{- toYaml . | nindent 4 }}
13+
{{- end }}
1114
spec:
1215
endpoints:
1316
- port: http

0 commit comments

Comments
 (0)