mirror of
https://github.com/auricom/home-cluster.git
synced 2025-09-30 23:45:25 +02:00

| datasource | package | from | to | | ---------- | --------------------------- | ----- | ----- | | docker | ghcr.io/onedr0p/qbittorrent | 4.6.1 | 4.6.2 |
114 lines
2.9 KiB
YAML
114 lines
2.9 KiB
YAML
---
|
|
# yaml-language-server: $schema=https://raw.githubusercontent.com/fluxcd-community/flux2-schemas/main/helmrelease-helm-v2beta1.json
|
|
apiVersion: helm.toolkit.fluxcd.io/v2beta1
|
|
kind: HelmRelease
|
|
metadata:
|
|
name: &app qbittorrent
|
|
namespace: default
|
|
spec:
|
|
interval: 30m
|
|
chart:
|
|
spec:
|
|
chart: app-template
|
|
version: 2.3.0
|
|
sourceRef:
|
|
kind: HelmRepository
|
|
name: bjw-s
|
|
namespace: flux-system
|
|
maxHistory: 2
|
|
install:
|
|
createNamespace: true
|
|
remediation:
|
|
retries: 3
|
|
upgrade:
|
|
cleanupOnFail: true
|
|
remediation:
|
|
retries: 3
|
|
uninstall:
|
|
keepHistory: false
|
|
values:
|
|
defaultPodOptions:
|
|
securityContext:
|
|
runAsUser: 568
|
|
runAsGroup: 568
|
|
fsGroup: 568
|
|
fsGroupChangePolicy: OnRootMismatch
|
|
controllers:
|
|
main:
|
|
type: statefulset
|
|
containers:
|
|
main:
|
|
image:
|
|
repository: ghcr.io/onedr0p/qbittorrent
|
|
tag: 4.6.2@sha256:252b90e64ae43113f1fdb5dd941728a752eed13fc5fbc4ac5b63e2acccad8f7f
|
|
env:
|
|
TZ: "${TIMEZONE}"
|
|
QBITTORRENT__PORT: &port 8080
|
|
QBITTORRENT__BT_PORT: &port-bt 58462
|
|
resources:
|
|
requests:
|
|
cpu: 500m
|
|
memory: 1Gi
|
|
limits:
|
|
memory: 8Gi
|
|
statefulset:
|
|
volumeClaimTemplates:
|
|
- name: config
|
|
accessMode: ReadWriteOnce
|
|
size: 1Gi
|
|
storageClass: rook-ceph-block
|
|
globalMounts:
|
|
- path: /config
|
|
service:
|
|
main:
|
|
ports:
|
|
http:
|
|
port: *port
|
|
bittorent:
|
|
enabled: true
|
|
controller: main
|
|
type: LoadBalancer
|
|
loadBalancerIP: "${CLUSTER_LB_QBITTORRENT}"
|
|
ports:
|
|
bittorrent:
|
|
enabled: true
|
|
port: *port-bt
|
|
protocol: TCP
|
|
targetPort: *port-bt
|
|
externalTrafficPolicy: Local
|
|
ingress:
|
|
main:
|
|
enabled: true
|
|
className: "nginx"
|
|
annotations:
|
|
hajimari.io/icon: mdi:download
|
|
hosts:
|
|
- host: &host "{{ .Release.Name }}.${SECRET_CLUSTER_DOMAIN}"
|
|
paths:
|
|
- path: /
|
|
service:
|
|
name: main
|
|
port: http
|
|
tls:
|
|
- hosts:
|
|
- *host
|
|
persistence:
|
|
downloads:
|
|
type: nfs
|
|
server: "${LOCAL_LAN_TRUENAS}"
|
|
path: /mnt/storage/downloads
|
|
globalMounts:
|
|
- path: /mnt/storage/downloads
|
|
music-qbittorrent:
|
|
type: nfs
|
|
server: "${LOCAL_LAN_TRUENAS}"
|
|
path: /mnt/storage/music/.qbittorrent
|
|
globalMounts:
|
|
- path: /mnt/storage/music/.qbittorrent
|
|
video-qbittorrent:
|
|
type: nfs
|
|
server: "${LOCAL_LAN_TRUENAS}"
|
|
path: /mnt/storage/video/.qbittorrent
|
|
globalMounts:
|
|
- path: /mnt/storage/video/.qbittorrent
|