Skip to content

Commit

Permalink
Merge pull request #107 from shouichi/dashboard-md5
Browse files Browse the repository at this point in the history
Add dashboard definitions md5 to deployment annotations
  • Loading branch information
brancz authored Dec 2, 2020
2 parents 3dd98c4 + 7f00fa1 commit 7176a6d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions grafana/grafana.libsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -317,6 +317,7 @@
annotations: {
[if std.length($._config.grafana.config) > 0 then 'checksum/grafana-config']: std.md5(std.toString($.grafana.config)),
'checksum/grafana-datasources': std.md5(std.toString($.grafana.dashboardDatasources)),
'checksum/grafana-dashboards': std.md5(std.toString($.grafana.dashboardDefinitions)),
},
},
spec: {
Expand Down

0 comments on commit 7176a6d

Please sign in to comment.