Skip to content
This repository has been archived by the owner on Feb 22, 2022. It is now read-only.

Commit

Permalink
[stable/prometheus-consul-exporter] 14589: Bugfix to support boolean …
Browse files Browse the repository at this point in the history
…flags in prometheus-consul-exporter

* bumped version number

Signed-off-by: Jan Fiedler <[email protected]>
  • Loading branch information
jfiedler committed Jun 11, 2019
1 parent 5ccaad3 commit fb4ae07
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion stable/prometheus-consul-exporter/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 2 additions & 4 deletions stable/prometheus-consul-exporter/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
4 changes: 3 additions & 1 deletion stable/prometheus-consul-exporter/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -64,4 +66,4 @@ nodeSelector: {}

tolerations: []

affinity: {}
affinity: {}

0 comments on commit fb4ae07

Please sign in to comment.