Bump haproxy_exporter version from v0.7.1 to v0.8.0

Prometheus release v0.8.0 version haproxy_exporter 3 months ago.
All the parameters prefix change from "-" to "--", it's good to
align with it.

Closes-Bug: #1736322

Change-Id: I9cc80769443317cb37911d1c4835e1a99a259c7e
Signed-off-by: Kevin Zhao <kevin.zhao@arm.com>
This commit is contained in:
Kevin Zhao 2017-12-05 14:25:10 +08:00
parent bb82438387
commit 4d55b368c1
2 changed files with 2 additions and 2 deletions

View File

@ -50,7 +50,7 @@ pod-http-termination:
all:
haproxy_python_termination: true
haproxy_image_tag: 3.0.2
haproxy_prometheus_image_full: "prom/haproxy-exporter:v0.7.1"
haproxy_prometheus_image_full: "prom/haproxy-exporter:v0.8.0"
grace_period_seconds: 172800
stateful-service:

View File

@ -133,7 +133,7 @@ spec:
- name: exporter
image: {{ include "haproxy_prometheus_image_full" . | quote }}
imagePullPolicy: {{ $imagePullPolicy | quote }}
command: [haproxy_exporter, "-haproxy.scrape-uri=unix:/haproxy/haproxy.sock", "-web.listen-address=:{{ $localVals.prometheusPort}}"]
command: [haproxy_exporter, "--haproxy.scrape-uri=unix:/haproxy/haproxy.sock", "--web.listen-address=:{{ $localVals.prometheusPort}}"]
volumeMounts:
- mountPath: /haproxy
name: socket