helm-charts
helm-charts copied to clipboard
How use `grafana_dashboard_folder` for create sub folder?
I would like to take advantage of grafana 1.11's ability to create subdirectories, unfortunately now if I do grafana_dashboard_folder: Boundaries/Link Boundary - I get a Link Boundary folder
Is there any way to create sub-directories now?
@batazor In my case I'm using the dashboard sidecar and I suspect there is a limitation due to the k8s-sidecar itself so potentially not fixable via Helm chart update?
This is a docker container intended to run inside a kubernetes cluster to collect config maps with a specified label and store the included files in an local folder
I can be wrong but it does not seem to support "folder in folder"
I also noticed this note (recently added?) to Grafana provisioning doc
NOTE This feature doesn’t currently allow you to create nested folder structures, that is, where you have folders within folders.
I have the same problem.
apiVersion: v1
data:
dashboard.json: |-
kind: ConfigMap
metadata:
annotations:
grafana_folder: folder/sub-folder
creationTimestamp: '2025-02-27T12:21:23Z'
labels:
app.kubernetes.io/managed-by: Helm
grafana_dashboard: '1'
name: dashboard
And what im getting is sub-folder being created in the dashboards root folder and not under root/folder/
Any update on this?
https://github.com/grafana/grafana/issues/103950