configure ingress for jellyfin and qbittorrent

This commit is contained in:
Roger Oriol
2026-01-30 22:53:37 +01:00
parent 3f79e2fac7
commit 6bfa0391e1
4 changed files with 58 additions and 3 deletions

27
qbittorrent/ingress.yaml Normal file
View File

@@ -0,0 +1,27 @@
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: qbittorrent-ingress
annotations:
kubernetes.io/ingress.class: "traefik"
traefik.ingress.kubernetes.io/redirect-entry-point: https
traefik.ingress.kubernetes.io/compress: "true"
cert-manager.io/issuer: prod-issuer
cert-manager.io/issuer-kind: OriginIssuer
cert-manager.io/issuer-group: cert-manager.k8s.cloudflare.com
spec:
tls:
- hosts:
- "*.rogi.casa"
secretName: rogicasa-tls
rules:
- host: qbittorrent.rogi.casa
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: qbittorrent
port:
number: 80

View File

@@ -94,9 +94,9 @@ metadata:
labels:
app: qbittorrent
spec:
type: NodePort
type: ClusterIP
ports:
- port: 6880
- port: 80
targetPort: 6880
protocol: TCP
name: webui