diff --git a/charts/prometheus-consul-exporter/Chart.yaml b/charts/prometheus-consul-exporter/Chart.yaml index d43319e8284d..36d757214023 100644 --- a/charts/prometheus-consul-exporter/Chart.yaml +++ b/charts/prometheus-consul-exporter/Chart.yaml @@ -1,8 +1,8 @@ apiVersion: v2 -appVersion: "0.4.0" +appVersion: "v0.13.0" description: A Helm chart for the Prometheus Consul Exporter name: prometheus-consul-exporter -version: 1.0.0 +version: 1.1.0 keywords: - metrics - consul diff --git a/charts/prometheus-consul-exporter/templates/deployment.yaml b/charts/prometheus-consul-exporter/templates/deployment.yaml index b7973c62fb01..334f69e5bb35 100644 --- a/charts/prometheus-consul-exporter/templates/deployment.yaml +++ b/charts/prometheus-consul-exporter/templates/deployment.yaml @@ -29,7 +29,7 @@ spec: {{- end }} containers: - name: {{ .Chart.Name }} - image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}" + image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}" imagePullPolicy: {{ .Values.image.pullPolicy }} command: ["consul_exporter"] args: diff --git a/charts/prometheus-consul-exporter/values.yaml b/charts/prometheus-consul-exporter/values.yaml index d4ad38aebd5c..21bbac8de01b 100644 --- a/charts/prometheus-consul-exporter/values.yaml +++ b/charts/prometheus-consul-exporter/values.yaml @@ -18,14 +18,15 @@ serviceAccount: image: repository: prom/consul-exporter - tag: v0.4.0 + # if not set appVersion field from Chart.yaml is used + tag: "" pullPolicy: IfNotPresent nameOverride: "" fullnameOverride: "" # Add your consul server details here -consulServer: host:port +consulServer: localhost:8500 # Flags - for a list visit https://github.com/prometheus/consul_exporter#flags options: {}