lib/pfab/templates/job.rb in pfab-0.2.0 vs lib/pfab/templates/job.rb in pfab-0.3.0
- old
+ new
@@ -34,19 +34,10 @@
{
image: image_name,
name: @data['deployed_name'],
command: app_vars["command"].split(" "),
env: env_vars,
- resources: {
- requests: {
- cpu: @data["cpu"] || "50m",
- memory: @data["memory"] || "256Mi",
- },
- limits: {
- cpu: @data["cpu"] || "250m",
- memory: @data["memory"] || "256Mi",
- },
- },
+ resources: resources,
},
],
restartPolicy: "Never",
},
},