Creating Multiple Grafana Dashboards Via Helm

Hi Team,

Is there a way to install multiple Grafana dashboards into the same folder via Helm?

This is what my dashboardProviders section looks like.

dashboardProviders:
 dashboardproviders.yaml:
   apiVersion: 1
   providers:
   - name: 'monitoring'
     orgId: 1
     folder: "monitoring"
     type: file
     disableDeletion: false
     editable: true
     options:
       path: /var/lib/grafana/dashboards/monitoring
   - name: 'pvc'
     orgId: 1
     folder: "monitoring"
     type: file
     disableDeletion: false
     editable: true
     options:
       path: /var/lib/grafana/dashboards/monitoring

And this is how my dashboardConfigMap is written.

dashboardsConfigMaps:
 monitoring: "grafana-dashboards"
 pvc: "persistent-volumes"

However, when I log into Grafana, I see a pvc folder but no dashboard in it.
The monitoring folder on the other hand, contains a dashboard.

My dashboards are being created as configMaps.
I’m using Grafana helm chart 8.0.5

What am I doing wrong please?

Hi!

I encountering the same problem using the prometheus-stack. Did you solve it?