diff --git a/library/ix-dev/community/immich/Chart.lock b/library/ix-dev/community/immich/Chart.lock index 33d07d09659..20d450a4136 100644 --- a/library/ix-dev/community/immich/Chart.lock +++ b/library/ix-dev/community/immich/Chart.lock @@ -1,6 +1,6 @@ dependencies: - name: common repository: file://../../../common - version: 1.2.0 -digest: sha256:a87a6988cedfc3f8a90eb308dffaaeaa1cbd0cad31c20e15b1147084360b9ec1 -generated: "2023-10-29T21:49:28.244979676+02:00" + version: 1.2.1 +digest: sha256:d695592ea5213fe64453171205ca326015d02df3888a7858becc0c733b0de4c7 +generated: "2023-11-02T17:55:14.736911343+02:00" diff --git a/library/ix-dev/community/immich/Chart.yaml b/library/ix-dev/community/immich/Chart.yaml index 65ec18e3e1d..fb5b6e9c3e4 100644 --- a/library/ix-dev/community/immich/Chart.yaml +++ b/library/ix-dev/community/immich/Chart.yaml @@ -3,7 +3,7 @@ description: Immich annotations: title: Immich type: application -version: 1.0.33 +version: 1.0.34 apiVersion: v2 appVersion: 1.84.0 kubeVersion: '>=1.16.0-0' @@ -14,7 +14,7 @@ maintainers: dependencies: - name: common repository: file://../../../common - version: 1.2.0 + version: 1.2.1 home: https://immich.app icon: https://media.sys.truenas.net/apps/immich/icons/icon.svg sources: diff --git a/library/ix-dev/community/immich/charts/common-1.2.0.tgz b/library/ix-dev/community/immich/charts/common-1.2.0.tgz deleted file mode 100644 index adac50fa88a..00000000000 Binary files a/library/ix-dev/community/immich/charts/common-1.2.0.tgz and /dev/null differ diff --git a/library/ix-dev/community/immich/charts/common-1.2.1.tgz b/library/ix-dev/community/immich/charts/common-1.2.1.tgz new file mode 100644 index 00000000000..cffe6123ae0 Binary files /dev/null and b/library/ix-dev/community/immich/charts/common-1.2.1.tgz differ diff --git a/library/ix-dev/community/immich/templates/_persistence.tpl b/library/ix-dev/community/immich/templates/_persistence.tpl index 39e198fa404..ccfb7048892 100644 --- a/library/ix-dev/community/immich/templates/_persistence.tpl +++ b/library/ix-dev/community/immich/templates/_persistence.tpl @@ -117,34 +117,8 @@ persistence: mountPath: /tmp {{/* Database */}} - postgresdata: - enabled: true - type: {{ .Values.immichStorage.pgData.type }} - datasetName: {{ .Values.immichStorage.pgData.datasetName | default "" }} - hostPath: {{ .Values.immichStorage.pgData.hostPath | default "" }} - targetSelector: - # Postgres pod - postgres: - # Postgres container - postgres: - mountPath: /var/lib/postgresql/data - # Postgres - Permissions container - # Different than the 01-permissions - permissions: - mountPath: /mnt/directories/postgres_data - postgresbackup: - enabled: true - type: {{ .Values.immichStorage.pgBackup.type }} - datasetName: {{ .Values.immichStorage.pgBackup.datasetName | default "" }} - hostPath: {{ .Values.immichStorage.pgBackup.hostPath | default "" }} - targetSelector: - # Postgres backup pod - postgresbackup: - # Postgres backup container - postgresbackup: - mountPath: /postgres_backup - # Postgres - Permissions container - # Different than the 01-permissions - permissions: - mountPath: /mnt/directories/postgres_backup + {{- include "ix.v1.common.app.postgresPersistence" + (dict "pgData" .Values.immichStorage.pgData + "pgBackup" .Values.immichStorage.pgBackup + ) | nindent 2 }} {{- end -}} diff --git a/library/ix-dev/community/immich/templates/_service.tpl b/library/ix-dev/community/immich/templates/_service.tpl index 5c8333143f6..bc1f83a5cfc 100644 --- a/library/ix-dev/community/immich/templates/_service.tpl +++ b/library/ix-dev/community/immich/templates/_service.tpl @@ -91,15 +91,6 @@ service: targetPort: 6379 targetSelector: redis - postgres: - enabled: true - type: ClusterIP - targetSelector: postgres - ports: - postgres: - enabled: true - primary: true - port: 5432 - targetPort: 5432 - targetSelector: postgres + {{- include "ix.v1.common.app.postgresService" $ | nindent 2 }} + {{- end -}}