blob: b5dbf6283caaf5ea51cf84ceb0433e0f08b31dac [file] [log] [blame]
Giorgi Lekveishvilie009a5d2024-01-05 14:10:11 +04001input: {
2 network: #Network
3 subdomain: string
4}
5
6_domain: "\(input.subdomain).\(input.network.domain)"
7
8readme: "qbittorrent application will be installed on \(input.network.name) network and be accessible to any user on https://\(_domain)"
9
10images: {
11 qbittorrent: {
12 registry: "lscr.io"
13 repository: "linuxserver"
14 name: "qbittorrent"
15 tag: "4.5.3"
16 pullPolicy: "IfNotPresent"
17 }
18}
19
20charts: {
21 qbittorrent: {
22 chart: "charts/qbittorrent"
23 sourceRef: {
24 kind: "GitRepository"
25 name: "pcloud"
26 namespace: global.id
27 }
28 }
29}
30
31helm: {
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}