Always generate grafana-config secret
Since https://github.com/brancz/kubernetes-grafana/pull/115, upstream grafana contains a non-empty config. Generate the grafana-config secret unconditionally even if no user config is passed.
This commit is contained in:
@@ -68,8 +68,7 @@ function(params) {
|
||||
},
|
||||
},
|
||||
|
||||
// Add object only if user passes config and config is not empty
|
||||
[if std.objectHas(params, 'config') && std.length(params.config) > 0 then 'config']: glib.grafana.config,
|
||||
config: glib.grafana.config,
|
||||
service: glib.grafana.service,
|
||||
serviceAccount: glib.grafana.serviceAccount,
|
||||
deployment: glib.grafana.deployment,
|
||||
|
||||
Reference in New Issue
Block a user