blob: 444959cc3aac1e1b8f9109a81d040021701927ed [file] [log] [blame]
local mirko = import "../../kube/mirko.libsonnet";
local kube = import "../../kube/kube.libsonnet";
{
cfg:: {
image: "registry.k0.hswaw.net/q3k/cebulacamp-landing:315532800-dcf15608d95a4cfd6bd529fd46bfbe03f602cf34",
webFQDN: error "webhookFQDN must be set",
},
component(cfg, env):: mirko.Component(env, "cebulacamp") {
local cebulacamp = self,
cfg+: {
image: cfg.image,
container: cebulacamp.Container("main") {
command: [
"/hscloud/hswaw/cebulacamp/landing/backend",
],
},
ports+: {
publicHTTP: {
web: {
port: 8080,
dns: cfg.webFQDN,
}
},
},
},
},
}