Files
auricom-home-cluster/cluster/apps/media/qbittorrent/helm-release.yaml
2021-05-06 10:21:12 +02:00

83 lines
2.3 KiB
YAML

---
apiVersion: helm.toolkit.fluxcd.io/v2beta1
kind: HelmRelease
metadata:
name: qbittorrent
namespace: media
spec:
interval: 5m
chart:
spec:
# renovate: registryUrl=https://k8s-at-home.com/charts/
chart: qbittorrent
version: 10.1.0
sourceRef:
kind: HelmRepository
name: k8s-at-home-charts
namespace: flux-system
interval: 5m
values:
controllerType: deployment
image:
repository: ghcr.io/k8s-at-home/qbittorrent
tag: v4.3.4.1
pullPolicy: IfNotPresent
env:
TZ: "Europe/Paris"
service:
additionalServices:
- enabled: true
annotations:
prometheus.io/probe: "true"
prometheus.io/protocol: tcp
nameSuffix: bittorrent
type: LoadBalancer
externalIPs:
- ${CLUSTER_LB_QBITTORRENT}
port:
port: 50413
name: bittorrent
protocol: TCP
targetPort: 6881
externalTrafficPolicy: Local
podSecurityContext:
runAsUser: 568
runAsGroup: 568
fsGroup: 568
persistence:
config:
enabled: true
existingClaim: qbittorrent-config
additionalVolumeMounts:
- name: qbittorrent-cache
mountPath: "/downloads"
- name: nfs-downloads-media
mountPath: "/mnt/storage/downloads"
additionalVolumes:
- name: qbittorrent-cache
persistentVolumeClaim:
claimName: qbittorrent-cache
- name: nfs-downloads-media
persistentVolumeClaim:
claimName: nfs-downloads-media
resources:
requests:
memory: 4Gi
cpu: 500m
ingress:
enabled: true
annotations:
kubernetes.io/ingress.class: "nginx"
forecastle.stakater.com/expose: "true"
forecastle.stakater.com/appName: "qBittorrent"
forecastle.stakater.com/icon: "https://upload.wikimedia.org/wikipedia/commons/thumb/6/66/New_qBittorrent_Logo.svg/600px-New_qBittorrent_Logo.svg.png"
forecastle.stakater.com/network-restricted: "true"
hosts:
- host: qbittorrent.${SECRET_CLUSTER_DOMAIN}
paths:
- path: /
pathType: Prefix
tls:
- hosts:
- "qbittorrent.${SECRET_CLUSTER_DOMAIN}"