From 0e6534649b7a2586d39c5e34da76760004c2897a Mon Sep 17 00:00:00 2001 From: "Community Hass.io Add-ons Bot" Date: Sat, 8 Jul 2023 11:40:39 +0000 Subject: [PATCH] :arrow_up: Updating add-on Grafana to 23af72d --- README.md | 6 +++--- grafana/CHANGELOG.md | 3 +++ grafana/DOCS.md | 15 +++++++++++++++ grafana/README.md | 4 ++-- grafana/config.yaml | 7 ++++++- 5 files changed, 29 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 60821c830..6cd823e8c 100644 --- a/README.md +++ b/README.md @@ -795,10 +795,10 @@ SOFTWARE. [glances-armhf-shield]: https://img.shields.io/badge/armhf-yes-green.svg [glances-armv7-shield]: https://img.shields.io/badge/armv7-yes-green.svg [glances-i386-shield]: https://img.shields.io/badge/i386-yes-green.svg -[addon-grafana]: https://github.com/hassio-addons/addon-grafana/tree/dca1b09 -[addon-doc-grafana]: https://github.com/hassio-addons/addon-grafana/blob/dca1b09/README.md +[addon-grafana]: https://github.com/hassio-addons/addon-grafana/tree/23af72d +[addon-doc-grafana]: https://github.com/hassio-addons/addon-grafana/blob/23af72d/README.md [grafana-issue]: https://github.com/hassio-addons/addon-grafana/issues -[grafana-version-shield]: https://img.shields.io/badge/version-dca1b09-blue.svg +[grafana-version-shield]: https://img.shields.io/badge/version-23af72d-blue.svg [grafana-aarch64-shield]: https://img.shields.io/badge/aarch64-yes-green.svg [grafana-amd64-shield]: https://img.shields.io/badge/amd64-yes-green.svg [grafana-armhf-shield]: https://img.shields.io/badge/armhf-no-red.svg diff --git a/grafana/CHANGELOG.md b/grafana/CHANGELOG.md index 5f83e2a96..1ea667c0b 100644 --- a/grafana/CHANGELOG.md +++ b/grafana/CHANGELOG.md @@ -1,4 +1,7 @@ # Changelog since v8.3.0 +- Allow installation of unsigned plugins using an URL (#331) + +Co-authored-by: Franck Nijhof - ⬆️ Update grafana/grafana to v10 (#335) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> diff --git a/grafana/DOCS.md b/grafana/DOCS.md index 9322bb3d5..8739111a7 100644 --- a/grafana/DOCS.md +++ b/grafana/DOCS.md @@ -81,6 +81,21 @@ Grafana setup. For a list of available plugins, see: **Note**: _Adding plugins will result in a longer start-up for the add-on._ +### Option: `custom_plugins` + +Allows you to specify additional Grafana custom plugins to be installed to your +Grafana setup from an URL. +You must specify the property `url` to the plugin configuration. + +If you want to install unsigned plugins, you must also set the `unsigned` property to `true`: + +```yaml +custom_plugins: + - name: my-plugin-name + url: https://github.com/my-repo/my-plugin-name/releases/download/0.1.0/my-plugin-name-0.1.0.zip + unsigned: true +``` + ### Option: `env_vars` This option allows you to tweak every aspect of Grafana by setting diff --git a/grafana/README.md b/grafana/README.md index c3ac22446..86b83c365 100644 --- a/grafana/README.md +++ b/grafana/README.md @@ -53,6 +53,6 @@ If you are more interested in stable releases of our add-ons: [patreon-shield]: https://frenck.dev/wp-content/uploads/2019/12/patreon.png [patreon]: https://www.patreon.com/frenck [project-stage-shield]: https://img.shields.io/badge/project%20stage-production%20ready-brightgreen.svg -[release-shield]: https://img.shields.io/badge/version-dca1b09-blue.svg -[release]: https://github.com/hassio-addons/addon-grafana/tree/dca1b09 +[release-shield]: https://img.shields.io/badge/version-23af72d-blue.svg +[release]: https://github.com/hassio-addons/addon-grafana/tree/23af72d [screenshot]: https://github.com/hassio-addons/addon-grafana/raw/main/images/screenshot.png \ No newline at end of file diff --git a/grafana/config.yaml b/grafana/config.yaml index d0d34a25c..50ea976cc 100644 --- a/grafana/config.yaml +++ b/grafana/config.yaml @@ -1,5 +1,5 @@ name: Grafana -version: dca1b09 +version: 23af72d slug: grafana description: The open platform for beautiful analytics and monitoring url: https://github.com/hassio-addons/addon-grafana @@ -20,6 +20,7 @@ map: - ssl options: plugins: [] + custom_plugins: [] env_vars: [] ssl: true certfile: fullchain.pem @@ -32,6 +33,10 @@ schema: log_level: list(trace|debug|info|notice|warning|error|fatal)? plugins: - str + custom_plugins: + - name: str + url: str + unsigned: bool? certfile: str keyfile: str ssl: bool