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:
|
spec:
|
||||||
type: ClusterIP
|
type: ClusterIP
|
||||||
ports:
|
ports:
|
||||||
- port: 8096
|
- port: 80
|
||||||
targetPort: 8096
|
targetPort: 8096
|
||||||
protocol: TCP
|
protocol: TCP
|
||||||
name: http
|
name: http
|
||||||
|
|||||||
27
qbittorrent/ingress.yaml
Normal file
27
qbittorrent/ingress.yaml
Normal 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
|
||||||
@@ -94,9 +94,9 @@ metadata:
|
|||||||
labels:
|
labels:
|
||||||
app: qbittorrent
|
app: qbittorrent
|
||||||
spec:
|
spec:
|
||||||
type: NodePort
|
type: ClusterIP
|
||||||
ports:
|
ports:
|
||||||
- port: 6880
|
- port: 80
|
||||||
targetPort: 6880
|
targetPort: 6880
|
||||||
protocol: TCP
|
protocol: TCP
|
||||||
name: webui
|
name: webui
|
||||||
|
|||||||
Reference in New Issue
Block a user