Merge pull request #259 from 3dwardch3ng/app/qBittorrent
add app qBittorrent
This commit is contained in:
@@ -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
|
||||
21
kubernetes/apps/qbittorrent/app/ingress.yaml
Normal file
21
kubernetes/apps/qbittorrent/app/ingress.yaml
Normal 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
|
||||
34
kubernetes/apps/qbittorrent/app/release.yaml
Normal file
34
kubernetes/apps/qbittorrent/app/release.yaml
Normal 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
|
||||
16
kubernetes/apps/qbittorrent/qbittorrent.yaml
Normal file
16
kubernetes/apps/qbittorrent/qbittorrent.yaml
Normal 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
|
||||
|
||||
@@ -0,0 +1,4 @@
|
||||
apiVersion: v1
|
||||
kind: Namespace
|
||||
metadata:
|
||||
name: qbittorrent
|
||||
@@ -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
|
||||
Reference in New Issue
Block a user