From 45b7d7d96b09e614eb0c3a9f92a14c5150317ae6 Mon Sep 17 00:00:00 2001 From: drfaust92 Date: Sat, 30 Sep 2023 18:39:29 +0300 Subject: [PATCH] bump consul exporter to 0.9.0 Signed-off-by: drfaust92 --- charts/prometheus-consul-exporter/Chart.yaml | 2 +- charts/prometheus-consul-exporter/templates/deployment.yaml | 2 +- charts/prometheus-consul-exporter/values.yaml | 3 ++- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/charts/prometheus-consul-exporter/Chart.yaml b/charts/prometheus-consul-exporter/Chart.yaml index d43319e8284d..b6a8d8627246 100644 --- a/charts/prometheus-consul-exporter/Chart.yaml +++ b/charts/prometheus-consul-exporter/Chart.yaml @@ -1,5 +1,5 @@ apiVersion: v2 -appVersion: "0.4.0" +appVersion: "0.9.0" description: A Helm chart for the Prometheus Consul Exporter name: prometheus-consul-exporter version: 1.0.0 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..adb716368942 100644 --- a/charts/prometheus-consul-exporter/values.yaml +++ b/charts/prometheus-consul-exporter/values.yaml @@ -18,7 +18,8 @@ serviceAccount: image: repository: prom/consul-exporter - tag: v0.4.0 + # if not set appVersion field from Chart.yaml is used + tag: "" pullPolicy: IfNotPresent nameOverride: ""