Skip to content

Find duplicate grafana dashboards provisioned via ConfigMaps

License

Notifications You must be signed in to change notification settings

DoodleScheduling/grafana-dups

Unpack manifests from crossplane resources

release Go Report Card OpenSSF Scorecard Coverage Status

This small utility which looks for duplicate grafana dashboards provisioned via kubernetes ConfigMaps. Its checks for:

  • Any duplicate dashboard uid's
  • Any duplicate dashboard titles
  • Any duplicate title/folder combination if --folder-annotation is set

Installation

Brew

brew tap doodlescheduling/grafana-dups
brew install grafana-dups

Docker

docker pull ghcr.io/doodlescheduling/grafana-dups:v0

Arguments

Flag Short Env Default Description
--file -f FILE /dev/stdin Path to input
--allow-failure `` ALLOW_FAILURE false Do not exit > 0 if an error occurred
--folder-annotation -a FOLDER_ANNOTATION `` Name of the folder annotation key
--label-selector -l LABEL_SELECTOR `` Filter resources by labels