Publish new changes in catalog

This commit is contained in:
sonicaj
2023-07-10 12:32:04 +00:00
parent 2f64695618
commit f392cef39c
28 changed files with 62 additions and 2 deletions

View File

@@ -3,7 +3,7 @@ description: Immich
annotations:
title: Immich
type: application
version: 1.0.1
version: 1.0.2
apiVersion: v2
appVersion: '1.66.1'
kubeVersion: '>=1.16.0-0'

View File

@@ -0,0 +1,25 @@
immichStorage:
uploads:
type: hostPath
hostPath: /mnt/{{ .Release.Name }}/uploads
library:
type: hostPath
hostPath: /mnt/{{ .Release.Name }}/library
thumbs:
type: hostPath
hostPath: /mnt/{{ .Release.Name }}/thumbs
profile:
type: hostPath
hostPath: /mnt/{{ .Release.Name }}/profile
video:
type: hostPath
hostPath: /mnt/{{ .Release.Name }}/video
additionalLibraries:
- hostPath: /mnt/{{ .Release.Name }}/additionalLibrary1
- hostPath: /mnt/{{ .Release.Name }}/additionalLibrary2
pgData:
type: hostPath
hostPath: /mnt/{{ .Release.Name }}/pgData
pgBackup:
type: hostPath
hostPath: /mnt/{{ .Release.Name }}/pgBackup

View File

@@ -62,6 +62,7 @@ immichStorage:
video:
type: ixVolume
datasetName: video
additionalLibraries: []
pgData:
type: ixVolume
datasetName: pgData

View File

@@ -291,6 +291,27 @@ questions:
show_if: [["type", "=", "hostPath"]]
immutable: true
required: true
- variable: additionalLibraries
label: Additional Libraries
description: |
Additional libraries for Immich.</br>
Internal mountPath will be the same as your hostPath</br>
https://immich.app/docs/features/read-only-gallery
schema:
type: list
default: []
items:
- variable: storageEntry
label: Storage Entry
schema:
type: dict
attrs:
- variable: hostPath
label: Host Path
description: The host path to use for storage.
schema:
type: hostpath
required: true
- variable: pgData
label: Immich Postgres Data Storage
description: The path to store Immich Postgres Data.

View File

@@ -61,7 +61,20 @@ persistence:
microservices:
microservices:
mountPath: /usr/src/app/upload/encoded-video
{{- range $idx, $storage := .Values.immichStorage.additionalLibraries }}
{{ printf "immich-%v" (int $idx) }}:
enabled: true
type: hostPath
hostPath: {{ $storage.hostPath | default "" }}
# Host path and mount path MUST be the same
targetSelector:
server:
server:
mountPath: {{ $storage.hostPath }}
microservices:
microservices:
mountPath: {{ $storage.hostPath }}
{{- end }}
{{/* Caches */}}
microcache:
enabled: true