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,
+ }
+ },
+ },
+ },
+ },
+}