From a8b9486cc8d0d7497c18afc1f38f376cb7e4c3a7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petar=20Ivankovi=C4=87=20Milo=C5=A1evi=C4=87?= Date: Mon, 8 Apr 2024 13:20:11 +0200 Subject: [PATCH] Apply suggestions from code review MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Keeping to better Helm style Co-authored-by: zeritti <47476160+zeritti@users.noreply.github.com> Signed-off-by: Petar Ivanković Milošević --- charts/prometheus/templates/cm.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/charts/prometheus/templates/cm.yaml b/charts/prometheus/templates/cm.yaml index 0063f21b79d0..8713bd1ea25f 100644 --- a/charts/prometheus/templates/cm.yaml +++ b/charts/prometheus/templates/cm.yaml @@ -2,9 +2,9 @@ apiVersion: v1 kind: ConfigMap metadata: -{{- with .Values.server }} +{{- with .Values.server.configMapAnnotations }} annotations: - {{- toYaml .configMapAnnotations | nindent 4 }} + {{- toYaml . | nindent 4 }} {{- end }} labels: {{- include "prometheus.server.labels" . | nindent 4 }}