fixup! bci2: Add resources argument
parent
835ec75472
commit
3f09e3a3b3
|
@ -118,8 +118,8 @@ def runInPod(args, block) {
|
|||
def tmpl = readYaml(text: podTemplateYaml)
|
||||
tmpl.spec.containers.each {
|
||||
it.resources = [
|
||||
requests = resources,
|
||||
limits = resources,
|
||||
requests: resources,
|
||||
limits: resources,
|
||||
]
|
||||
}
|
||||
podTemplateYaml = writeYaml(data: tmpl, returnText: true)
|
||||
|
|
Loading…
Reference in New Issue