let _concerns_lib = import "schemas/lib/concerns.ncl" in let _context_lib = import "schemas/catalog/context.ncl" in { Listmonk = { context | _context_lib.ComponentContext | optional, name | String, namespace | String, catalog_ref | String | optional, image | String | default = "listmonk/listmonk", image_tag | String | default = "v4.1.0", http_port | Number | default = 9000, domain | String, dns_zone | String, acme_email | String, cluster_issuer | String, gateway_fip | String, gateway_name | String | default = "libre-wuji", gateway_ns | String | default = "kube-system", storage_class | String | default = "longhorn-retain", storage_size | String | default = "1Gi", uploads_path | String | default = "/listmonk/uploads", db_host | String, db_port | Number | default = 5432, db_user | String | default = "listmonk", db_name | String | default = "listmonk", admin_username | String | default = "admin", requires | { storage | { size | String, persistent | Bool } | optional, ports | Array { port | Number, exposure | [| 'public, 'private, 'internal |] | default = 'public, } | default = [], credentials | Array String | default = [], } | default = {}, provides | { service | String | optional, port | Number | optional, endpoints | Array String | default = [], } | default = {}, operations | { install | Bool | default = true, update | Bool | default = true, delete | Bool | default = true, health | Bool | default = true, } | default = {}, live_check | { strategy | [| 'k8s_pods, 'http_get |] | default = 'k8s_pods, scope | [| 'cp_only, 'all_nodes |] | default = 'cp_only, } | default = {}, concerns | _concerns_lib.ServiceConcerns | optional, .. }, }