mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
[stable/prometheus] Fix node exporter args (#3585)
* Fix node_exporter args to access keys without values to support the new collector enabling logic * Update Chart.yaml
This commit is contained in:
committed by
k8s-ci-robot
parent
927eeccc32
commit
055a2de2c8
@@ -1,5 +1,5 @@
|
||||
name: prometheus
|
||||
version: 5.1.1
|
||||
version: 5.1.2
|
||||
description: Prometheus is a monitoring system and time series database.
|
||||
home: https://prometheus.io/
|
||||
icon: https://raw.githubusercontent.com/prometheus/prometheus.github.io/master/assets/prometheus_logo-cb55bb5c346.png
|
||||
|
||||
@@ -34,7 +34,11 @@ spec:
|
||||
- --path.procfs=/host/proc
|
||||
- --path.sysfs=/host/sys
|
||||
{{- range $key, $value := .Values.nodeExporter.extraArgs }}
|
||||
{{- if $value }}
|
||||
- --{{ $key }}={{ $value }}
|
||||
{{- else }}
|
||||
- --{{ $key }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
ports:
|
||||
- name: metrics
|
||||
|
||||
Reference in New Issue
Block a user