From 6b0b8c780a9460b67d8b1ae2f00d06f4f5121d77 Mon Sep 17 00:00:00 2001 From: Carlos de Paula Date: Tue, 23 Jun 2020 17:24:33 -0300 Subject: [PATCH] Add Grafana plugins install option Fixes #67 --- base_operator_stack.jsonnet | 1 + vars.jsonnet | 5 ++++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/base_operator_stack.jsonnet b/base_operator_stack.jsonnet index 7a0d109..da93e6d 100644 --- a/base_operator_stack.jsonnet +++ b/base_operator_stack.jsonnet @@ -58,6 +58,7 @@ local vars = import 'vars.jsonnet'; }, }, }, + plugins: vars.grafana.plugins, }, }, //--------------------------------------- diff --git a/vars.jsonnet b/vars.jsonnet index 11495cd..645e078 100644 --- a/vars.jsonnet +++ b/vars.jsonnet @@ -73,8 +73,11 @@ scrapeInterval: '30s', scrapeTimeout: '30s', }, - // Grafana "from" email grafana: { + // Grafana "from" email from_address: 'myemail@gmail.com', + // Plugins to be installed at runtime. + //Ex. plugins: ['grafana-piechart-panel', 'grafana-clock-panel'], + plugins: [], }, }