| Giorgi Lekveishvili | e009a5d | 2024-01-05 14:10:11 +0400 | [diff] [blame^] | 1 | input: { |
| 2 | network: #Network |
| 3 | subdomain: string |
| 4 | } |
| 5 | |
| 6 | _domain: "\(input.subdomain).\(input.network.domain)" |
| 7 | |
| 8 | readme: "qbittorrent application will be installed on \(input.network.name) network and be accessible to any user on https://\(_domain)" |
| 9 | |
| 10 | images: { |
| 11 | qbittorrent: { |
| 12 | registry: "lscr.io" |
| 13 | repository: "linuxserver" |
| 14 | name: "qbittorrent" |
| 15 | tag: "4.5.3" |
| 16 | pullPolicy: "IfNotPresent" |
| 17 | } |
| 18 | } |
| 19 | |
| 20 | charts: { |
| 21 | qbittorrent: { |
| 22 | chart: "charts/qbittorrent" |
| 23 | sourceRef: { |
| 24 | kind: "GitRepository" |
| 25 | name: "pcloud" |
| 26 | namespace: global.id |
| 27 | } |
| 28 | } |
| 29 | } |
| 30 | |
| 31 | helm: { |
| 32 | qbittorrent: { |
| 33 | chart: charts.qbittorrent |
| 34 | values: { |
| 35 | pcloudInstanceId: global.id |
| 36 | ingress: { |
| 37 | className: input.network.ingressClass |
| 38 | domain: _domain |
| 39 | } |
| 40 | webui: port: 8080 |
| 41 | bittorrent: port: 6881 |
| 42 | storage: size: "100Gi" |
| 43 | image: { |
| 44 | repository: images.qbittorrent.fullName |
| 45 | tag: images.qbittorrent.tag |
| 46 | pullPolicy: images.qbittorrent.pullPolicy |
| 47 | } |
| 48 | } |
| 49 | } |
| 50 | } |