blob: 3d34615f8a6d7b1a83deae14c10c163774941cc7 [file] [log] [blame]
Giorgi Lekveishvilie009a5d2024-01-05 14:10:11 +04001input: {
gio44f621b2024-04-29 09:44:38 +04002 subdomain: string @name(Subdomain)
3 adminKey: string @name(Admin SSH Public Key)
Giorgi Lekveishvilie009a5d2024-01-05 14:10:11 +04004}
5
6_domain: "\(input.subdomain).\(global.privateDomain)"
7
Giorgi Lekveishvilief21c132024-01-17 18:57:58 +04008name: "Soft-Serve"
9namespace: "app-soft-serve"
10// TODO(gio): make public network an option
11readme: "softserve application will be installed on private network and be accessible to any user on https://\(_domain)"
12description: "A tasty, self-hostable Git server for the command line. 🍦"
13icon: "<svg xmlns='http://www.w3.org/2000/svg' width='50' height='50' viewBox='0 0 48 48'><g fill='none' stroke='currentColor' stroke-linecap='round' stroke-width='4'><path stroke-linejoin='round' d='M15.34 22.5L21 37l3 6l3-6l5.66-14.5'/><path d='M19 32h10'/><path stroke-linejoin='round' d='M24 3c-6 0-8 6-8 6s-6 2-6 7s5 7 5 7s3.5-2 9-2s9 2 9 2s5-2 5-7s-6-7-6-7s-2-6-8-6Z'/></g></svg>"
Giorgi Lekveishvilie009a5d2024-01-05 14:10:11 +040014
15images: {
16 softserve: {
17 repository: "charmcli"
18 name: "soft-serve"
19 tag: "v0.7.1"
20 pullPolicy: "IfNotPresent"
21 }
22}
23
24charts: {
25 softserve: {
26 chart: "charts/soft-serve"
27 sourceRef: {
28 kind: "GitRepository"
29 name: "pcloud"
30 namespace: global.id
31 }
32 }
33}
34
35helm: {
36 softserve: {
37 chart: charts.softserve
38 values: {
39 serviceType: "LoadBalancer"
40 reservedIP: ""
41 addressPool: global.id
42 adminKey: input.adminKey
43 privateKey: ""
44 publicKey: ""
45 ingress: {
46 enabled: false
47 }
48 image: {
49 repository: images.softserve.fullName
50 tag: images.softserve.tag
51 pullPolicy: images.softserve.pullPolicy
52 }
53 }
54 }
55}