blob: 89fb4863825918f95221f1c04fc96d18a5145747 [file] [log] [blame]
Serge Bazanski95ba05d2021-05-12 21:28:10 +00001local mirko = import "../../kube/mirko.libsonnet";
2local kube = import "../../kube/kube.libsonnet";
3
4{
5 cfg:: {
6 image: "registry.k0.hswaw.net/q3k/cebulacamp-landing:315532800-49360be9c310c0807fed9e6e8d005df7ebbd5f55",
7 webFQDN: error "webhookFQDN must be set",
8 },
9
10 component(cfg, env):: mirko.Component(env, "cebulacamp") {
11 local cebulacamp = self,
12 cfg+: {
13 image: cfg.image,
14 container: cebulacamp.Container("main") {
15 command: [
16 "/hscloud/hswaw/cebulacamp/landing/backend",
17 ],
18 },
19 ports+: {
20 publicHTTP: {
21 web: {
22 port: 8080,
23 dns: cfg.webFQDN,
24 }
25 },
26 },
27 },
28 },
29}