Stavros Kois 1 rok pred
rodič
commit
28f2ab1706

+ 1 - 1
library/ix-dev/community/immich/Chart.yaml

@@ -4,7 +4,7 @@ description: Immich is a self-hosted photo and video backup solution directly fr
 annotations:
   title: Immich
 type: application
-version: 3.0.24
+version: 3.0.25
 apiVersion: v2
 appVersion: 1.105.1
 kubeVersion: '>=1.16.0-0'

+ 25 - 0
library/ix-dev/community/immich/questions.yaml

@@ -56,6 +56,31 @@ questions:
                 description: Cuda Machine Learning Image
               - value: mlOpenvinoImage
                 description: Openvino Machine Learning Image
+        - variable: logLevel
+          label: Log Level
+          description: |
+            The log level to use for Machine Learning.
+          schema:
+            type: string
+            default: log
+            enum:
+              - value: verbose
+                description: Verbose
+              - value: debug
+                description: Debug
+              - value: log
+                description: Log
+              - value: warn
+                description: Warn
+              - value: error
+                description: Error
+        - variable: huggingFaceEndpoint
+          label: Hugging Face Endpoint (Optional)
+          description: |
+            The Hugging Face endpoint to use for Machine Learning.
+          schema:
+            type: string
+            default: "" 
   - variable: immichNetwork
     label: ""
     group: Network Configuration

+ 6 - 2
library/ix-dev/community/immich/templates/_configuration.tpl

@@ -65,14 +65,14 @@ configmap:
   server-config:
     enabled: true
     data:
-      LOG_LEVEL: log
+      LOG_LEVEL: {{ .Values.immichConfig.logLevel | default "log" }}
       NODE_ENV: production
       SERVER_PORT: {{ .Values.immichNetwork.webuiPort | quote }}
 
   micro-config:
     enabled: true
     data:
-      LOG_LEVEL: log
+      LOG_LEVEL: {{ .Values.immichConfig.logLevel | default "log" }}
       NODE_ENV: production
       MICROSERVICES_PORT: {{ .Values.immichNetwork.microservicesPort | quote }}
       REVERSE_GEOCODING_DUMP_DIRECTORY: /microcache
@@ -82,6 +82,10 @@ configmap:
     enabled: true
     data:
       NODE_ENV: production
+      LOG_LEVEL: {{ .Values.immichConfig.logLevel | default "log" }}
+      {{- if .Values.immichConfig.huggingFaceEndpoint }}
+      HF_ENDPOINT: {{ .Values.immichConfig.huggingFaceEndpoint }}
+      {{- end }}
       MACHINE_LEARNING_PORT: {{ .Values.immichNetwork.machinelearningPort | quote }}
       MACHINE_LEARNING_CACHE_FOLDER: /mlcache
       TRANSFORMERS_CACHE: /mlcache

+ 3 - 1
library/ix-dev/community/immich/values.yaml

@@ -34,9 +34,11 @@ immichGPUContainers:
   machinelearning: true
 
 immichConfig:
-  publicLoginMessage: ''
+  publicLoginMessage: ""
   enableML: true
   mlImageType: mlImage
+  logLevel: log
+  huggingFaceEndpoint: ""
 
 immichNetwork:
   webuiPort: 30041