From f6345c70b3ec86fcb656da6d8fc9cd2abfb1ef74 Mon Sep 17 00:00:00 2001 From: SmokyZone Date: Sun, 25 Oct 2026 12:51:41 +0100 Subject: [PATCH] Jellyfin-NetworkPolicy: Egress zu Seerr:5055 erlauben (SeerrFin-Plugin) Co-Authored-By: Claude Opus 5.5 --- templates/networkpolicy.yaml | 10 ++++++++++ values.yaml | 4 ++++ 2 files changed, 14 insertions(+) diff --git a/templates/networkpolicy.yaml b/templates/networkpolicy.yaml index 4c9ee01..deceb20 100644 --- a/templates/networkpolicy.yaml +++ b/templates/networkpolicy.yaml @@ -45,6 +45,16 @@ spec: - protocol: TCP port: {{ $app.port }} egress: + {{- range $app.networkPolicy.allowTo }} + # explicitly allowed in-namespace target (e.g. SeerrFin plugin -> Seerr API) + - to: + - podSelector: + matchLabels: + app.kubernetes.io/name: {{ .app }} + ports: + - protocol: TCP + port: {{ .port }} + {{- end }} - to: - namespaceSelector: matchLabels: diff --git a/values.yaml b/values.yaml index 457e12e..cbe8b6e 100644 --- a/values.yaml +++ b/values.yaml @@ -87,6 +87,10 @@ apps: networkPolicy: allowFrom: - seerr + # SeerrFin plugin (runs inside Jellyfin) talks to the Seerr API server-side. + allowTo: + - app: seerr + port: 5055 publicIngress: host: tv.smokyzone.de # The web UI loads 40+ scripts/images in parallel at startup (plugins: SeerrFin,