Skip to content

Commit 0e05ef5

Browse files
authored
Merge pull request #294 from Luzilla/RedSunEmpire/main
fix: read proper serviceMonitor settings from values.yaml
2 parents c3ffece + b59dfe5 commit 0e05ef5

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

chart/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ apiVersion: v2
22
name: dnsbl-exporter
33
description: A Helm chart to run dnsbl-exporter on Kubernetes
44
type: application
5-
version: 0.2.3
5+
version: 0.2.4
66
appVersion: "v0.9.0"
77
home: https://github.com/Luzilla/dnsbl_exporter
88
sources:

chart/templates/servicemonitor.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ spec:
1515
- port: svc-9211
1616
scheme: "http"
1717
path: "/metrics"
18-
interval: {{ .interval }}
19-
scrapeTimeout: {{ .scrapeTimeout }}
18+
interval: {{ .Values.serviceMonitor.interval }}
19+
scrapeTimeout: {{ .Values.serviceMonitor.scrapeTimeout }}
2020
jobLabel: "{{ template "dnsbl-exporter.fullname" $ }}"
2121
selector:
2222
matchLabels:

0 commit comments

Comments
 (0)