jsonnet: do not include thanos field when not needed
Signed-off-by: paulfantom <pawel@krupa.net.pl>
This commit is contained in:
@@ -274,7 +274,7 @@ function(params) {
|
|||||||
runAsNonRoot: true,
|
runAsNonRoot: true,
|
||||||
fsGroup: 2000,
|
fsGroup: 2000,
|
||||||
},
|
},
|
||||||
thanos: p.config.thanos,
|
[if std.objectHas(params, 'thanos') then 'thanos']: p.config.thanos,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user