From 0db470d757ff6bcfc179006e00780ee3a9d151a3 Mon Sep 17 00:00:00 2001 From: SeanOMik Date: Mon, 10 Apr 2023 00:15:18 -0400 Subject: [PATCH] Set pod labels for jellyfin and jellyseerr --- cluster/apps/download/network_policy.yaml | 4 ++++ cluster/apps/media/jellyfin/helm-release.yaml | 8 +++----- cluster/apps/media/jellyseerr/helm-release.yaml | 3 +++ 3 files changed, 10 insertions(+), 5 deletions(-) diff --git a/cluster/apps/download/network_policy.yaml b/cluster/apps/download/network_policy.yaml index 4c34cf5..ea2a397 100644 --- a/cluster/apps/download/network_policy.yaml +++ b/cluster/apps/download/network_policy.yaml @@ -19,6 +19,10 @@ spec: matchLabels: name: "traefik" + - namespaceSelector: + matchLabels: + needsDownload: "yes" + # Allow all pods with this label - podSelector: matchLabels: diff --git a/cluster/apps/media/jellyfin/helm-release.yaml b/cluster/apps/media/jellyfin/helm-release.yaml index ed5eae8..a67c623 100644 --- a/cluster/apps/media/jellyfin/helm-release.yaml +++ b/cluster/apps/media/jellyfin/helm-release.yaml @@ -15,15 +15,13 @@ spec: namespace: flux-system values: - # Set a global label value - global: - labels: - needsAuthentik: "yes" - image: repository: jellyfin/jellyfin tag: latest + podLabels: + needsAuthentik: "yes" + service: main: ports: diff --git a/cluster/apps/media/jellyseerr/helm-release.yaml b/cluster/apps/media/jellyseerr/helm-release.yaml index c400b5b..0467fce 100644 --- a/cluster/apps/media/jellyseerr/helm-release.yaml +++ b/cluster/apps/media/jellyseerr/helm-release.yaml @@ -19,6 +19,9 @@ spec: repository: fallenbagel/jellyseerr tag: develop + podLabels: + needsDownload: "yes" + env: TZ: America/New_York