-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathvalues.yaml
126 lines (115 loc) · 3.62 KB
/
values.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
image:
repository: ghcr.io/k8s-at-home/qbittorrent
tag: v4.4.2
service:
type: ClusterIP
port: 8080
serviceAccount:
create: true
autoscaling:
enabled: false
ingress:
enabled: true
className: "nginx"
annotations:
cert-manager.io/cluster-issuer: letsencrypt
external-dns.alpha.kubernetes.io/target: home.terence.cloud
nginx.ingress.kubernetes.io/auth-url: "https://$host/oauth2/auth"
nginx.ingress.kubernetes.io/auth-signin: "https://$host/oauth2/start?rd=$escaped_request_uri"
# The qBittorrent WebUI doesn't like to see gitlab.com as the referer, so we just strip this header out
nginx.ingress.kubernetes.io/configuration-snippet: |
more_clear_headers "Referer";
hosts:
- host: qbittorrent.terence.cloud
paths:
- path: /
pathType: ImplementationSpecific
tls:
- secretName: qbittorrent-tls
hosts:
- qbittorrent.terence.cloud
volumeMounts:
- name: qbittorrent-configmap
mountPath: /config/qBittorrent/qBittorrent.conf
subPath: qBittorrent.conf
- name: qbittorrent-config
mountPath: /config/qBittorrent/
- name: qbittorrent-downloads
mountPath: /downloads
volumes:
- name: qbittorrent-configmap
configMap:
name: qbittorrent-configmap
- name: qbittorrent-config
persistentVolumeClaim:
claimName: qbittorrent-config
- name: qbittorrent-downloads
persistentVolumeClaim:
claimName: qbittorrent-downloads
persistentVolumes:
- name: qbittorrent-downloads
accessMode: ReadWriteOnce
size: 50Gi
- name: qbittorrent-config
accessMode: ReadWriteOnce
size: 100Mi
configmaps:
- name: qbittorrent-configmap
data:
# IMPORTANT : the settings below allow anybody to access the WebUI without authentication
# WebUI\AuthSubnetWhitelist=0.0.0.0/0
# WebUI\AuthSubnetWhitelistEnabled=true
qBittorrent.conf: |
[AutoRun]
enabled=false
program=
[Core]
AutoDeleteAddedTorrentFile=Never
[LegalNotice]
Accepted=true
[Preferences]
Advanced\RecheckOnCompletion=false
Advanced\trackerPort=9000
Advanced\AnonymousMode=true
Bittorrent\Encryption=1
Connection\PortRangeMin=6881
Connection\ResolvePeerCountries=true
Downloads\SavePath=/downloads/
Downloads\TempPath=/downloads/temp/
DynDNS\DomainName=changeme.dyndns.org
DynDNS\Enabled=false
DynDNS\Password=
DynDNS\Service=0
DynDNS\Username=
General\Locale=
MailNotification\email=
MailNotification\enabled=false
MailNotification\password=
MailNotification\req_auth=true
MailNotification\req_ssl=false
MailNotification\[email protected]
MailNotification\smtp_server=smtp.changeme.com
MailNotification\username=
Queueing\QueueingEnabled=false
WebUI\Address=*
WebUI\AlternativeUIEnabled=false
WebUI\AuthSubnetWhitelist=0.0.0.0/0
WebUI\AuthSubnetWhitelistEnabled=true
WebUI\BanDuration=3600
WebUI\CSRFProtection=true
WebUI\ClickjackingProtection=true
WebUI\CustomHTTPHeaders=
WebUI\CustomHTTPHeadersEnabled=false
WebUI\HTTPS\CertificatePath=
WebUI\HTTPS\Enabled=false
WebUI\HTTPS\KeyPath=
WebUI\HostHeaderValidation=false
WebUI\LocalHostAuth=false
WebUI\MaxAuthenticationFailCount=5
WebUI\Port=8080
WebUI\RootFolder=
WebUI\SecureCookie=true
WebUI\ServerDomains=*
WebUI\SessionTimeout=3600
WebUI\UseUPnP=false
WebUI\Username=admin