| Giorgi Lekveishvili | e009a5d | 2024-01-05 14:10:11 +0400 | [diff] [blame] | 1 | input: { |
| gio | 44f621b | 2024-04-29 09:44:38 +0400 | [diff] [blame] | 2 | subdomain: string @name(Subdomain) |
| 3 | adminKey: string @name(Admin SSH Public Key) |
| Giorgi Lekveishvili | e009a5d | 2024-01-05 14:10:11 +0400 | [diff] [blame] | 4 | } |
| 5 | |
| 6 | _domain: "\(input.subdomain).\(global.privateDomain)" |
| gio | 09a3e5b | 2024-04-26 14:11:06 +0400 | [diff] [blame^] | 7 | url: "https://\(_domain)" |
| Giorgi Lekveishvili | e009a5d | 2024-01-05 14:10:11 +0400 | [diff] [blame] | 8 | |
| Giorgi Lekveishvili | ef21c13 | 2024-01-17 18:57:58 +0400 | [diff] [blame] | 9 | name: "Soft-Serve" |
| 10 | namespace: "app-soft-serve" |
| 11 | // TODO(gio): make public network an option |
| 12 | readme: "softserve application will be installed on private network and be accessible to any user on https://\(_domain)" |
| 13 | description: "A tasty, self-hostable Git server for the command line. 🍦" |
| 14 | icon: "<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 Lekveishvili | e009a5d | 2024-01-05 14:10:11 +0400 | [diff] [blame] | 15 | |
| 16 | images: { |
| 17 | softserve: { |
| 18 | repository: "charmcli" |
| 19 | name: "soft-serve" |
| 20 | tag: "v0.7.1" |
| 21 | pullPolicy: "IfNotPresent" |
| 22 | } |
| 23 | } |
| 24 | |
| 25 | charts: { |
| 26 | softserve: { |
| 27 | chart: "charts/soft-serve" |
| 28 | sourceRef: { |
| 29 | kind: "GitRepository" |
| 30 | name: "pcloud" |
| 31 | namespace: global.id |
| 32 | } |
| 33 | } |
| 34 | } |
| 35 | |
| 36 | helm: { |
| 37 | softserve: { |
| 38 | chart: charts.softserve |
| 39 | values: { |
| 40 | serviceType: "LoadBalancer" |
| 41 | reservedIP: "" |
| 42 | addressPool: global.id |
| 43 | adminKey: input.adminKey |
| 44 | privateKey: "" |
| 45 | publicKey: "" |
| 46 | ingress: { |
| 47 | enabled: false |
| 48 | } |
| 49 | image: { |
| 50 | repository: images.softserve.fullName |
| 51 | tag: images.softserve.tag |
| 52 | pullPolicy: images.softserve.pullPolicy |
| 53 | } |
| 54 | } |
| 55 | } |
| 56 | } |