Merge pull request #259 from 3dwardch3ng/app/qBittorrent

add app qBittorrent
This commit is contained in:
2024-06-21 14:15:35 +10:00
committed by GitHub
6 changed files with 84 additions and 0 deletions

View File

@@ -10,6 +10,7 @@ resources:
- ./kavita/kavita.yaml
- ./podinfo/podinfo.yaml
- ./postgresql/postgresql.yaml
- ./qbittorrent/qbittorrent.yaml
- ./snippet-box/snippet-box.yaml
- ./uptime-kuma/uptime-kuma.yaml
- ./weave-gitops/weave-gitops.yaml

View File

@@ -0,0 +1,21 @@
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: qbittorrent-ingress
namespace: qbittorrent
annotations:
nginx.ingress.kubernetes.io/ssl-redirect: "false"
nginx.ingress.kubernetes.io/use-regex: "true"
spec:
ingressClassName: nginx
rules:
- host: "qbittorrent.cluster.edward.sydney"
http:
paths:
- pathType: Prefix
path: "/"
backend:
service:
name: qbittorrent
port:
number: 8888

View File

@@ -0,0 +1,34 @@
apiVersion: helm.toolkit.fluxcd.io/v2
kind: HelmRelease
metadata:
name: qbittorrent
namespace: qbittorrent
spec:
releaseName: qbittorrent
targetNamespace: qbittorrent
chart:
spec:
chart: qbittorrent
sourceRef:
kind: HelmRepository
name: adminafk
namespace: flux-system
interval: 1h
install:
remediation:
retries: 3
values:
service:
web:
port: 8888
torrent:
port: 8388
volumes:
- name: qbittorrent-download
mountPath: /download
volumeMounts:
- name: qbittorrent-download
hostPath:
path: /mnt/nfs/AppData/qbittorrent/download
type: Directory

View File

@@ -0,0 +1,16 @@
apiVersion: kustomize.toolkit.fluxcd.io/v1
kind: Kustomization
metadata:
name: qbittorrent
namespace: qbittorrent
spec:
interval: 10m
timeout: 1m30s
retryInterval: 30s
path: ./kubernetes/apps/qbittorrent/app
prune: true
sourceRef:
kind: GitRepository
namespace: flux-system
name: flux-system

View File

@@ -0,0 +1,4 @@
apiVersion: v1
kind: Namespace
metadata:
name: qbittorrent

View File

@@ -0,0 +1,8 @@
apiVersion: source.toolkit.fluxcd.io/v1beta2
kind: HelmRepository
metadata:
name: adminafk
namespace: flux-system
spec:
interval: 6h
url: https://helm-charts.adminafk.fr