| The master branch of Grafana can be configured to scan a directory for dashboard files. This is done with a provider. A provider is a configuration item (YAML) that tells Grafana what directories to search for dashboard files. These files will be loaded in and any updates will also be reflected. The steps are as follows:
- Update Grafana config.ini file to point to a 'providers directory'
- Use a new Config Map to place a provider.yml file in the providers directory. This file will tell grafana where to search for dashboards e.g. /etc/grafana-dashboards
- Mount the dashboards inside the directory configured by the provider
More info about how the providers work can be found on this PR: https://github.com/grafana/grafana/pull/10052 |