mirror of
https://github.com/prometheus-operator/kube-prometheus.git
synced 2025-11-01 08:31:02 +01:00
jsonnet: do not include thanos field when not needed
Signed-off-by: paulfantom <pawel@krupa.net.pl>
This commit is contained in:
parent
de2d1b5231
commit
30d3d5950d
@ -274,7 +274,7 @@ function(params) {
|
||||
runAsNonRoot: true,
|
||||
fsGroup: 2000,
|
||||
},
|
||||
thanos: p.config.thanos,
|
||||
[if std.objectHas(params, 'thanos') then 'thanos']: p.config.thanos,
|
||||
},
|
||||
},
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user