[prometheus-node-exporter] Add the ability to define a proxyUrl via values (#1091)

* Add the ability to define a proxyUrl via values

Signed-off-by: Boris Petersen <boris.petersen@idealo.de>

* Add descriptive comment

Signed-off-by: Boris Petersen <boris.petersen@idealo.de>
This commit is contained in:
Boris Petersen
2021-06-19 10:17:28 -04:00
committed by GitHub
parent 364eaf9846
commit 91d97e243a
3 changed files with 8 additions and 1 deletions
+1 -1
View File
@@ -2,7 +2,7 @@ apiVersion: v1
appVersion: 1.1.2
description: A Helm chart for prometheus node-exporter
name: prometheus-node-exporter
version: 1.18.1
version: 1.18.2
home: https://github.com/prometheus/node_exporter/
sources:
- https://github.com/prometheus/node_exporter/
@@ -22,6 +22,9 @@ spec:
{{- if $.Values.prometheus.monitor.tlsConfig }}
tlsConfig: {{ toYaml $.Values.prometheus.monitor.tlsConfig | nindent 8 }}
{{- end }}
{{- if .Values.prometheus.monitor.proxyUrl }}
proxyUrl: {{ .Values.prometheus.monitor.proxyUrl}}
{{- end }}
{{- if .Values.prometheus.monitor.scrapeTimeout }}
scrapeTimeout: {{ .Values.prometheus.monitor.scrapeTimeout }}
{{- end }}
@@ -24,6 +24,10 @@ prometheus:
bearerTokenFile:
tlsConfig: {}
## proxyUrl: URL of a proxy that should be used for scraping.
##
proxyUrl: ""
relabelings: []
scrapeTimeout: 10s