-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathhelmrelease.yaml
More file actions
124 lines (124 loc) · 3.67 KB
/
helmrelease.yaml
File metadata and controls
124 lines (124 loc) · 3.67 KB
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
---
# yaml-language-server: $schema=https://raw.githubusercontent.com/bjw-s/helm-charts/main/charts/other/app-template/schemas/helmrelease-helm-v2.schema.json
apiVersion: helm.toolkit.fluxcd.io/v2
kind: HelmRelease
metadata:
name: qbittorrent
spec:
interval: 30m
chart:
spec:
chart: app-template
version: 3.7.3
sourceRef:
kind: HelmRepository
name: bjw-s
namespace: flux-system
install:
remediation:
retries: 3
upgrade:
cleanupOnFail: true
remediation:
strategy: rollback
retries: 3
driftDetection:
mode: enabled
values:
controllers:
qbittorrent:
annotations:
reloader.stakater.com/auto: "true"
containers:
app:
image:
repository: ghcr.io/home-operations/qbittorrent
tag: 5.1.0@sha256:37aefd713ba31d51255995261616f1144378887bc5f21665a0ebf851fb85f69a
env:
TZ: ${TIMEZONE}
LC_TIME: ${LOCALE}
QBITTORRENT__PORT: &port 80
QBITTORRENT__BT_PORT: &bittorrentPort 50413
QBT_Preferences__WebUI__AlternativeUIEnabled: false
QBT_Preferences__WebUI__AuthSubnetWhitelistEnabled: true
QBT_Preferences__WebUI__AuthSubnetWhitelist: |-
${POD_CIDR}, ${NODE_CIDR}
QBT_Preferences__WebUI__LocalHostAuth: false
probes:
liveness: &probes
enabled: true
custom: true
spec:
httpGet:
path: /api/v2/app/version
port: *port
initialDelaySeconds: 30
periodSeconds: 30
timeoutSeconds: 10
failureThreshold: 6
readiness: *probes
startup:
enabled: true
spec:
failureThreshold: 30
periodSeconds: 10
securityContext:
allowPrivilegeEscalation: false
readOnlyRootFilesystem: true
capabilities: { drop: ["ALL"] }
resources:
requests:
cpu: 100m
limits:
memory: 8Gi
defaultPodOptions:
securityContext:
runAsNonRoot: true
runAsUser: 568
runAsGroup: 568
fsGroup: 568
fsGroupChangePolicy: OnRootMismatch
supplementalGroups: [10000]
seccompProfile: { type: RuntimeDefault }
service:
app:
controller: qbittorrent
type: LoadBalancer
annotations:
lbipam.cilium.io/ips: 192.168.0.122
ports:
http:
port: *port
bittorrent:
enabled: true
port: *bittorrentPort
protocol: TCP
ingress:
app:
annotations:
external-dns.alpha.kubernetes.io/target: internal.${SECRET_DOMAIN}
gethomepage.dev/enabled: "true"
gethomepage.dev/group: Downloads
gethomepage.dev/icon: sh-qbittorrent.svg
gethomepage.dev/name: qBittorrent
gethomepage.dev/widget.type: "qbittorrent"
gethomepage.dev/widget.url: "http://qbittorrent.default.svc:80"
className: internal
hosts:
- host: qb.${SECRET_DOMAIN}
paths:
- path: /
service:
identifier: app
port: http
persistence:
config:
existingClaim: qbittorrent
media:
type: nfs
server: ${SECRET_NAS_IP}
path: /volume1/Media/torrents
globalMounts:
- path: /Media/torrents
tmp:
type: emptyDir