- allow adding environment variables to the grafana deployment. the main use case for

this is to allow plugin download when behind a proxy
This commit is contained in:
Roelof Naude 2020-07-14 16:26:12 +02:00
parent 301785dc46
commit c424ae1793
2 changed files with 3 additions and 0 deletions

View File

@ -59,6 +59,7 @@ local vars = import 'vars.jsonnet';
},
},
plugins: vars.grafana.plugins,
env: vars.grafana.env
},
},
//---------------------------------------

View File

@ -79,5 +79,7 @@
// Plugins to be installed at runtime.
//Ex. plugins: ['grafana-piechart-panel', 'grafana-clock-panel'],
plugins: [],
//Ex. env: [ { name: 'http_proxy', value: 'host:8080' } ]
env: []
},
}