Merge pull request #1140 from paulfantom/config-reloader

jsonnet: use common to populate options for additional objects
This commit is contained in:
Paweł Krupa
2021-05-07 10:00:29 +02:00
committed by GitHub

View File

@@ -37,7 +37,7 @@
spec+: {
local addArgs(c) =
if c.name == 'prometheus-operator'
then c { args+: ['--config-reloader-cpu=0'] }
then c { args+: ['--config-reloader-cpu-limit=0', '--config-reloader-memory-limit=0'] }
else c,
containers: std.map(addArgs, super.containers),
},