From a1ab488cbf07c553e1291a16f7e935cb4180a086 Mon Sep 17 00:00:00 2001 From: zhenyus Date: Tue, 18 Mar 2025 00:25:04 +0800 Subject: [PATCH] fix: update dashboard file names to use dynamic values for consistency Signed-off-by: zhenyus --- .../authentication/templates/authentication/dashboard.yaml | 2 +- .../centralStorage/templates/central-storage/dashboard.yaml | 2 +- freeleaps/helm-pkg/content/templates/content/dashboard.yaml | 2 +- .../helm-pkg/notification/templates/notification/dashboard.yaml | 2 +- freeleaps/helm-pkg/payment/templates/payment/dashboard.yaml | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/freeleaps/helm-pkg/authentication/templates/authentication/dashboard.yaml b/freeleaps/helm-pkg/authentication/templates/authentication/dashboard.yaml index f75eabc3..098cf423 100644 --- a/freeleaps/helm-pkg/authentication/templates/authentication/dashboard.yaml +++ b/freeleaps/helm-pkg/authentication/templates/authentication/dashboard.yaml @@ -7,7 +7,7 @@ metadata: labels: grafana_dashboard: "1" data: - dashboard.json: | + {{ .Values.dashboard.name }}.json: | { "annotations": { "list": [ diff --git a/freeleaps/helm-pkg/centralStorage/templates/central-storage/dashboard.yaml b/freeleaps/helm-pkg/centralStorage/templates/central-storage/dashboard.yaml index f75eabc3..098cf423 100644 --- a/freeleaps/helm-pkg/centralStorage/templates/central-storage/dashboard.yaml +++ b/freeleaps/helm-pkg/centralStorage/templates/central-storage/dashboard.yaml @@ -7,7 +7,7 @@ metadata: labels: grafana_dashboard: "1" data: - dashboard.json: | + {{ .Values.dashboard.name }}.json: | { "annotations": { "list": [ diff --git a/freeleaps/helm-pkg/content/templates/content/dashboard.yaml b/freeleaps/helm-pkg/content/templates/content/dashboard.yaml index f75eabc3..098cf423 100644 --- a/freeleaps/helm-pkg/content/templates/content/dashboard.yaml +++ b/freeleaps/helm-pkg/content/templates/content/dashboard.yaml @@ -7,7 +7,7 @@ metadata: labels: grafana_dashboard: "1" data: - dashboard.json: | + {{ .Values.dashboard.name }}.json: | { "annotations": { "list": [ diff --git a/freeleaps/helm-pkg/notification/templates/notification/dashboard.yaml b/freeleaps/helm-pkg/notification/templates/notification/dashboard.yaml index f75eabc3..098cf423 100644 --- a/freeleaps/helm-pkg/notification/templates/notification/dashboard.yaml +++ b/freeleaps/helm-pkg/notification/templates/notification/dashboard.yaml @@ -7,7 +7,7 @@ metadata: labels: grafana_dashboard: "1" data: - dashboard.json: | + {{ .Values.dashboard.name }}.json: | { "annotations": { "list": [ diff --git a/freeleaps/helm-pkg/payment/templates/payment/dashboard.yaml b/freeleaps/helm-pkg/payment/templates/payment/dashboard.yaml index f75eabc3..098cf423 100644 --- a/freeleaps/helm-pkg/payment/templates/payment/dashboard.yaml +++ b/freeleaps/helm-pkg/payment/templates/payment/dashboard.yaml @@ -7,7 +7,7 @@ metadata: labels: grafana_dashboard: "1" data: - dashboard.json: | + {{ .Values.dashboard.name }}.json: | { "annotations": { "list": [