Actual allow traffic

Signed-off-by: Martyn Ranyard <m@rtyn.berlin>
This commit is contained in:
Martyn 2023-02-11 15:22:31 +01:00
parent eef606b770
commit 6dcf16062a
2 changed files with 32 additions and 0 deletions

25
jelly/ing.yaml Normal file
View File

@ -0,0 +1,25 @@
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
annotations:
cert-manager.io/cluster-issuer: letsencrypt
external-dns.alpha.kubernetes.io/target: drache.martyn.berlin
kubernetes.io/ingress.class: nginx
name: jellyfin-ingress
namespace: jellyfin
spec:
rules:
- host: flix.martyn.berlin
http:
paths:
- backend:
service:
name: jellyfin
port:
number: 8096
path: /
pathType: Prefix
tls:
- hosts:
- flix.martyn.berlin
secretName: flix-tls

7
jelly/service.yaml Normal file
View File

@ -0,0 +1,7 @@
kind: Service
apiVersion: v1
metadata:
name: jellyfin
spec:
type: ExternalName
externalName: remote-jelly.cluster-ingress.svc.cluster.local