Add workbench-ui (#216)

This commit is contained in:
cybermaggedon 2024-12-20 00:45:34 +00:00 committed by GitHub
parent 317ae3186a
commit f145d5c324
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 36 additions and 2 deletions

View file

@ -0,0 +1,32 @@
local images = import "values/images.jsonnet";
{
"workbench-ui" +: {
create:: function(engine)
local container =
engine.container("workbench-ui")
.with_image(images["workbench-ui"])
.with_limits("0.1", "256M")
.with_reservations("0.1", "256M")
.with_port(8888, 8888, "ui");
local containerSet = engine.containers(
"workbench-ui", [ container ]
);
local service =
engine.internalService(containerSet)
.with_port(8888, 8888, "ui");
engine.resources([
containerSet,
service,
])
},
}