canonical / grafana-k8s-operator

This charmed operator automates the operational procedures of running Grafana, an open-source visualization toolkit, on Kubernetes.
https://charmhub.io/grafana-k8s
Apache License 2.0
6 stars 23 forks source link

install-plugin action #311

Open PietroPasotti opened 4 months ago

PietroPasotti commented 4 months ago

adds a development action to download and install into grafana a plugin.

Usage: juju run grafana install-plugin some-plugin 1.0.0

The script will grab the plugin from grafana.com/api/plugins/some-plugin/versions/1.0.0/downloads, and unzip it into /var/lib/grafana/plugins, then restart grafana and the plugin should be there.

Can't test it at the moment because charmcraft pack is bork on main.