mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
[stable/prometheus-consul-exporter] 14589: Bugfix to support boolean flags in prometheus-consul-exporter (#14694)
* bumped version number Signed-off-by: Jan Fiedler <fiedler.jan@gmail.com>
This commit is contained in:
committed by
Kubernetes Prow Robot
parent
3b3069f175
commit
bba76bc354
@@ -2,7 +2,7 @@ apiVersion: v1
|
||||
appVersion: "0.4.0"
|
||||
description: A Helm chart for the Prometheus Consul Exporter
|
||||
name: prometheus-consul-exporter
|
||||
version: 0.1.3
|
||||
version: 0.1.4
|
||||
keywords:
|
||||
- metrics
|
||||
- consul
|
||||
|
||||
@@ -27,10 +27,8 @@ spec:
|
||||
command: ["consul_exporter"]
|
||||
args: [
|
||||
"--consul.server={{ .Values.consulServer }}",
|
||||
{{- range $option := .Values.options }}
|
||||
{{- range $k, $v := . }}
|
||||
"--{{ $k }}={{ $v }}",
|
||||
{{- end }}
|
||||
{{- range $key, $value := .Values.options }}
|
||||
"--{{ $key }}{{ if $value }}={{ $value }}{{ end }}",
|
||||
{{- end }}
|
||||
]
|
||||
ports:
|
||||
|
||||
@@ -29,6 +29,8 @@ consulServer: host:port
|
||||
|
||||
# Flags - for a list visit https://github.com/prometheus/consul_exporter#flags
|
||||
options: {}
|
||||
# no-consul.health-summary:
|
||||
# kv.filter=foobar
|
||||
|
||||
service:
|
||||
type: ClusterIP
|
||||
|
||||
Reference in New Issue
Block a user