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