Przeglądaj źródła

Publish new changes in catalog

sonicaj 1 rok temu
rodzic
commit
bc270bafa9
29 zmienionych plików z 30 dodań i 187 usunięć
  1. 0 48
      community/immich/1.1.1/templates/_immich-proxy.tpl
  2. 0 45
      community/immich/1.1.1/templates/_immich-web.tpl
  3. 0 0
      community/immich/2.0.0/Chart.lock
  4. 3 3
      community/immich/2.0.0/Chart.yaml
  5. 0 0
      community/immich/2.0.0/README.md
  6. 0 0
      community/immich/2.0.0/app-readme.md
  7. 0 0
      community/immich/2.0.0/charts/common-1.2.3.tgz
  8. 0 0
      community/immich/2.0.0/ci/basic-values.yaml
  9. 0 0
      community/immich/2.0.0/ci/extra-values.yaml
  10. 0 0
      community/immich/2.0.0/ci/no-extra-values.yaml
  11. 0 0
      community/immich/2.0.0/ci/no-ml-values.yaml
  12. 0 0
      community/immich/2.0.0/ci/no-typesenes-values.yaml
  13. 2 14
      community/immich/2.0.0/ix_values.yaml
  14. 0 0
      community/immich/2.0.0/metadata.yaml
  15. 0 0
      community/immich/2.0.0/migrations/migrate
  16. 8 0
      community/immich/2.0.0/questions.yaml
  17. 0 0
      community/immich/2.0.0/templates/NOTES.txt
  18. 4 18
      community/immich/2.0.0/templates/_configuration.tpl
  19. 1 1
      community/immich/2.0.0/templates/_immich-machinelearning.tpl
  20. 1 1
      community/immich/2.0.0/templates/_immich-microservices.tpl
  21. 6 6
      community/immich/2.0.0/templates/_immich-server.tpl
  22. 1 1
      community/immich/2.0.0/templates/_immich-typesense.tpl
  23. 0 19
      community/immich/2.0.0/templates/_persistence.tpl
  24. 0 0
      community/immich/2.0.0/templates/_portal.tpl
  25. 0 0
      community/immich/2.0.0/templates/_postgres.tpl
  26. 0 0
      community/immich/2.0.0/templates/_redis.tpl
  27. 3 28
      community/immich/2.0.0/templates/_service.tpl
  28. 1 1
      community/immich/2.0.0/templates/_waitURL.tpl
  29. 0 2
      community/immich/2.0.0/templates/common.yaml

+ 0 - 48
community/immich/1.1.1/templates/_immich-proxy.tpl

@@ -1,48 +0,0 @@
-{{- define "immich.proxy.workload" -}}
-{{- $fullname := (include "ix.v1.common.lib.chart.names.fullname" $) -}}
-{{- $serverUrl := printf "http://%v-server:%v/server-info/ping" $fullname .Values.immichNetwork.serverPort -}}
-{{- $webUrl := printf "http://%v-web:%v/robots.txt" $fullname .Values.immichNetwork.webPort }}
-workload:
-  proxy:
-    enabled: true
-    type: Deployment
-    podSpec:
-      hostNetwork: false
-      containers:
-        proxy:
-          enabled: true
-          primary: true
-          imageSelector: proxyImage
-          securityContext:
-            runAsUser: 0
-            runAsGroup: 0
-            runAsNonRoot: false
-            readOnlyRootFilesystem: false
-            capabilities:
-              add:
-                - CHOWN
-                - SETUID
-                - SETGID
-          envFrom:
-            - configMapRef:
-                name: proxy-config
-          probes:
-            liveness:
-              enabled: true
-              type: http
-              path: /api/server-info/ping
-              port: 8080
-            readiness:
-              enabled: true
-              type: http
-              path: /api/server-info/ping
-              port: 8080
-            startup:
-              enabled: true
-              type: http
-              path: /api/server-info/ping
-              port: 8080
-      initContainers:
-      {{- include "immich.wait.init" (dict "url" $serverUrl) | indent 8 }}
-      {{- include "immich.wait.init" (dict "url" $webUrl) | indent 8 }}
-{{- end -}}

+ 0 - 45
community/immich/1.1.1/templates/_immich-web.tpl

@@ -1,45 +0,0 @@
-{{- define "immich.web.workload" -}}
-{{- $fullname := (include "ix.v1.common.lib.chart.names.fullname" $) -}}
-{{- $url := printf "http://%v-server:%v/server-info/ping" $fullname .Values.immichNetwork.serverPort }}
-workload:
-  web:
-    enabled: true
-    type: Deployment
-    podSpec:
-      hostNetwork: false
-      containers:
-        web:
-          enabled: true
-          primary: true
-          imageSelector: webImage
-          securityContext:
-            runAsUser: 0
-            runAsGroup: 0
-            runAsNonRoot: false
-            readOnlyRootFilesystem: false
-            capabilities:
-              add:
-                - SETUID
-                - SETGID
-          envFrom:
-            - configMapRef:
-                name: web-config
-          probes:
-            liveness:
-              enabled: true
-              type: http
-              path: /robots.txt
-              port: {{ .Values.immichNetwork.webPort }}
-            readiness:
-              enabled: true
-              type: http
-              path: /robots.txt
-              port: {{ .Values.immichNetwork.webPort }}
-            startup:
-              enabled: true
-              type: http
-              path: /robots.txt
-              port: {{ .Values.immichNetwork.webPort }}
-      initContainers:
-      {{- include "immich.wait.init" (dict "url" $url) | indent 8 }}
-{{- end -}}

+ 0 - 0
community/immich/1.1.1/Chart.lock → community/immich/2.0.0/Chart.lock


+ 3 - 3
community/immich/1.1.1/Chart.yaml → community/immich/2.0.0/Chart.yaml

@@ -1,11 +1,11 @@
 name: immich
-description: Immich
+description: Immich is a self-hosted photo and video backup solution directly from your mobile phone.
 annotations:
   title: Immich
 type: application
-version: 1.1.1
+version: 2.0.0
 apiVersion: v2
-appVersion: 1.87.0
+appVersion: 1.88.1
 kubeVersion: '>=1.16.0-0'
 maintainers:
   - name: truenas

+ 0 - 0
community/immich/1.1.1/README.md → community/immich/2.0.0/README.md


+ 0 - 0
community/immich/1.1.1/app-readme.md → community/immich/2.0.0/app-readme.md


+ 0 - 0
community/immich/1.1.1/charts/common-1.2.3.tgz → community/immich/2.0.0/charts/common-1.2.3.tgz


+ 0 - 0
community/immich/1.1.1/ci/basic-values.yaml → community/immich/2.0.0/ci/basic-values.yaml


+ 0 - 0
community/immich/1.1.1/ci/extra-values.yaml → community/immich/2.0.0/ci/extra-values.yaml


+ 0 - 0
community/immich/1.1.1/ci/no-extra-values.yaml → community/immich/2.0.0/ci/no-extra-values.yaml


+ 0 - 0
community/immich/1.1.1/ci/no-ml-values.yaml → community/immich/2.0.0/ci/no-ml-values.yaml


+ 0 - 0
community/immich/1.1.1/ci/no-typesenes-values.yaml → community/immich/2.0.0/ci/no-typesenes-values.yaml


+ 2 - 14
community/immich/1.1.1/ix_values.yaml → community/immich/2.0.0/ix_values.yaml

@@ -1,22 +1,12 @@
 image:
   repository: altran1502/immich-server
   pullPolicy: IfNotPresent
-  tag: v1.87.0
-
-webImage:
-  repository: altran1502/immich-web
-  pullPolicy: IfNotPresent
-  tag: v1.87.0
-
-proxyImage:
-  repository: altran1502/immich-proxy
-  pullPolicy: IfNotPresent
-  tag: v1.87.0
+  tag: v1.88.1
 
 mlImage:
   repository: altran1502/immich-machine-learning
   pullPolicy: IfNotPresent
-  tag: v1.87.0
+  tag: v1.88.1
 
 typesenseImage:
   repository: typesense/typesense
@@ -40,8 +30,6 @@ immichNetwork:
   # Not user configurable, will be hidden on UI
   # Putting it here in case it needs to be configurable
   # in the future.
-  serverPort: 32000
-  webPort: 32001
   machinelearningPort: 32002
   microservicesPort: 32003
   typesensePort: 32004

+ 0 - 0
community/immich/1.1.1/metadata.yaml → community/immich/2.0.0/metadata.yaml


+ 0 - 0
community/immich/1.1.1/migrations/migrate → community/immich/2.0.0/migrations/migrate


+ 8 - 0
community/immich/1.1.1/questions.yaml → community/immich/2.0.0/questions.yaml

@@ -156,6 +156,7 @@ questions:
                       schema:
                         type: hostpath
                         show_if: [["aclEnable", "=", false]]
+                        immutable: true
                         required: true
         - variable: library
           label: Immich Library Storage
@@ -234,6 +235,7 @@ questions:
                       schema:
                         type: hostpath
                         show_if: [["aclEnable", "=", false]]
+                        immutable: true
                         required: true
         - variable: thumbs
           label: Immich Thumbs Storage
@@ -312,6 +314,7 @@ questions:
                       schema:
                         type: hostpath
                         show_if: [["aclEnable", "=", false]]
+                        immutable: true
                         required: true
         - variable: profile
           label: Immich Profile Storage
@@ -390,6 +393,7 @@ questions:
                       schema:
                         type: hostpath
                         show_if: [["aclEnable", "=", false]]
+                        immutable: true
                         required: true
         - variable: video
           label: Immich Video Storage
@@ -468,6 +472,7 @@ questions:
                       schema:
                         type: hostpath
                         show_if: [["aclEnable", "=", false]]
+                        immutable: true
                         required: true
 
         - variable: pgData
@@ -555,6 +560,7 @@ questions:
                       schema:
                         type: hostpath
                         show_if: [["aclEnable", "=", false]]
+                        immutable: true
                         required: true
 
         - variable: pgBackup
@@ -642,6 +648,7 @@ questions:
                       schema:
                         type: hostpath
                         show_if: [["aclEnable", "=", false]]
+                        immutable: true
                         required: true
 
         - variable: additionalStorages
@@ -712,6 +719,7 @@ questions:
                             schema:
                               type: hostpath
                               show_if: [["aclEnable", "=", false]]
+                              immutable: true
                               required: true
                     - variable: ixVolumeConfig
                       label: ixVolume Configuration

+ 0 - 0
community/immich/1.1.1/templates/NOTES.txt → community/immich/2.0.0/templates/NOTES.txt


+ 4 - 18
community/immich/1.1.1/templates/_configuration.tpl → community/immich/2.0.0/templates/_configuration.tpl

@@ -87,7 +87,10 @@ configmap:
     data:
       LOG_LEVEL: log
       NODE_ENV: production
-      SERVER_PORT: {{ .Values.immichNetwork.serverPort | quote }}
+      SERVER_PORT: {{ .Values.immichNetwork.webuiPort | quote }}
+      {{- with .Values.immichConfig.publicLoginMessage }}
+      PUBLIC_LOGIN_PAGE_MESSAGE: {{ . | quote }}
+      {{- end }}
 
   micro-config:
     enabled: true
@@ -97,23 +100,6 @@ configmap:
       MICROSERVICES_PORT: {{ .Values.immichNetwork.microservicesPort | quote }}
       REVERSE_GEOCODING_DUMP_DIRECTORY: /microcache
 
-  web-config:
-    enabled: true
-    data:
-      NODE_ENV: production
-      PORT: {{ .Values.immichNetwork.webPort | quote }}
-      IMMICH_SERVER_URL: {{ printf "http://%v-server:%v" $fullname .Values.immichNetwork.serverPort }}
-      PUBLIC_IMMICH_SERVER_URL: {{ printf "http://%v-server:%v" $fullname .Values.immichNetwork.serverPort }}
-      {{- with .Values.immichConfig.publicLoginMessage }}
-      PUBLIC_LOGIN_PAGE_MESSAGE: {{ . | quote }}
-      {{- end }}
-
-  proxy-config:
-    enabled: true
-    data:
-      IMMICH_WEB_URL: {{ printf "http://%v-web:%v" $fullname .Values.immichNetwork.webPort }}
-      IMMICH_SERVER_URL: {{ printf "http://%v-server:%v" $fullname .Values.immichNetwork.serverPort }}
-
   {{- if .Values.immichConfig.enableML }}
   ml-config:
     enabled: true

+ 1 - 1
community/immich/1.1.1/templates/_immich-machinelearning.tpl → community/immich/2.0.0/templates/_immich-machinelearning.tpl

@@ -1,6 +1,6 @@
 {{- define "immich.machinelearning.workload" -}}
 {{- $fullname := (include "ix.v1.common.lib.chart.names.fullname" $) -}}
-{{- $url := printf "http://%v-server:%v/server-info/ping" $fullname .Values.immichNetwork.serverPort }}
+{{- $url := printf "http://%v:%v/api/server-info/ping" $fullname .Values.immichNetwork.webuiPort }}
 workload:
   machinelearning:
     enabled: true

+ 1 - 1
community/immich/1.1.1/templates/_immich-microservices.tpl → community/immich/2.0.0/templates/_immich-microservices.tpl

@@ -1,6 +1,6 @@
 {{- define "immich.microservices.workload" -}}
 {{- $fullname := (include "ix.v1.common.lib.chart.names.fullname" $) -}}
-{{- $url := printf "http://%v-server:%v/server-info/ping" $fullname .Values.immichNetwork.serverPort }}
+{{- $url := printf "http://%v:%v/api/server-info/ping" $fullname .Values.immichNetwork.webuiPort }}
 workload:
   microservices:
     enabled: true

+ 6 - 6
community/immich/1.1.1/templates/_immich-server.tpl → community/immich/2.0.0/templates/_immich-server.tpl

@@ -31,18 +31,18 @@ workload:
             liveness:
               enabled: true
               type: http
-              path: /server-info/ping
-              port: {{ .Values.immichNetwork.serverPort }}
+              path: /api/server-info/ping
+              port: {{ .Values.immichNetwork.webuiPort }}
             readiness:
               enabled: true
               type: http
-              path: /server-info/ping
-              port: {{ .Values.immichNetwork.serverPort }}
+              path: /api/server-info/ping
+              port: {{ .Values.immichNetwork.webuiPort }}
             startup:
               enabled: true
               type: http
-              path: /server-info/ping
-              port: {{ .Values.immichNetwork.serverPort }}
+              path: /api/server-info/ping
+              port: {{ .Values.immichNetwork.webuiPort }}
       initContainers:
       {{- include "ix.v1.common.app.postgresWait" (dict "name" "postgres-wait"
                                                         "secretName" "postgres-creds") | nindent 8 }}

+ 1 - 1
community/immich/1.1.1/templates/_immich-typesense.tpl → community/immich/2.0.0/templates/_immich-typesense.tpl

@@ -1,6 +1,6 @@
 {{- define "immich.typesense.workload" -}}
 {{- $fullname := (include "ix.v1.common.lib.chart.names.fullname" $) -}}
-{{- $url := printf "http://%v-server:%v/server-info/ping" $fullname .Values.immichNetwork.serverPort }}
+{{- $url := printf "http://%v:%v/api/server-info/ping" $fullname .Values.immichNetwork.webuiPort }}
 workload:
   typesense:
     enabled: true

+ 0 - 19
community/immich/1.1.1/templates/_persistence.tpl → community/immich/2.0.0/templates/_persistence.tpl

@@ -1,12 +1,4 @@
 {{- define "immich.persistence" -}}
-  {{- include "immich.storage.ci.migration" (dict "storage" .Values.immichStorage.pgData) }}
-  {{- include "immich.storage.ci.migration" (dict "storage" .Values.immichStorage.pgBackup) }}
-  {{- include "immich.storage.ci.migration" (dict "storage" .Values.immichStorage.library) }}
-  {{- include "immich.storage.ci.migration" (dict "storage" .Values.immichStorage.uploads) }}
-  {{- include "immich.storage.ci.migration" (dict "storage" .Values.immichStorage.thumbs) }}
-  {{- include "immich.storage.ci.migration" (dict "storage" .Values.immichStorage.profile) }}
-  {{- include "immich.storage.ci.migration" (dict "storage" .Values.immichStorage.video) }}
-
 persistence:
   {{/* Data */}}
   library:
@@ -62,7 +54,6 @@ persistence:
   {{- range $idx, $storage := .Values.immichStorage.additionalStorages }}
   {{ printf "immich-%v:" (int $idx) }}
     enabled: true
-    {{- include "immich.storage.ci.migration" (dict "storage" $storage) }}
     {{- include "ix.v1.common.app.storageOptions" (dict "storage" $storage) | nindent 4 }}
     targetSelector:
       server:
@@ -120,13 +111,3 @@ persistence:
             "pgBackup" .Values.immichStorage.pgBackup
       ) | nindent 2 }}
 {{- end -}}
-
-{{/* Can be removed on the next bump (1.1.0+), only used for CI values */}}
-{{- define "immich.storage.ci.migration" -}}
-  {{- $storage := .storage -}}
-
-  {{- if $storage.hostPath -}}
-    {{- $_ := set $storage "hostPathConfig" dict -}}
-    {{- $_ := set $storage.hostPathConfig "hostPath" $storage.hostPath -}}
-  {{- end -}}
-{{- end -}}

+ 0 - 0
community/immich/1.1.1/templates/_portal.tpl → community/immich/2.0.0/templates/_portal.tpl


+ 0 - 0
community/immich/1.1.1/templates/_postgres.tpl → community/immich/2.0.0/templates/_postgres.tpl


+ 0 - 0
community/immich/1.1.1/templates/_redis.tpl → community/immich/2.0.0/templates/_redis.tpl


+ 3 - 28
community/immich/1.1.1/templates/_service.tpl → community/immich/2.0.0/templates/_service.tpl

@@ -1,44 +1,19 @@
 {{- define "immich.service" -}}
 service:
-  proxy:
+  server:
     enabled: true
     primary: true
     type: NodePort
-    targetSelector: proxy
-    ports:
-      proxy:
-        enabled: true
-        primary: true
-        port: {{ .Values.immichNetwork.webuiPort }}
-        nodePort: {{ .Values.immichNetwork.webuiPort }}
-        protocol: http
-        targetPort: 8080
-        targetSelector: proxy
-
-  server:
-    enabled: true
-    type: ClusterIP
     targetSelector: server
     ports:
       server:
         enabled: true
         primary: true
-        port: {{ .Values.immichNetwork.serverPort }}
+        port: {{ .Values.immichNetwork.webuiPort }}
+        nodePort: {{ .Values.immichNetwork.webuiPort }}
         protocol: http
         targetSelector: server
 
-  web:
-    enabled: true
-    type: ClusterIP
-    targetSelector: web
-    ports:
-      web:
-        enabled: true
-        primary: true
-        port: {{ .Values.immichNetwork.webPort }}
-        protocol: http
-        targetSelector: web
-
   microservices:
     enabled: true
     type: ClusterIP

+ 1 - 1
community/immich/1.1.1/templates/_waitURL.tpl → community/immich/2.0.0/templates/_waitURL.tpl

@@ -9,7 +9,7 @@ wait-url:
     - -c
     - |
       echo "Pinging [{{ $url }}] until it is ready..."
-      until wget --spider --quiet "{{ $url }}"; do
+      until wget --spider --quiet --timeout=3 --tries=1 "{{ $url }}"; do
         echo "Waiting for [{{ $url }}] to be ready..."
         sleep 2
       done

+ 0 - 2
community/immich/1.1.1/templates/common.yaml → community/immich/2.0.0/templates/common.yaml

@@ -7,8 +7,6 @@
 {{- if .Values.immichConfig.enableML -}}
   {{- $_ := mustMergeOverwrite .Values (include "immich.machinelearning.workload" $ | fromYaml) -}}
 {{- end -}}
-{{- $_ := mustMergeOverwrite .Values (include "immich.web.workload" $ | fromYaml) -}}
-{{- $_ := mustMergeOverwrite .Values (include "immich.proxy.workload" $ | fromYaml) -}}
 {{- if .Values.immichConfig.enableTypesense -}}
   {{- $_ := mustMergeOverwrite .Values (include "immich.typesense.workload" $ | fromYaml) -}}
 {{- end -}}