add app qBittorrent
This commit is contained in:
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
|
||||
Reference in New Issue
Block a user