73 lines
2.3 KiB
Text
73 lines
2.3 KiB
Text
let _concerns_lib = import "schemas/lib/concerns.ncl" in
|
|
let _context_lib = import "schemas/catalog/context.ncl" in
|
|
|
|
{
|
|
Mobilizon = {
|
|
context | _context_lib.ComponentContext | optional,
|
|
|
|
name | String,
|
|
namespace | String,
|
|
catalog_ref | String | optional,
|
|
|
|
image | String | default = "framasoft/mobilizon",
|
|
image_tag | String | default = "4.0.0",
|
|
http_port | Number | default = 4000,
|
|
|
|
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 = "2Gi",
|
|
uploads_path | String | default = "/var/lib/mobilizon/uploads",
|
|
|
|
postgis_image | String | default = "nickblah/postgis",
|
|
postgis_image_tag | String | default = "16-postgis-3.4",
|
|
postgis_storage_class | String | default = "longhorn-retain",
|
|
postgis_storage_size | String | default = "1Gi",
|
|
|
|
db_host | String,
|
|
db_port | Number | default = 5432,
|
|
db_name | String | default = "mobilizon",
|
|
db_user | String | default = "mobilizon",
|
|
|
|
instance_name | String | default = "Mobilizon",
|
|
admin_email | String | default = "",
|
|
|
|
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,
|
|
|
|
..
|
|
},
|
|
}
|