local mirko = import "../../kube/mirko.libsonnet"; local kube = import "../../kube/kube.libsonnet"; { cfg:: { image: "registry.k0.hswaw.net/q3k/hswaw-site:1630780895-62e50da881f666719aa8b5c632f2a5b33695a058", webFQDN: error "webFQDN must be set", }, component(cfg, env):: mirko.Component(env, "site") { local site = self, cfg+: { image: cfg.image, container: site.GoContainer("main", "/hswaw/site/site") { }, ports+: { publicHTTP: { web: { port: 8080, dns: cfg.webFQDN, } }, }, }, }, }