From 0506302c03874798fc5fe5e9c8c128e59d099bd6 Mon Sep 17 00:00:00 2001 From: Matt Morrison Date: Wed, 27 Nov 2024 15:19:25 +1300 Subject: [PATCH] fix: add annotation to metrics configmap --- charts/kafka/Chart.yaml | 2 +- charts/kafka/templates/metrics.configmap.yaml | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/charts/kafka/Chart.yaml b/charts/kafka/Chart.yaml index edc599f..03e6093 100644 --- a/charts/kafka/Chart.yaml +++ b/charts/kafka/Chart.yaml @@ -1,7 +1,7 @@ apiVersion: v2 description: Setup a Kafka cluster using Strimzi operator name: kafka -version: 0.3.2 +version: 0.3.3 type: application dependencies: [] keywords: diff --git a/charts/kafka/templates/metrics.configmap.yaml b/charts/kafka/templates/metrics.configmap.yaml index d6896bf..b0a5ef2 100644 --- a/charts/kafka/templates/metrics.configmap.yaml +++ b/charts/kafka/templates/metrics.configmap.yaml @@ -4,6 +4,10 @@ apiVersion: v1 metadata: name: {{ include "kafka.fullname" . }}-metrics namespace: {{ .Release.Namespace }} +{{- if .Values.additionalAnnotations }} + annotations: + {{ toYaml .Values.additionalAnnotations | nindent 4 }} +{{- end }} labels: {{ include "kafka.labels" . | nindent 6}} data: kafka-metrics-config.yml: |