feat: Add holyarrs and use OIDC for jellyfin

This commit is contained in:
2026-11-10 20:30:10 +05:30
parent e22907125d
commit 682c3bcf4e
16 changed files with 382 additions and 0 deletions
+2
View File
@@ -3,3 +3,5 @@ kind: Kustomization
resources:
- httproute-local.yaml
- httproute.yaml
- networkpolicy-holyarrs.yaml
- networkpolicy-ldap.yaml
+25
View File
@@ -0,0 +1,25 @@
# Lets HolyArrs ask Jellyfin to rescan after imports and sign people in.
# Adds to the chart's policy, which only admits traefik.
apiVersion: networking.k8s.io/v1
kind: NetworkPolicy
metadata:
name: jellyfin-from-holyarrs
namespace: jellyfin
spec:
ingress:
- from:
- namespaceSelector:
matchLabels:
kubernetes.io/metadata.name: holyarrs
podSelector:
matchLabels:
app.kubernetes.io/name: holyarrs
ports:
- port: 8096
protocol: TCP
podSelector:
matchLabels:
app.kubernetes.io/name: jellyfin
app.kubernetes.io/instance: jellyfin
policyTypes:
- Ingress
+25
View File
@@ -0,0 +1,25 @@
# Lets Jellyfin's LDAP plugin reach authentik's LDAP outpost (LDAPS).
# Adds to the chart's policy, which keeps Jellyfin off the cluster network.
apiVersion: networking.k8s.io/v1
kind: NetworkPolicy
metadata:
name: jellyfin-to-ldap
namespace: jellyfin
spec:
egress:
- ports:
- port: 6636
protocol: TCP
to:
- namespaceSelector:
matchLabels:
kubernetes.io/metadata.name: authentik
podSelector:
matchLabels:
app.kubernetes.io/name: authentik-ldap
podSelector:
matchLabels:
app.kubernetes.io/name: jellyfin
app.kubernetes.io/instance: jellyfin
policyTypes:
- Egress