fixup! bci2: Add resources argument
This commit is contained in:
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user