瀏覽代碼

jellyfin: handle big numbers in user/group id's (#2414)

Stavros Kois 1 年之前
父節點
當前提交
2a7e519942

+ 1 - 1
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'

+ 2 - 2
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:

+ 2 - 2
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 */}}