| Currently there is an issue where changing the configmap doesn't cause the dashboard or datasources to update in grafana. This is due to the fact that the file_reader in grafana has a number of checks to determine whether or not to update the dashboard, one of which is
cachedDashboard, exist := fr.cache.getCache(path) |
if exist && cachedDashboard.UpdatedAt == fileInfo.ModTime() { |
return nil |
}
|
Modifying data in a configmap does not change the modified date of the file on disk so this check is always returning nil so the dashboard is never updated. |