From 094cdb34e8890ba638464849c862c9fcb1db06ce Mon Sep 17 00:00:00 2001 From: Petr Enkov <p.enkov@rogii.com> Date: Mon, 22 Mar 2021 11:57:11 +0400 Subject: [PATCH] allow install grafana plugins --- jsonnet/kube-prometheus/components/grafana.libsonnet | 2 ++ 1 file changed, 2 insertions(+) diff --git a/jsonnet/kube-prometheus/components/grafana.libsonnet b/jsonnet/kube-prometheus/components/grafana.libsonnet index 939fbbc3..faf90258 100644 --- a/jsonnet/kube-prometheus/components/grafana.libsonnet +++ b/jsonnet/kube-prometheus/components/grafana.libsonnet @@ -28,6 +28,7 @@ local defaults = { containers: [], datasources: [], config: {}, + plugins: [], }; function(params) { @@ -56,6 +57,7 @@ function(params) { folderDashboards: g.cfg.folderDashboards, containers: g.cfg.containers, config+: g.cfg.config, + plugins+: g.cfg.plugins, } + ( // Conditionally overwrite default setting. if std.length(g.cfg.datasources) > 0 then -- GitLab