From 2a7e5199425e8c38acf1c0d6706d983f7181f5ef Mon Sep 17 00:00:00 2001 From: Stavros Kois <47820033+stavros-k@users.noreply.github.com> Date: Mon, 29 Apr 2024 09:10:48 +0300 Subject: [PATCH] jellyfin: handle big numbers in user/group id's (#2414) --- library/ix-dev/community/jellyfin/Chart.yaml | 2 +- library/ix-dev/community/jellyfin/ci/basic-values.yaml | 4 ++-- library/ix-dev/community/jellyfin/templates/_jellyfin.tpl | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/library/ix-dev/community/jellyfin/Chart.yaml b/library/ix-dev/community/jellyfin/Chart.yaml index 92957640c1..56c7c3b441 100644 --- a/library/ix-dev/community/jellyfin/Chart.yaml +++ b/library/ix-dev/community/jellyfin/Chart.yaml @@ -4,7 +4,7 @@ description: Jellyfin is a Free Software Media System that puts you in control o annotations: title: Jellyfin type: application -version: 1.2.7 +version: 1.2.8 apiVersion: v2 appVersion: 10.8.13.1 kubeVersion: '>=1.16.0-0' diff --git a/library/ix-dev/community/jellyfin/ci/basic-values.yaml b/library/ix-dev/community/jellyfin/ci/basic-values.yaml index 27d861cad8..0ba5ec69f0 100644 --- a/library/ix-dev/community/jellyfin/ci/basic-values.yaml +++ b/library/ix-dev/community/jellyfin/ci/basic-values.yaml @@ -2,8 +2,8 @@ jellyfinNetwork: webPort: 31000 jellyfinRunAs: - user: 1000 - group: 1000 + user: 8675309 + group: 8675309 jellyfinStorage: config: diff --git a/library/ix-dev/community/jellyfin/templates/_jellyfin.tpl b/library/ix-dev/community/jellyfin/templates/_jellyfin.tpl index 97ceb445a3..9501af997a 100644 --- a/library/ix-dev/community/jellyfin/templates/_jellyfin.tpl +++ b/library/ix-dev/community/jellyfin/templates/_jellyfin.tpl @@ -43,8 +43,8 @@ workload: path: /health initContainers: {{- include "ix.v1.common.app.permissions" (dict "containerName" "01-permissions" - "UID" .Values.jellyfinRunAs.user - "GID" .Values.jellyfinRunAs.group + "UID" (include "ix.v1.common.helper.makeIntOrNoop" .Values.jellyfinRunAs.user) + "GID" (include "ix.v1.common.helper.makeIntOrNoop" .Values.jellyfinRunAs.group) "mode" "check" "type" "install") | nindent 8 }} {{/* Service */}}