diff --git a/jsonnet/kube-prometheus/components/grafana.libsonnet b/jsonnet/kube-prometheus/components/grafana.libsonnet index f45d75f8f3173077feea68fcba3863d3eb4beeba..cb6cafa52beac0a20d2b71554a352a41139a4671 100644 --- a/jsonnet/kube-prometheus/components/grafana.libsonnet +++ b/jsonnet/kube-prometheus/components/grafana.libsonnet @@ -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