From a533d725843a80775dc32de8dcf3825eb5e5ad5a Mon Sep 17 00:00:00 2001 From: Christoph Hoth Date: Wed, 16 Oct 2024 15:31:23 +0200 Subject: [PATCH] Fix scrapeTimeout validation Signed-off-by: Christoph Hoth On-behalf-of: @ZEISS --- charts/prometheus-json-exporter/Chart.yaml | 2 +- charts/prometheus-json-exporter/templates/servicemonitor.yaml | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/charts/prometheus-json-exporter/Chart.yaml b/charts/prometheus-json-exporter/Chart.yaml index 1f31e32cebe1..ce61a85f7d28 100644 --- a/charts/prometheus-json-exporter/Chart.yaml +++ b/charts/prometheus-json-exporter/Chart.yaml @@ -19,7 +19,7 @@ type: application # This is the chart version. This version number should be incremented each time you make changes # to the chart and its templates, including the app version. # Versions are expected to follow Semantic Versioning (https://semver.org/) -version: 0.14.0 +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 diff --git a/charts/prometheus-json-exporter/templates/servicemonitor.yaml b/charts/prometheus-json-exporter/templates/servicemonitor.yaml index c2ba166a6b03..787738ce795f 100644 --- a/charts/prometheus-json-exporter/templates/servicemonitor.yaml +++ b/charts/prometheus-json-exporter/templates/servicemonitor.yaml @@ -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 }}