From fbdd98600445ef032f259e20e54b070fa6fd4946 Mon Sep 17 00:00:00 2001 From: drfaust92 Date: Sun, 15 Oct 2023 13:33:39 +0300 Subject: [PATCH] bump prometheus-to-sd exporter to 0.9.2 Signed-off-by: drfaust92 --- charts/prometheus-to-sd/Chart.yaml | 12 ++++++------ charts/prometheus-to-sd/templates/deployment.yaml | 2 +- charts/prometheus-to-sd/values.yaml | 3 ++- 3 files changed, 9 insertions(+), 8 deletions(-) diff --git a/charts/prometheus-to-sd/Chart.yaml b/charts/prometheus-to-sd/Chart.yaml index 26816c75bf06..e3435bb186e7 100644 --- a/charts/prometheus-to-sd/Chart.yaml +++ b/charts/prometheus-to-sd/Chart.yaml @@ -1,12 +1,12 @@ apiVersion: v1 -appVersion: 0.5.2 +appVersion: "v0.9.2" description: Scrape metrics stored in prometheus format and push them to the Stackdriver home: https://github.com/GoogleCloudPlatform/k8s-stackdriver/tree/master/prometheus-to-sd keywords: -- prometheus -- stackdriver + - prometheus + - stackdriver maintainers: -- name: acondrat - email: arcadie.condrat@gmail.com + - name: acondrat + email: arcadie.condrat@gmail.com name: prometheus-to-sd -version: 0.4.2 +version: 0.5.0 diff --git a/charts/prometheus-to-sd/templates/deployment.yaml b/charts/prometheus-to-sd/templates/deployment.yaml index ef5896035b64..8d5793ee3815 100644 --- a/charts/prometheus-to-sd/templates/deployment.yaml +++ b/charts/prometheus-to-sd/templates/deployment.yaml @@ -21,7 +21,7 @@ spec: spec: 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 }} ports: - name: profiler diff --git a/charts/prometheus-to-sd/values.yaml b/charts/prometheus-to-sd/values.yaml index c90b44d470d8..e1a9da6cb272 100644 --- a/charts/prometheus-to-sd/values.yaml +++ b/charts/prometheus-to-sd/values.yaml @@ -1,7 +1,8 @@ replicaCount: 1 image: repository: gcr.io/google-containers/prometheus-to-sd - tag: v0.5.2 + # if not set appVersion field from Chart.yaml is used + tag: "" pullPolicy: IfNotPresent resources: {} port: 6060