diff --git a/vars/buildContainerImage2.groovy b/vars/buildContainerImage2.groovy index a216931..e67c509 100644 --- a/vars/buildContainerImage2.groovy +++ b/vars/buildContainerImage2.groovy @@ -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)