From 75fde54355d5158da12722c05f7833a4e035ff61 Mon Sep 17 00:00:00 2001 From: Erich Blume Date: Sun, 22 Feb 2026 18:38:51 -0800 Subject: [PATCH] Fix Grafana TeslaMate dashboard folder provisioning (#253) ## Summary - `foldersFromFilesStructure` was `false` in Grafana's sidecar provider config, causing Grafana to ignore the subdirectory structure the sidecar creates from `grafana_folder` annotations - All 18 TeslaMate dashboards were appearing in the root "Dashboards" folder despite having `grafana_folder: "TeslaMate"` annotations on their ConfigMaps - Flipping to `true` makes Grafana replicate the sidecar's directory structure as UI folders ## Deployment and Testing - [ ] Sync `grafana` app: `argocd app sync grafana` - [ ] Verify TeslaMate dashboards appear under a "TeslaMate" folder in Grafana's dashboard list - [ ] Verify other dashboards remain in the root "Dashboards" folder Reviewed-on: https://forge.ops.eblu.me/eblume/blumeops/pulls/253 --- argocd/manifests/grafana/values.yaml | 2 +- docs/changelog.d/fix-grafana-teslamate-folder.bugfix.md | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 docs/changelog.d/fix-grafana-teslamate-folder.bugfix.md diff --git a/argocd/manifests/grafana/values.yaml b/argocd/manifests/grafana/values.yaml index b07c74e..e9e2207 100644 --- a/argocd/manifests/grafana/values.yaml +++ b/argocd/manifests/grafana/values.yaml @@ -91,7 +91,7 @@ sidecar: labelValue: "1" folderAnnotation: grafana_folder provider: - foldersFromFilesStructure: false + foldersFromFilesStructure: true # Service configuration (Ingress will handle external access) service: diff --git a/docs/changelog.d/fix-grafana-teslamate-folder.bugfix.md b/docs/changelog.d/fix-grafana-teslamate-folder.bugfix.md new file mode 100644 index 0000000..4abebb6 --- /dev/null +++ b/docs/changelog.d/fix-grafana-teslamate-folder.bugfix.md @@ -0,0 +1 @@ +Fix Grafana TeslaMate dashboards not appearing in a folder — enabled `foldersFromFilesStructure` so the sidecar's `grafana_folder` annotation is respected.