From 754e1e175655777ca46997b565d6f0521b65e1a2 Mon Sep 17 00:00:00 2001 From: Lenny Consuegra Date: Wed, 23 Oct 2024 11:25:41 +0200 Subject: [PATCH] fix(charts): add release in file name to avoid duplicates --- charts/cert-manager/templates/grafana-dashboard.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/charts/cert-manager/templates/grafana-dashboard.yaml b/charts/cert-manager/templates/grafana-dashboard.yaml index 0754a85..56d54b4 100644 --- a/charts/cert-manager/templates/grafana-dashboard.yaml +++ b/charts/cert-manager/templates/grafana-dashboard.yaml @@ -13,7 +13,7 @@ items: labels: grafana_dashboard: '1' data: - {{ $dashboardName }}.json: {{ $.Files.Get $path | toJson }} + {{ $.Release.Name }}-{{ $dashboardName }}.json: {{ $.Files.Get $path | toJson }} {{- end }} {{- end }} {{- end }}