From 1e6b5cb46666403770a9e4e97b17a90eb9e18784 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Wojciech=20Smo=C5=82kowski?= Date: Tue, 8 Oct 2024 08:34:47 +0200 Subject: [PATCH] [prometheus-stackdriver-exporter] fix deployment annotations (#4767) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * fix deployment annotations Signed-off-by: Wojciech Smołkowski * bump chart version Signed-off-by: Wojciech Smołkowski * Update charts/prometheus-stackdriver-exporter/templates/deployment.yaml Signed-off-by: MH Signed-off-by: MH --------- Signed-off-by: Wojciech Smołkowski Signed-off-by: MH Co-authored-by: Rico Pahlisch Co-authored-by: MH --- charts/prometheus-stackdriver-exporter/Chart.yaml | 2 +- .../prometheus-stackdriver-exporter/templates/deployment.yaml | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/charts/prometheus-stackdriver-exporter/Chart.yaml b/charts/prometheus-stackdriver-exporter/Chart.yaml index ae5bd0ae2025..9e7f34a9f48e 100644 --- a/charts/prometheus-stackdriver-exporter/Chart.yaml +++ b/charts/prometheus-stackdriver-exporter/Chart.yaml @@ -1,7 +1,7 @@ apiVersion: v1 description: Stackdriver exporter for Prometheus name: prometheus-stackdriver-exporter -version: 4.6.0 +version: 4.6.1 appVersion: v0.16.0 home: https://www.stackdriver.com/ sources: diff --git a/charts/prometheus-stackdriver-exporter/templates/deployment.yaml b/charts/prometheus-stackdriver-exporter/templates/deployment.yaml index 61cf8462df0a..41270afa3f8d 100644 --- a/charts/prometheus-stackdriver-exporter/templates/deployment.yaml +++ b/charts/prometheus-stackdriver-exporter/templates/deployment.yaml @@ -4,6 +4,10 @@ metadata: name: {{ template "stackdriver-exporter.fullname" . }} labels: {{- include "stackdriver-exporter.labels" . | indent 4 }} + {{- with .Values.annotations }} + annotations: + {{- toYaml .Values.annotations | indent 6 }} + {{- end }} spec: replicas: {{ .Values.replicaCount }} selector: