configure ingress for jellyfin and qbittorrent
This commit is contained in:
28
jellyfin/ingress.yaml
Normal file
28
jellyfin/ingress.yaml
Normal file
@@ -0,0 +1,28 @@
|
||||
apiVersion: networking.k8s.io/v1
|
||||
kind: Ingress
|
||||
metadata:
|
||||
name: jellyfin-ingress
|
||||
namespace: jellyfin
|
||||
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: jellyfin.rogi.casa
|
||||
http:
|
||||
paths:
|
||||
- path: /
|
||||
pathType: Prefix
|
||||
backend:
|
||||
service:
|
||||
name: jellyfin
|
||||
port:
|
||||
number: 80
|
||||
@@ -14,7 +14,7 @@ metadata:
|
||||
spec:
|
||||
type: ClusterIP
|
||||
ports:
|
||||
- port: 8096
|
||||
- port: 80
|
||||
targetPort: 8096
|
||||
protocol: TCP
|
||||
name: http
|
||||
|
||||
Reference in New Issue
Block a user