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