Skip to content
Snippets Groups Projects
Unverified Commit 93cc34f0 authored by Paweł Krupa's avatar Paweł Krupa Committed by GitHub
Browse files

Merge pull request #1171 from anarcher/pr/grafana-env-1167

feat(grafana): add env parameter for grafana component
parents d57542ea 8bcfb98a
Branches
Tags
No related merge requests found
...@@ -28,6 +28,7 @@ local defaults = { ...@@ -28,6 +28,7 @@ local defaults = {
datasources: [], datasources: [],
config: {}, config: {},
plugins: [], plugins: [],
env: [],
}; };
function(params) { function(params) {
...@@ -57,6 +58,7 @@ function(params) { ...@@ -57,6 +58,7 @@ function(params) {
containers: g._config.containers, containers: g._config.containers,
config+: g._config.config, config+: g._config.config,
plugins+: g._config.plugins, plugins+: g._config.plugins,
env: g._config.env,
} + ( } + (
// Conditionally overwrite default setting. // Conditionally overwrite default setting.
if std.length(g._config.datasources) > 0 then if std.length(g._config.datasources) > 0 then
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment