| 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)" |
| 7 | |
| Giorgi Lekveishvili | ef21c13 | 2024-01-17 18:57:58 +0400 | [diff] [blame] | 8 | name: "Soft-Serve" |
| 9 | namespace: "app-soft-serve" |
| 10 | // TODO(gio): make public network an option |
| 11 | readme: "softserve application will be installed on private network and be accessible to any user on https://\(_domain)" |
| 12 | description: "A tasty, self-hostable Git server for the command line. 🍦" |
| 13 | 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] | 14 | |
| 15 | images: { |
| 16 | softserve: { |
| 17 | repository: "charmcli" |
| 18 | name: "soft-serve" |
| 19 | tag: "v0.7.1" |
| 20 | pullPolicy: "IfNotPresent" |
| 21 | } |
| 22 | } |
| 23 | |
| 24 | charts: { |
| 25 | softserve: { |
| 26 | chart: "charts/soft-serve" |
| 27 | sourceRef: { |
| 28 | kind: "GitRepository" |
| 29 | name: "pcloud" |
| 30 | namespace: global.id |
| 31 | } |
| 32 | } |
| 33 | } |
| 34 | |
| 35 | helm: { |
| 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 | } |