hswaw/kube: add cebula.camp

Change-Id: I7659640d4a1445b828a944769aa6d9a08bcd7bbe
diff --git a/hswaw/kube/cebulacamp.libsonnet b/hswaw/kube/cebulacamp.libsonnet
new file mode 100644
index 0000000..89fb486
--- /dev/null
+++ b/hswaw/kube/cebulacamp.libsonnet
@@ -0,0 +1,29 @@
+local mirko = import "../../kube/mirko.libsonnet";
+local kube = import "../../kube/kube.libsonnet";
+
+{
+    cfg:: {
+        image: "registry.k0.hswaw.net/q3k/cebulacamp-landing:315532800-49360be9c310c0807fed9e6e8d005df7ebbd5f55",
+        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,
+                    }
+                },
+            },
+        },
+    },
+}
diff --git a/hswaw/kube/hswaw.jsonnet b/hswaw/kube/hswaw.jsonnet
index 806a018..41ff73d 100644
--- a/hswaw/kube/hswaw.jsonnet
+++ b/hswaw/kube/hswaw.jsonnet
@@ -6,6 +6,7 @@
 local teleimg = import "teleimg.libsonnet";
 local frab = import "frab.libsonnet";
 local pretalx = import "pretalx.libsonnet";
+local cebulacamp = import "cebulacamp.libsonnet";
 
 {
     hswaw(name):: mirko.Environment(name) {
@@ -18,6 +19,7 @@
             teleimg: teleimg.cfg,
             frab: frab.cfg,
             pretalx: pretalx.cfg,
+            cebulacamp: cebulacamp.cfg,
         },
 
         components: {
@@ -27,6 +29,7 @@
             lelegram: teleimg.lelegram(cfg.teleimg, env),
             frab: frab.component(cfg.frab, env),
             pretalx: pretalx.component(cfg.pretalx, env),
+            cebulacamp: cebulacamp.component(cfg.cebulacamp, env),
         },
     },
 
@@ -63,6 +66,9 @@
                     credsSecret: import "secrets/plain/prod-pretalx-s3.json",
                 },
             },
+            cebulacamp+: {
+                webFQDN: "cebula.camp",
+            },
         },
     },
 }