feat: Add holyarrs and use OIDC for jellyfin
This commit is contained in:
@@ -3,3 +3,5 @@ kind: Kustomization
|
||||
resources:
|
||||
- httproute-local.yaml
|
||||
- httproute.yaml
|
||||
- networkpolicy-holyarrs.yaml
|
||||
- networkpolicy-ldap.yaml
|
||||
|
||||
@@ -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
|
||||
@@ -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
|
||||
Reference in New Issue
Block a user