From 153667908df86072d88b1396dc9e9d78c07922ac Mon Sep 17 00:00:00 2001 From: DrPsychick Date: Mon, 23 Dec 2024 00:55:42 +0100 Subject: [PATCH] :bug: fix dashboard labels and name --- sickhub/mtr-exporter/Chart.yaml | 2 +- sickhub/mtr-exporter/templates/dashboard.yaml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/sickhub/mtr-exporter/Chart.yaml b/sickhub/mtr-exporter/Chart.yaml index 2e856de..65ad2ca 100644 --- a/sickhub/mtr-exporter/Chart.yaml +++ b/sickhub/mtr-exporter/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v2 name: mtr-exporter description: A Helm chart for an mtr-exporter pod providing metrics. type: application -version: 0.0.3 +version: 0.0.4 # https://github.com/mgumz/mtr-exporter # https://github.com/mgumz/mtr-exporter/pkgs/container/mtr-exporter appVersion: "0.4.0" diff --git a/sickhub/mtr-exporter/templates/dashboard.yaml b/sickhub/mtr-exporter/templates/dashboard.yaml index 5bd25b3..e878e7a 100644 --- a/sickhub/mtr-exporter/templates/dashboard.yaml +++ b/sickhub/mtr-exporter/templates/dashboard.yaml @@ -4,11 +4,11 @@ apiVersion: v1 kind: ConfigMap metadata: labels: - app: mtr-exporter grafana_dashboard: "1" + {{- include "mtr-exporter.labels" . | nindent 4 }} annotations: grafana_folder: "{{ .Values.grafanaDashboards.folder }}" - name: mtr-exporter-dashboard + name: {{ include "mtr-exporter.fullname" . }}-dashboard data: mtr-exporter-dashboard.json: |- {{- .Files.Get "files/mtr-exporter.json" | nindent 4 }}