chore(deps): update immich to v1.49.0 (minor) (#7487)

* chore(deps): update immich to v1.49.0

* Commit bumped Chart Version

Signed-off-by: TrueCharts-Bot <bot@truecharts.org>

* fix ml

* remove `-`

* default

* quote

* hardcode

* handle update

* ...

* Update charts/stable/immich/templates/_ml.tpl

Signed-off-by: Stavros Kois <47820033+stavros-k@users.noreply.github.com>

* needs new proebs

---------

Signed-off-by: TrueCharts-Bot <bot@truecharts.org>
Signed-off-by: Stavros Kois <47820033+stavros-k@users.noreply.github.com>
Co-authored-by: Stavros Kois <47820033+stavros-k@users.noreply.github.com>
This commit is contained in:
TrueCharts Bot
2023-02-24 17:02:48 +02:00
committed by GitHub
co-authored by Stavros Kois
parent e27a54a9ad
commit ef6921327d
3 changed files with 52 additions and 39 deletions
+2 -2
View File
@@ -1,5 +1,5 @@
apiVersion: v2 apiVersion: v2
appVersion: "1.47.3" appVersion: "1.49.0"
dependencies: dependencies:
- name: common - name: common
repository: https://library-charts.truecharts.org repository: https://library-charts.truecharts.org
@@ -26,7 +26,7 @@ name: immich
sources: sources:
- https://github.com/truecharts/charts/tree/master/charts/stable/immich - https://github.com/truecharts/charts/tree/master/charts/stable/immich
- https://github.com/immich-app/immich - https://github.com/immich-app/immich
version: 5.0.14 version: 5.0.15
annotations: annotations:
truecharts.org/catagories: | truecharts.org/catagories: |
- media - media
+42 -33
View File
@@ -12,11 +12,20 @@ securityContext:
readOnlyRootFilesystem: {{ .Values.securityContext.readOnlyRootFilesystem }} readOnlyRootFilesystem: {{ .Values.securityContext.readOnlyRootFilesystem }}
runAsNonRoot: {{ .Values.securityContext.runAsNonRoot }} runAsNonRoot: {{ .Values.securityContext.runAsNonRoot }}
command: command:
{{- if .Values.persistence.modelcache }}{{/* Only change command after upgrade */}}
- python
- src/main.py
{{- else }}
- /bin/sh - /bin/sh
- ./entrypoint.sh - ./entrypoint.sh
{{- end }}
volumeMounts: volumeMounts:
- name: uploads - name: uploads
mountPath: {{ .Values.persistence.uploads.mountPath }} mountPath: {{ .Values.persistence.uploads.mountPath }}
{{- if .Values.persistence.modelcache }}
- name: modelcache
mountPath: {{ .Values.persistence.modelcache.mountPath }}
{{- end }}
envFrom: envFrom:
- configMapRef: - configMapRef:
name: '{{ include "tc.common.names.fullname" . }}-common-config' name: '{{ include "tc.common.names.fullname" . }}-common-config'
@@ -24,37 +33,37 @@ envFrom:
name: '{{ include "tc.common.names.fullname" . }}-server-config' name: '{{ include "tc.common.names.fullname" . }}-server-config'
- secretRef: - secretRef:
name: '{{ include "tc.common.names.fullname" . }}-immich-secret' name: '{{ include "tc.common.names.fullname" . }}-immich-secret'
readinessProbe: #readinessProbe:
exec: # exec:
command: # command:
- /bin/sh # - /bin/sh
- -c # - -c
- | # - |
grep -q main.js /proc/1/cmdline || exit 1 # grep -q main.js /proc/1/cmdline || exit 1
initialDelaySeconds: {{ .Values.probes.readiness.spec.initialDelaySeconds }} # initialDelaySeconds: {{ .Values.probes.readiness.spec.initialDelaySeconds }}
timeoutSeconds: {{ .Values.probes.readiness.spec.timeoutSeconds }} # timeoutSeconds: {{ .Values.probes.readiness.spec.timeoutSeconds }}
periodSeconds: {{ .Values.probes.readiness.spec.periodSeconds }} # periodSeconds: {{ .Values.probes.readiness.spec.periodSeconds }}
failureThreshold: {{ .Values.probes.readiness.spec.failureThreshold }} # failureThreshold: {{ .Values.probes.readiness.spec.failureThreshold }}
livenessProbe: #livenessProbe:
exec: # exec:
command: # command:
- /bin/sh # - /bin/sh
- -c # - -c
- | # - |
grep -q main.js /proc/1/cmdline || exit 1 # grep -q main.js /proc/1/cmdline || exit 1
initialDelaySeconds: {{ .Values.probes.liveness.spec.initialDelaySeconds }} # initialDelaySeconds: {{ .Values.probes.liveness.spec.initialDelaySeconds }}
timeoutSeconds: {{ .Values.probes.liveness.spec.timeoutSeconds }} # timeoutSeconds: {{ .Values.probes.liveness.spec.timeoutSeconds }}
periodSeconds: {{ .Values.probes.liveness.spec.periodSeconds }} # periodSeconds: {{ .Values.probes.liveness.spec.periodSeconds }}
failureThreshold: {{ .Values.probes.liveness.spec.failureThreshold }} # failureThreshold: {{ .Values.probes.liveness.spec.failureThreshold }}
startupProbe: #startupProbe:
exec: # exec:
command: # command:
- /bin/sh # - /bin/sh
- -c # - -c
- | # - |
grep -q main.js /proc/1/cmdline || exit 1 # grep -q main.js /proc/1/cmdline || exit 1
initialDelaySeconds: {{ .Values.probes.startup.spec.initialDelaySeconds }} # initialDelaySeconds: {{ .Values.probes.startup.spec.initialDelaySeconds }}
timeoutSeconds: {{ .Values.probes.startup.spec.timeoutSeconds }} # timeoutSeconds: {{ .Values.probes.startup.spec.timeoutSeconds }}
periodSeconds: {{ .Values.probes.startup.spec.periodSeconds }} # periodSeconds: {{ .Values.probes.startup.spec.periodSeconds }}
failureThreshold: {{ .Values.probes.startup.spec.failureThreshold }} # failureThreshold: {{ .Values.probes.startup.spec.failureThreshold }}
{{- end -}} {{- end -}}
+8 -4
View File
@@ -1,21 +1,21 @@
image: image:
repository: tccr.io/truecharts/immich-server repository: tccr.io/truecharts/immich-server
tag: 1.47.3@sha256:48066ea9d1c2e3c2a846f9c2cab90ed5eb731cfe173d7f941314079044f07602 tag: 1.49.0@sha256:baa95afb670ee0e8d013a29eacff6ddc96751998854ba6882c242ce257ac8fbd
pullPolicy: IfNotPresent pullPolicy: IfNotPresent
mlImage: mlImage:
repository: tccr.io/truecharts/immich-ml repository: tccr.io/truecharts/immich-ml
tag: 1.47.3@sha256:746119c39075f7549f571d6bbd1cd05fd0a3ce8a42e0d9a6e83fb0d8c33f0212 tag: 1.49.0@sha256:779e1d486d7ac5a1ed98b67b6f4a556e8e5baf334e4f0b9480315226384922c4
pullPolicy: IfNotPresent pullPolicy: IfNotPresent
webImage: webImage:
repository: tccr.io/truecharts/immich-web repository: tccr.io/truecharts/immich-web
tag: 1.47.3@sha256:d36521e9682dcf8ce7ff8fd169e2d13d0e53548ab2c167dbe7f53393c5dc3878 tag: 1.49.0@sha256:983a1f8b736ba337e7370fa19232febf0469c7748f670f15fb0ed4f35f9d88af
pullPolicy: IfNotPresent pullPolicy: IfNotPresent
proxyImage: proxyImage:
repository: tccr.io/truecharts/immich-proxy repository: tccr.io/truecharts/immich-proxy
tag: 1.47.3@sha256:f5f77ccded5e065ebc4ee8020e031e7751f42fbe29afa8ae20dab7c23cceeeac tag: 1.49.0@sha256:08e467d09e6f4abf10e4ea93e0310e6bc323e4ea6b0a6c05fb128bb46ed38578
pullPolicy: IfNotPresent pullPolicy: IfNotPresent
command: command:
@@ -74,6 +74,10 @@ persistence:
uploads: uploads:
enabled: true enabled: true
mountPath: /usr/src/app/upload mountPath: /usr/src/app/upload
modelcache:
enabled: true
type: emptyDir
mountPath: /cache
postgresql: postgresql:
enabled: true enabled: true