From f50aeef909c3a522d8daa541d06b2a12ba04d665 Mon Sep 17 00:00:00 2001 From: Nick Kampe Date: Sat, 22 Jun 2024 12:30:33 -0500 Subject: [PATCH] feat(TeslaMate): adding grafana annotation for adding a directory to TeslaMate dashboard (#23674) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Adds annotation for grafana folder **โš™๏ธ Type of change** - [x] โš™๏ธ Feature/App addition - [x] ๐Ÿช› Bugfix - [ ] โš ๏ธ Breaking change (fix or feature that would cause existing functionality to not work as expected) - [ ] ๐Ÿ”ƒ Refactor of current code **๐Ÿงช How Has This Been Tested?** This is the annotation to create a directory for grafana. Since we can't use templates for dashboards we may as well add another hard coded value here. Using helm template and installing the chart manually. **โœ”๏ธ Checklist:** - [x] โš–๏ธ My code follows the style guidelines of this project - [x] ๐Ÿ‘€ I have performed a self-review of my own code - [x] #๏ธโƒฃ I have commented my code, particularly in hard-to-understand areas - [ ] ๐Ÿ“„ I have made corresponding changes to the documentation - [x] โš ๏ธ My changes generate no new warnings - [x] ๐Ÿงช I have added tests to this description that prove my fix is effective or that my feature works - [x] โฌ†๏ธ I increased versions for any altered app according to semantic versioning - [x] I made sure the title starts with `feat(chart-name):`, `fix(chart-name):` or `chore(chart-name):` --- charts/incubator/teslamate/Chart.yaml | 2 +- charts/incubator/teslamate/templates/_configmap.tpl | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/charts/incubator/teslamate/Chart.yaml b/charts/incubator/teslamate/Chart.yaml index 9d5c6df0703..4b7997f8d0f 100644 --- a/charts/incubator/teslamate/Chart.yaml +++ b/charts/incubator/teslamate/Chart.yaml @@ -36,4 +36,4 @@ sources: - https://github.com/truecharts/charts/tree/master/charts/incubator/teslamate - https://hub.docker.com/r/teslamate/teslamate type: application -version: 2.1.2 +version: 2.1.3 diff --git a/charts/incubator/teslamate/templates/_configmap.tpl b/charts/incubator/teslamate/templates/_configmap.tpl index 70d78d4d3fb..a3ec2359a5e 100644 --- a/charts/incubator/teslamate/templates/_configmap.tpl +++ b/charts/incubator/teslamate/templates/_configmap.tpl @@ -19,6 +19,7 @@ enabled: true annotations: k8s-sidecar-target-directory: "TeslaMate" + grafana_folder: "TeslaMate" labels: grafana_dashboard: "1" data: