From bb79091816792d1bb949c42fff19c37545bfd95f Mon Sep 17 00:00:00 2001 From: Lachlan Cooper Date: Thu, 13 Dec 2018 03:38:28 +1100 Subject: [PATCH] Add service annotations for prometheus-consul-exporter (#9882) These were defined in values overrides but not applied to the service. Signed-off-by: Lachlan Cooper --- stable/prometheus-consul-exporter/Chart.yaml | 2 +- stable/prometheus-consul-exporter/templates/service.yaml | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/stable/prometheus-consul-exporter/Chart.yaml b/stable/prometheus-consul-exporter/Chart.yaml index 207627e6a4..27ccd8e168 100644 --- a/stable/prometheus-consul-exporter/Chart.yaml +++ b/stable/prometheus-consul-exporter/Chart.yaml @@ -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.0 +version: 0.1.1 keywords: - metrics - consul diff --git a/stable/prometheus-consul-exporter/templates/service.yaml b/stable/prometheus-consul-exporter/templates/service.yaml index 29a21300ec..56a1abfe63 100644 --- a/stable/prometheus-consul-exporter/templates/service.yaml +++ b/stable/prometheus-consul-exporter/templates/service.yaml @@ -7,6 +7,8 @@ metadata: chart: {{ template "prometheus-consul-exporter.chart" . }} release: {{ .Release.Name }} heritage: {{ .Release.Service }} + annotations: +{{ toYaml .Values.service.annotations | indent 4 }} spec: type: {{ .Values.service.type }} ports: