Merge pull request #77 from naude-r/master

Configure grafana with optional env variables
This commit is contained in:
Carlos Eduardo 2020-07-14 13:23:54 -03:00 committed by GitHub
commit bdd892ecce
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 0 deletions

View File

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

View File

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