| 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 | network: #Network @name(Network) |
| 3 | subdomain: string @name(Subdomain) |
| Giorgi Lekveishvili | e009a5d | 2024-01-05 14:10:11 +0400 | [diff] [blame] | 4 | } |
| 5 | |
| 6 | _domain: "\(input.subdomain).\(input.network.domain)" |
| 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: "Jellyfin" |
| 10 | namespace: "app-jellyfin" |
| 11 | description: "Jellyfin is a free and open-source media server and suite of multimedia applications designed to organize, manage, and share digital media files to networked devices." |
| 12 | icon: "<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='M24 20c-1.62 0-6.85 9.48-6.06 11.08s11.33 1.59 12.12 0S25.63 20 24 20Z'/><path fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' d='M24 5.5c-4.89 0-20.66 28.58-18.25 33.4s34.13 4.77 36.51 0S28.9 5.5 24 5.5Zm12 29.21c-1.56 3.13-22.35 3.17-23.93 0S20.8 12.83 24 12.83s13.52 18.76 12 21.88Z'/></svg>" |
| 13 | |
| Giorgi Lekveishvili | e009a5d | 2024-01-05 14:10:11 +0400 | [diff] [blame] | 14 | readme: "jellyfin application will be installed on \(input.network.name) network and be accessible to any user on https://\(_domain)" |
| 15 | |
| 16 | images: { |
| 17 | jellyfin: { |
| 18 | repository: "jellyfin" |
| 19 | name: "jellyfin" |
| 20 | tag: "10.8.10" |
| 21 | pullPolicy: "IfNotPresent" |
| 22 | } |
| 23 | } |
| 24 | |
| 25 | charts: { |
| 26 | jellyfin: { |
| gio | f884341 | 2024-05-22 16:38:05 +0400 | [diff] [blame] | 27 | kind: "GitRepository" |
| 28 | address: "https://github.com/giolekva/pcloud.git" |
| 29 | branch: "main" |
| 30 | path: "charts/jellyfin" |
| Giorgi Lekveishvili | e009a5d | 2024-01-05 14:10:11 +0400 | [diff] [blame] | 31 | } |
| 32 | } |
| 33 | |
| 34 | helm: { |
| 35 | jellyfin: { |
| 36 | chart: charts.jellyfin |
| 37 | values: { |
| 38 | pcloudInstanceId: global.id |
| 39 | ingress: { |
| 40 | className: input.network.ingressClass |
| 41 | domain: _domain |
| 42 | } |
| 43 | image: { |
| 44 | repository: images.jellyfin.fullName |
| 45 | tag: images.jellyfin.tag |
| 46 | pullPolicy: images.jellyfin.pullPolicy |
| 47 | } |
| 48 | } |
| 49 | } |
| 50 | } |