Skip to content

Commit

Permalink
Fix scrapeTimeout validation (#4916)
Browse files Browse the repository at this point in the history
On-behalf-of: @ZEISS <info.de@zeiss.com>

Signed-off-by: Christoph Hoth <christoph.hoth@zeiss.com>
Signed-off-by: MH <zanhsieh@gmail.com>
Co-authored-by: MH <zanhsieh@gmail.com>
  • Loading branch information
CoolDuke and zanhsieh authored Feb 2, 2025
1 parent 3eb061f commit c50b12e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 5 additions & 1 deletion charts/prometheus-json-exporter/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,11 @@ keywords:
- monitoring
- prometheus
type: application
version: 0.14.1
# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
# follow Semantic Versioning. They should reflect the version the application is using.
# It is recommended to use it with quotes.
version: 0.14.2
appVersion: "v0.6.0"
home: https://github.com/prometheus-community/json_exporter
maintainers:
Expand Down
2 changes: 0 additions & 2 deletions charts/prometheus-json-exporter/templates/servicemonitor.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,7 @@ spec:
scheme: {{ $.Values.serviceMonitor.scheme }}
path: "/probe"
interval: {{ .interval | default $.Values.serviceMonitor.defaults.interval }}
{{- if $.Values.serviceMonitor.scrapeTimeout }}
scrapeTimeout: {{ .scrapeTimeout | default $.Values.serviceMonitor.defaults.scrapeTimeout }}
{{- end }}
params:
target:
- {{ .url }}
Expand Down

0 comments on commit c50b12e

Please sign in to comment.