mirror of
https://github.com/prometheus-operator/kube-prometheus.git
synced 2025-08-26 08:51:33 +02:00
Merge pull request #1171 from anarcher/pr/grafana-env-1167
feat(grafana): add env parameter for grafana component
This commit is contained in:
commit
93cc34f0f6
@ -28,6 +28,7 @@ local defaults = {
|
||||
datasources: [],
|
||||
config: {},
|
||||
plugins: [],
|
||||
env: [],
|
||||
};
|
||||
|
||||
function(params) {
|
||||
@ -57,6 +58,7 @@ function(params) {
|
||||
containers: g._config.containers,
|
||||
config+: g._config.config,
|
||||
plugins+: g._config.plugins,
|
||||
env: g._config.env,
|
||||
} + (
|
||||
// Conditionally overwrite default setting.
|
||||
if std.length(g._config.datasources) > 0 then
|
||||
|
Loading…
x
Reference in New Issue
Block a user