blob: a70b7cd4ce2c8f57e99158ea2c212f73c977f95a [file] [log] [blame]
gio46998892024-10-24 21:07:54 +04001input: {
2 network: #Network @name(Network)
3 subdomain: string @name(Subdomain)
4 auth: #Auth @name(Authentication)
5}
6
7_domain: "\(input.subdomain).\(input.network.domain)"
8
9name: "etherpad"
10namespace: "app-etherpad"
11readme: "Etherpad is a highly customizable open source online editor providing collaborative editing in really real-time."
12description: "Etherpad is a highly customizable open source online editor providing collaborative editing in really real-time."
13icon: """
14<svg xmlns="http://www.w3.org/2000/svg" width="50" height="50" viewBox="0 0 48 48"><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" d="M38.5 5.5h-29c-2.2 0-4 1.8-4 4v29c0 2.2 1.8 4 4 4h29c2.2 0 4-1.8 4-4v-29c0-2.2-1.8-4-4-4"/><circle cx="24" cy="24" r="13.9" fill="none" stroke="currentColor" stroke-miterlimit="7"/><path fill="none" stroke="currentColor" d="M14.5 5.5v37m19-37v37"/></svg>"""
15
16_httpPortName: "http"
17
18out: {
19 ingress: {
20 etherpad: {
21 auth: input.auth
22 network: input.network
23 subdomain: input.subdomain
24 service: {
25 name: "etherpad"
26 port: name: _httpPortName
27 }
28 }
29 }
30
31 images: {
32 etherpad: {
33 repository: "etherpad"
34 name: "etherpad"
35 tag: "2.2.5"
36 pullPolicy: "IfNotPresent"
37 }
38 }
39
40 charts: {
41 etherpad: {
42 kind: "GitRepository"
43 address: "https://code.v1.dodo.cloud/helm-charts"
44 branch: "main"
45 path: "charts/etherpad"
46 }
47 }
48
giofc441e32024-11-11 16:26:14 +040049 volume: data: size: "1Gi"
gio46998892024-10-24 21:07:54 +040050
51 postgresql: db: {
52 name: "db"
53 size: "10Gi"
54 }
55
56 helm: {
57 etherpad: {
58 chart: charts.etherpad
59 info: "Installing etherpad server"
60 values: {
61 image: {
62 repository: images.etherpad.fullName
63 tag: images.etherpad.tag
64 pullPolicy: images.etherpad.pullPolicy
65 }
66 portName: _httpPortName
giofc441e32024-11-11 16:26:14 +040067 persistentVolumeClaimName: volume.data.name
gio46998892024-10-24 21:07:54 +040068 db: {
69 type: "postgres"
70 host: "postgres-db.\(release.namespace).svc.cluster.local"
71 port: 5432
72 name: "postgres"
73 user: "postgres"
74 pass: "postgres"
75 charset: "utf8mb4"
76 }
77 }
78 }
79 }
80}
81
82url: "https://\(_domain)"