diff --git a/community/immich/1.0.35/Chart.lock b/community/immich/1.0.35/Chart.lock deleted file mode 100644 index ac37f85ed2..0000000000 --- a/community/immich/1.0.35/Chart.lock +++ /dev/null @@ -1,6 +0,0 @@ -dependencies: -- name: common - repository: file://../../../common - version: 1.2.2 -digest: sha256:fb077cb81f6acecd5c9e6adc22a18e156f780cd78f27198cdb47810f95364b56 -generated: "2023-11-09T09:51:08.676733946+02:00" diff --git a/community/immich/1.0.35/charts/common-1.2.2.tgz b/community/immich/1.0.35/charts/common-1.2.2.tgz deleted file mode 100644 index 24ab8f5ea9..0000000000 Binary files a/community/immich/1.0.35/charts/common-1.2.2.tgz and /dev/null differ diff --git a/community/immich/1.0.35/ci/basic-values.yaml b/community/immich/1.0.35/ci/basic-values.yaml deleted file mode 100644 index c19bb28d0d..0000000000 --- a/community/immich/1.0.35/ci/basic-values.yaml +++ /dev/null @@ -1,22 +0,0 @@ -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 - pgData: - type: hostPath - hostPath: /mnt/{{ .Release.Name }}/pgData - pgBackup: - type: hostPath - hostPath: /mnt/{{ .Release.Name }}/pgBackup diff --git a/community/immich/1.0.35/ci/extra-values.yaml b/community/immich/1.0.35/ci/extra-values.yaml deleted file mode 100644 index 1d79415c15..0000000000 --- a/community/immich/1.0.35/ci/extra-values.yaml +++ /dev/null @@ -1,25 +0,0 @@ -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 diff --git a/community/immich/1.0.35/ci/no-extra-values.yaml b/community/immich/1.0.35/ci/no-extra-values.yaml deleted file mode 100644 index ec9d1d0fd1..0000000000 --- a/community/immich/1.0.35/ci/no-extra-values.yaml +++ /dev/null @@ -1,26 +0,0 @@ -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 - pgData: - type: hostPath - hostPath: /mnt/{{ .Release.Name }}/pgData - pgBackup: - type: hostPath - hostPath: /mnt/{{ .Release.Name }}/pgBackup - -immichConfig: - enableML: false - enableTypesense: false diff --git a/community/immich/1.0.35/ci/no-ml-values.yaml b/community/immich/1.0.35/ci/no-ml-values.yaml deleted file mode 100644 index 6708cd5e09..0000000000 --- a/community/immich/1.0.35/ci/no-ml-values.yaml +++ /dev/null @@ -1,25 +0,0 @@ -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 - pgData: - type: hostPath - hostPath: /mnt/{{ .Release.Name }}/pgData - pgBackup: - type: hostPath - hostPath: /mnt/{{ .Release.Name }}/pgBackup - -immichConfig: - enableML: false diff --git a/community/immich/1.0.35/ci/no-typesenes-values.yaml b/community/immich/1.0.35/ci/no-typesenes-values.yaml deleted file mode 100644 index 16749e2525..0000000000 --- a/community/immich/1.0.35/ci/no-typesenes-values.yaml +++ /dev/null @@ -1,25 +0,0 @@ -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 - pgData: - type: hostPath - hostPath: /mnt/{{ .Release.Name }}/pgData - pgBackup: - type: hostPath - hostPath: /mnt/{{ .Release.Name }}/pgBackup - -immichConfig: - enableTypesense: false diff --git a/community/immich/1.0.35/questions.yaml b/community/immich/1.0.35/questions.yaml deleted file mode 100644 index d5f73ba426..0000000000 --- a/community/immich/1.0.35/questions.yaml +++ /dev/null @@ -1,425 +0,0 @@ -groups: - - name: Immich Configuration - description: Configure Immich - - name: Network Configuration - description: Configure Network for Immich - - name: Storage Configuration - description: Configure Storage for Immich - - name: Resources Configuration - description: Configure Resources for Immich - -portals: - web_portal: - protocols: - - "$kubernetes-resource_configmap_portal_protocol" - host: - - "$kubernetes-resource_configmap_portal_host" - ports: - - "$kubernetes-resource_configmap_portal_port" - path: "$kubernetes-resource_configmap_portal_path" - -questions: - - variable: TZ - group: Immich Configuration - label: Timezone - schema: - type: string - default: Etc/UTC - required: true - $ref: - - definitions/timezone - - - variable: immichConfig - label: "" - group: Immich Configuration - schema: - type: dict - attrs: - - variable: publicLoginMessage - label: Public Login Message - description: | - The message that will be displayed on the login page. - schema: - type: string - default: "" - - variable: enableML - label: Enable Machine Learning - description: | - Enable Machine Learning - schema: - type: boolean - default: true - - variable: enableTypesense - label: Enable Typesense - description: | - Enable Typesense - schema: - type: boolean - default: true - - - variable: immichNetwork - label: "" - group: Network Configuration - schema: - type: dict - attrs: - - variable: webuiPort - label: Web Port - description: The port for the Immich WebUI. - schema: - type: int - default: 30041 - min: 9000 - max: 65535 - required: true - - - variable: immichStorage - label: "" - group: Storage Configuration - schema: - type: dict - attrs: - - variable: uploads - label: Immich Uploads Storage - description: The path to store Immich uploads. - schema: - type: dict - attrs: - - variable: type - label: Type - description: | - ixVolume: Is dataset created automatically by the system.
- Host Path: Is a path that already exists on the system. - schema: - type: string - required: true - immutable: true - default: ixVolume - enum: - - value: hostPath - description: Host Path (Path that already exists on the system) - - value: ixVolume - description: ixVolume (Dataset created automatically by the system) - - variable: datasetName - label: Dataset Name - schema: - type: string - show_if: [["type", "=", "ixVolume"]] - required: true - hidden: true - immutable: true - default: uploads - $ref: - - "normalize/ixVolume" - - variable: hostPath - label: Host Path - schema: - type: hostpath - show_if: [["type", "=", "hostPath"]] - immutable: true - required: true - - variable: library - label: Immich Library Storage - description: The path to store Immich library. - schema: - type: dict - attrs: - - variable: type - label: Type - description: | - ixVolume: Is dataset created automatically by the system.
- Host Path: Is a path that already exists on the system. - schema: - type: string - required: true - immutable: true - default: ixVolume - enum: - - value: hostPath - description: Host Path (Path that already exists on the system) - - value: ixVolume - description: ixVolume (Dataset created automatically by the system) - - variable: datasetName - label: Dataset Name - schema: - type: string - show_if: [["type", "=", "ixVolume"]] - required: true - hidden: true - immutable: true - default: library - $ref: - - "normalize/ixVolume" - - variable: hostPath - label: Host Path - schema: - type: hostpath - show_if: [["type", "=", "hostPath"]] - immutable: true - required: true - - variable: thumbs - label: Immich Thumbs Storage - description: The path to store Immich Thumbs. - schema: - type: dict - attrs: - - variable: type - label: Type - description: | - ixVolume: Is dataset created automatically by the system.
- Host Path: Is a path that already exists on the system. - schema: - type: string - required: true - immutable: true - default: ixVolume - enum: - - value: hostPath - description: Host Path (Path that already exists on the system) - - value: ixVolume - description: ixVolume (Dataset created automatically by the system) - - variable: datasetName - label: Dataset Name - schema: - type: string - show_if: [["type", "=", "ixVolume"]] - required: true - hidden: true - immutable: true - default: thumbs - $ref: - - "normalize/ixVolume" - - variable: hostPath - label: Host Path - schema: - type: hostpath - show_if: [["type", "=", "hostPath"]] - immutable: true - required: true - - variable: profile - label: Immich Profile Storage - description: The path to store Immich Profile. - schema: - type: dict - attrs: - - variable: type - label: Type - description: | - ixVolume: Is dataset created automatically by the system.
- Host Path: Is a path that already exists on the system. - schema: - type: string - required: true - immutable: true - default: ixVolume - enum: - - value: hostPath - description: Host Path (Path that already exists on the system) - - value: ixVolume - description: ixVolume (Dataset created automatically by the system) - - variable: datasetName - label: Dataset Name - schema: - type: string - show_if: [["type", "=", "ixVolume"]] - required: true - hidden: true - immutable: true - default: profile - $ref: - - "normalize/ixVolume" - - variable: hostPath - label: Host Path - schema: - type: hostpath - show_if: [["type", "=", "hostPath"]] - immutable: true - required: true - - variable: video - label: Immich Video Storage - description: The path to store Immich Video. - schema: - type: dict - attrs: - - variable: type - label: Type - description: | - ixVolume: Is dataset created automatically by the system.
- Host Path: Is a path that already exists on the system. - schema: - type: string - required: true - immutable: true - default: ixVolume - enum: - - value: hostPath - description: Host Path (Path that already exists on the system) - - value: ixVolume - description: ixVolume (Dataset created automatically by the system) - - variable: datasetName - label: Dataset Name - schema: - type: string - show_if: [["type", "=", "ixVolume"]] - required: true - hidden: true - immutable: true - default: video - $ref: - - "normalize/ixVolume" - - variable: hostPath - label: Host Path - schema: - type: hostpath - show_if: [["type", "=", "hostPath"]] - immutable: true - required: true - - variable: additionalLibraries - label: Additional Libraries - description: | - Additional libraries for Immich.
- Internal mountPath will be the same as your hostPath
- 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. - schema: - type: dict - attrs: - - variable: type - label: Type - description: | - ixVolume: Is dataset created automatically by the system.
- Host Path: Is a path that already exists on the system. - schema: - type: string - required: true - immutable: true - default: ixVolume - enum: - - value: hostPath - description: Host Path (Path that already exists on the system) - - value: ixVolume - description: ixVolume (Dataset created automatically by the system) - - variable: datasetName - label: Dataset Name - schema: - type: string - show_if: [["type", "=", "ixVolume"]] - required: true - hidden: true - immutable: true - default: pgData - $ref: - - "normalize/ixVolume" - - variable: hostPath - label: Host Path - schema: - type: hostpath - show_if: [["type", "=", "hostPath"]] - immutable: true - required: true - - variable: pgBackup - label: Immich Postgres Backup Storage - description: The path to store Immich Postgres Backup. - schema: - type: dict - attrs: - - variable: type - label: Type - description: | - ixVolume: Is dataset created automatically by the system.
- Host Path: Is a path that already exists on the system. - schema: - type: string - required: true - immutable: true - default: ixVolume - enum: - - value: hostPath - description: Host Path (Path that already exists on the system) - - value: ixVolume - description: ixVolume (Dataset created automatically by the system) - - variable: datasetName - label: Dataset Name - schema: - type: string - show_if: [["type", "=", "ixVolume"]] - required: true - hidden: true - immutable: true - default: pgBackup - $ref: - - "normalize/ixVolume" - - variable: hostPath - label: Host Path - schema: - type: hostpath - show_if: [["type", "=", "hostPath"]] - immutable: true - required: true - - - variable: resources - label: "" - group: Resources Configuration - schema: - type: dict - attrs: - - variable: limits - label: Limits - schema: - type: dict - attrs: - - variable: cpu - label: CPU - description: CPU limit for Immich. - schema: - type: string - max_length: 6 - valid_chars: '^(0\.[1-9]|[1-9][0-9]*)(\.[0-9]|m?)$' - valid_chars_error: | - Valid CPU limit formats are
- - Plain Integer - eg. 1
- - Float - eg. 0.5
- - Milicpu - eg. 500m - default: "4000m" - required: true - - variable: memory - label: Memory - description: Memory limit for Immich. - schema: - type: string - max_length: 12 - valid_chars: '^[1-9][0-9]*([EPTGMK]i?|e[0-9]+)?$' - valid_chars_error: | - Valid Memory limit formats are
- - Suffixed with E/P/T/G/M/K - eg. 1G
- - Suffixed with Ei/Pi/Ti/Gi/Mi/Ki - eg. 1Gi
- - Plain Integer in bytes - eg. 1024
- - Exponent - eg. 134e6 - default: "8Gi" - required: true - - - variable: immichGPU - group: Resources Configuration - label: GPU Configuration - schema: - type: dict - $ref: - - "definitions/gpuConfiguration" - attrs: [] diff --git a/community/immich/1.1.0/Chart.lock b/community/immich/1.1.0/Chart.lock new file mode 100644 index 0000000000..6cdd0931b6 --- /dev/null +++ b/community/immich/1.1.0/Chart.lock @@ -0,0 +1,6 @@ +dependencies: +- name: common + repository: file://../../../common + version: 1.2.3 +digest: sha256:e6ff49b06bf5d4d159e505ae6d153f36cd46170bb519caf90462cd5caebfd0fb +generated: "2023-11-15T13:21:05.261510633+02:00" diff --git a/community/immich/1.0.35/Chart.yaml b/community/immich/1.1.0/Chart.yaml similarity index 90% rename from community/immich/1.0.35/Chart.yaml rename to community/immich/1.1.0/Chart.yaml index 9193beae3e..1ebb343ab0 100644 --- a/community/immich/1.0.35/Chart.yaml +++ b/community/immich/1.1.0/Chart.yaml @@ -3,9 +3,9 @@ description: Immich annotations: title: Immich type: application -version: 1.0.35 +version: 1.1.0 apiVersion: v2 -appVersion: 1.85.0 +appVersion: 1.87.0 kubeVersion: '>=1.16.0-0' maintainers: - name: truenas @@ -14,7 +14,7 @@ maintainers: dependencies: - name: common repository: file://../../../common - version: 1.2.2 + version: 1.2.3 home: https://immich.app icon: https://media.sys.truenas.net/apps/immich/icons/icon.svg sources: diff --git a/community/immich/1.0.35/README.md b/community/immich/1.1.0/README.md similarity index 100% rename from community/immich/1.0.35/README.md rename to community/immich/1.1.0/README.md diff --git a/community/immich/1.0.35/app-readme.md b/community/immich/1.1.0/app-readme.md similarity index 100% rename from community/immich/1.0.35/app-readme.md rename to community/immich/1.1.0/app-readme.md diff --git a/community/immich/1.1.0/charts/common-1.2.3.tgz b/community/immich/1.1.0/charts/common-1.2.3.tgz new file mode 100644 index 0000000000..eb5c29b376 Binary files /dev/null and b/community/immich/1.1.0/charts/common-1.2.3.tgz differ diff --git a/community/immich/1.1.0/ci/basic-values.yaml b/community/immich/1.1.0/ci/basic-values.yaml new file mode 100644 index 0000000000..df391085fb --- /dev/null +++ b/community/immich/1.1.0/ci/basic-values.yaml @@ -0,0 +1,15 @@ +immichStorage: + uploads: + type: pvc + library: + type: pvc + thumbs: + type: pvc + profile: + type: pvc + video: + type: pvc + pgData: + type: pvc + pgBackup: + type: emptyDir diff --git a/community/immich/1.1.0/ci/extra-values.yaml b/community/immich/1.1.0/ci/extra-values.yaml new file mode 100644 index 0000000000..3389aa4a51 --- /dev/null +++ b/community/immich/1.1.0/ci/extra-values.yaml @@ -0,0 +1,18 @@ +immichStorage: + uploads: + type: pvc + library: + type: pvc + thumbs: + type: pvc + profile: + type: pvc + video: + type: pvc + pgData: + type: pvc + pgBackup: + type: emptyDir + additionalLibraries: + - hostPath: /mnt/{{ .Release.Name }}/additionalLibrary1 + - hostPath: /mnt/{{ .Release.Name }}/additionalLibrary2 diff --git a/community/immich/1.1.0/ci/no-extra-values.yaml b/community/immich/1.1.0/ci/no-extra-values.yaml new file mode 100644 index 0000000000..57ca896eed --- /dev/null +++ b/community/immich/1.1.0/ci/no-extra-values.yaml @@ -0,0 +1,19 @@ +immichStorage: + uploads: + type: pvc + library: + type: pvc + thumbs: + type: pvc + profile: + type: pvc + video: + type: pvc + pgData: + type: pvc + pgBackup: + type: emptyDir + +immichConfig: + enableML: false + enableTypesense: false diff --git a/community/immich/1.1.0/ci/no-ml-values.yaml b/community/immich/1.1.0/ci/no-ml-values.yaml new file mode 100644 index 0000000000..15632eb52e --- /dev/null +++ b/community/immich/1.1.0/ci/no-ml-values.yaml @@ -0,0 +1,18 @@ +immichStorage: + uploads: + type: pvc + library: + type: pvc + thumbs: + type: pvc + profile: + type: pvc + video: + type: pvc + pgData: + type: pvc + pgBackup: + type: emptyDir + +immichConfig: + enableML: false diff --git a/community/immich/1.1.0/ci/no-typesenes-values.yaml b/community/immich/1.1.0/ci/no-typesenes-values.yaml new file mode 100644 index 0000000000..fa4e8110a9 --- /dev/null +++ b/community/immich/1.1.0/ci/no-typesenes-values.yaml @@ -0,0 +1,18 @@ +immichStorage: + uploads: + type: pvc + library: + type: pvc + thumbs: + type: pvc + profile: + type: pvc + video: + type: pvc + pgData: + type: pvc + pgBackup: + type: emptyDir + +immichConfig: + enableTypesense: false diff --git a/community/immich/1.0.35/ix_values.yaml b/community/immich/1.1.0/ix_values.yaml similarity index 80% rename from community/immich/1.0.35/ix_values.yaml rename to community/immich/1.1.0/ix_values.yaml index aed7debf62..87ce0077a9 100644 --- a/community/immich/1.0.35/ix_values.yaml +++ b/community/immich/1.1.0/ix_values.yaml @@ -1,22 +1,22 @@ image: repository: altran1502/immich-server pullPolicy: IfNotPresent - tag: v1.85.0 + tag: v1.87.0 webImage: repository: altran1502/immich-web pullPolicy: IfNotPresent - tag: v1.85.0 + tag: v1.87.0 proxyImage: repository: altran1502/immich-proxy pullPolicy: IfNotPresent - tag: v1.85.0 + tag: v1.87.0 mlImage: repository: altran1502/immich-machine-learning pullPolicy: IfNotPresent - tag: v1.85.0 + tag: v1.87.0 typesenseImage: repository: typesense/typesense @@ -49,26 +49,33 @@ immichNetwork: immichStorage: uploads: type: ixVolume - datasetName: uploads + ixVolumeConfig: + datasetName: uploads library: type: ixVolume - datasetName: library + ixVolumeConfig: + datasetName: library thumbs: type: ixVolume - datasetName: thumbs + ixVolumeConfig: + datasetName: thumbs profile: type: ixVolume - datasetName: profile + ixVolumeConfig: + datasetName: profile video: type: ixVolume - datasetName: video + ixVolumeConfig: + datasetName: video additionalLibraries: [] pgData: type: ixVolume - datasetName: pgData + ixVolumeConfig: + datasetName: pgData pgBackup: type: ixVolume - datasetName: pgBackup + ixVolumeConfig: + datasetName: pgBackup notes: custom: | diff --git a/community/immich/1.0.35/metadata.yaml b/community/immich/1.1.0/metadata.yaml similarity index 100% rename from community/immich/1.0.35/metadata.yaml rename to community/immich/1.1.0/metadata.yaml diff --git a/community/immich/1.1.0/migrations/migrate b/community/immich/1.1.0/migrations/migrate new file mode 100644 index 0000000000..ff855ee37a --- /dev/null +++ b/community/immich/1.1.0/migrations/migrate @@ -0,0 +1,80 @@ +#!/usr/bin/python3 +import json +import os +import sys + + +# Used to migrate storage format to include ACLs +def storage_migrate(storage): + delete_keys = [] + if storage['type'] == 'hostPath': + # Check if the key exists, if not we have already migrated + if not storage.get('hostPath'): + return storage + + storage['hostPathConfig'] = {'hostPath': storage['hostPath']} + delete_keys.append('hostPath') + + elif storage['type'] == 'ixVolume': + # Check if the key exists, if not we have already migrated + if not storage.get('datasetName'): + return storage + + storage['ixVolumeConfig'] = {'datasetName': storage['datasetName']} + delete_keys.append('datasetName') + + + for key in delete_keys: + storage.pop(key, None) + + return storage + +# Used to migrate libraries to additionalStorages +def libraries_migrate(libraries): + # Additional **Libraries** only had a field for hostPath, because Immich + # had a requirement for both hostPath and mountPath to be the same, + # now its no longer the case, so we can merge it with additionalStorages + for idx, library in enumerate(libraries): + if not library.get('hostPath'): + raise Exception(f'Library {idx} is malformed') + + libraries[idx] = { + 'type': 'hostPath', + 'mountPath': library['hostPath'], + 'hostPathConfig': { + 'hostPath': library['hostPath'], + } + } + + + return libraries + + +def migrate(values): + storage_key = 'immichStorage' + storages = ['uploads', 'library', 'thumbs', 'profile', 'video', 'pgData', 'pgBackup'] + + for storage in storages: + check_val = values.get(storage_key, {}).get(storage, {}) + if not isinstance(check_val, dict) or not check_val: + raise Exception(f'Storage section {storage} is malformed') + + values[storage_key][storage] = storage_migrate(check_val) + + # Migrate additionalLibraries, + # if additionalLibraries does not exist, we have already migrated + if libraries := values.get(storage_key, {}).get('additionalLibraries', None): + # If additionalLibraries exists, additionalStorages does not exist yet + values[storage_key]['additionalStorages'] = libraries_migrate(libraries) + values[storage_key].pop('additionalLibraries', None) + + return values + + +if __name__ == '__main__': + if len(sys.argv) != 2: + exit(1) + + if os.path.exists(sys.argv[1]): + with open(sys.argv[1], 'r') as f: + print(json.dumps(migrate(json.loads(f.read())))) diff --git a/community/immich/1.1.0/questions.yaml b/community/immich/1.1.0/questions.yaml new file mode 100644 index 0000000000..38c0f2b50a --- /dev/null +++ b/community/immich/1.1.0/questions.yaml @@ -0,0 +1,839 @@ +groups: + - name: Immich Configuration + description: Configure Immich + - name: Network Configuration + description: Configure Network for Immich + - name: Storage Configuration + description: Configure Storage for Immich + - name: Resources Configuration + description: Configure Resources for Immich + +portals: + web_portal: + protocols: + - "$kubernetes-resource_configmap_portal_protocol" + host: + - "$kubernetes-resource_configmap_portal_host" + ports: + - "$kubernetes-resource_configmap_portal_port" + path: "$kubernetes-resource_configmap_portal_path" + +questions: + - variable: TZ + group: Immich Configuration + label: Timezone + schema: + type: string + default: Etc/UTC + required: true + $ref: + - definitions/timezone + + - variable: immichConfig + label: "" + group: Immich Configuration + schema: + type: dict + attrs: + - variable: publicLoginMessage + label: Public Login Message + description: | + The message that will be displayed on the login page. + schema: + type: string + default: "" + - variable: enableML + label: Enable Machine Learning + description: | + Enable Machine Learning + schema: + type: boolean + default: true + - variable: enableTypesense + label: Enable Typesense + description: | + Enable Typesense + schema: + type: boolean + default: true + + - variable: immichNetwork + label: "" + group: Network Configuration + schema: + type: dict + attrs: + - variable: webuiPort + label: Web Port + description: The port for the Immich WebUI. + schema: + type: int + default: 30041 + min: 9000 + max: 65535 + required: true + + - variable: immichStorage + label: "" + group: Storage Configuration + schema: + type: dict + attrs: + - variable: uploads + label: Immich Uploads Storage + description: The path to store Immich uploads. + schema: + type: dict + attrs: + - variable: type + label: Type + description: | + ixVolume: Is dataset created automatically by the system.
+ Host Path: Is a path that already exists on the system. + schema: + type: string + required: true + immutable: true + default: ixVolume + enum: + - value: hostPath + description: Host Path (Path that already exists on the system) + - value: ixVolume + description: ixVolume (Dataset created automatically by the system) + - variable: ixVolumeConfig + label: ixVolume Configuration + description: The configuration for the ixVolume dataset. + schema: + type: dict + show_if: [["type", "=", "ixVolume"]] + $ref: + - "normalize/ixVolume" + attrs: + - variable: aclEnable + label: Enable ACL + description: Enable ACL for the dataset. + schema: + type: boolean + default: false + - variable: datasetName + label: Dataset Name + description: The name of the dataset to use for storage. + schema: + type: string + required: true + immutable: true + hidden: true + default: "uploads" + - variable: aclEntries + label: ACL Configuration + schema: + type: dict + show_if: [["aclEnable", "=", true]] + attrs: [] + - variable: hostPathConfig + label: hostPathConfig + schema: + type: dict + show_if: [["type", "=", "hostPath"]] + attrs: + - variable: aclEnable + label: Enable ACL + description: Enable ACL for the dataset. + schema: + type: boolean + default: false + - variable: acl + label: ACL Configuration + schema: + type: dict + show_if: [["aclEnable", "=", true]] + attrs: [] + $ref: + - "normalize/acl" + - variable: hostPath + label: Host Path + description: The host path to use for storage. + schema: + type: hostpath + show_if: [["aclEnable", "=", false]] + required: true + - variable: library + label: Immich Library Storage + description: The path to store Immich Library. + schema: + type: dict + attrs: + - variable: type + label: Type + description: | + ixVolume: Is dataset created automatically by the system.
+ Host Path: Is a path that already exists on the system. + schema: + type: string + required: true + immutable: true + default: ixVolume + enum: + - value: hostPath + description: Host Path (Path that already exists on the system) + - value: ixVolume + description: ixVolume (Dataset created automatically by the system) + - variable: ixVolumeConfig + label: ixVolume Configuration + description: The configuration for the ixVolume dataset. + schema: + type: dict + show_if: [["type", "=", "ixVolume"]] + $ref: + - "normalize/ixVolume" + attrs: + - variable: aclEnable + label: Enable ACL + description: Enable ACL for the dataset. + schema: + type: boolean + default: false + - variable: datasetName + label: Dataset Name + description: The name of the dataset to use for storage. + schema: + type: string + required: true + immutable: true + hidden: true + default: "library" + - variable: aclEntries + label: ACL Configuration + schema: + type: dict + show_if: [["aclEnable", "=", true]] + attrs: [] + - variable: hostPathConfig + label: hostPathConfig + schema: + type: dict + show_if: [["type", "=", "hostPath"]] + attrs: + - variable: aclEnable + label: Enable ACL + description: Enable ACL for the dataset. + schema: + type: boolean + default: false + - variable: acl + label: ACL Configuration + schema: + type: dict + show_if: [["aclEnable", "=", true]] + attrs: [] + $ref: + - "normalize/acl" + - variable: hostPath + label: Host Path + description: The host path to use for storage. + schema: + type: hostpath + show_if: [["aclEnable", "=", false]] + required: true + - variable: thumbs + label: Immich Thumbs Storage + description: The path to store Immich Thumbs. + schema: + type: dict + attrs: + - variable: type + label: Type + description: | + ixVolume: Is dataset created automatically by the system.
+ Host Path: Is a path that already exists on the system. + schema: + type: string + required: true + immutable: true + default: ixVolume + enum: + - value: hostPath + description: Host Path (Path that already exists on the system) + - value: ixVolume + description: ixVolume (Dataset created automatically by the system) + - variable: ixVolumeConfig + label: ixVolume Configuration + description: The configuration for the ixVolume dataset. + schema: + type: dict + show_if: [["type", "=", "ixVolume"]] + $ref: + - "normalize/ixVolume" + attrs: + - variable: aclEnable + label: Enable ACL + description: Enable ACL for the dataset. + schema: + type: boolean + default: false + - variable: datasetName + label: Dataset Name + description: The name of the dataset to use for storage. + schema: + type: string + required: true + immutable: true + hidden: true + default: "thumbs" + - variable: aclEntries + label: ACL Configuration + schema: + type: dict + show_if: [["aclEnable", "=", true]] + attrs: [] + - variable: hostPathConfig + label: hostPathConfig + schema: + type: dict + show_if: [["type", "=", "hostPath"]] + attrs: + - variable: aclEnable + label: Enable ACL + description: Enable ACL for the dataset. + schema: + type: boolean + default: false + - variable: acl + label: ACL Configuration + schema: + type: dict + show_if: [["aclEnable", "=", true]] + attrs: [] + $ref: + - "normalize/acl" + - variable: hostPath + label: Host Path + description: The host path to use for storage. + schema: + type: hostpath + show_if: [["aclEnable", "=", false]] + required: true + - variable: profile + label: Immich Profile Storage + description: The path to store Immich Profile. + schema: + type: dict + attrs: + - variable: type + label: Type + description: | + ixVolume: Is dataset created automatically by the system.
+ Host Path: Is a path that already exists on the system. + schema: + type: string + required: true + immutable: true + default: ixVolume + enum: + - value: hostPath + description: Host Path (Path that already exists on the system) + - value: ixVolume + description: ixVolume (Dataset created automatically by the system) + - variable: ixVolumeConfig + label: ixVolume Configuration + description: The configuration for the ixVolume dataset. + schema: + type: dict + show_if: [["type", "=", "ixVolume"]] + $ref: + - "normalize/ixVolume" + attrs: + - variable: aclEnable + label: Enable ACL + description: Enable ACL for the dataset. + schema: + type: boolean + default: false + - variable: datasetName + label: Dataset Name + description: The name of the dataset to use for storage. + schema: + type: string + required: true + immutable: true + hidden: true + default: "profile" + - variable: aclEntries + label: ACL Configuration + schema: + type: dict + show_if: [["aclEnable", "=", true]] + attrs: [] + - variable: hostPathConfig + label: hostPathConfig + schema: + type: dict + show_if: [["type", "=", "hostPath"]] + attrs: + - variable: aclEnable + label: Enable ACL + description: Enable ACL for the dataset. + schema: + type: boolean + default: false + - variable: acl + label: ACL Configuration + schema: + type: dict + show_if: [["aclEnable", "=", true]] + attrs: [] + $ref: + - "normalize/acl" + - variable: hostPath + label: Host Path + description: The host path to use for storage. + schema: + type: hostpath + show_if: [["aclEnable", "=", false]] + required: true + - variable: video + label: Immich Video Storage + description: The path to store Immich Video. + schema: + type: dict + attrs: + - variable: type + label: Type + description: | + ixVolume: Is dataset created automatically by the system.
+ Host Path: Is a path that already exists on the system. + schema: + type: string + required: true + immutable: true + default: ixVolume + enum: + - value: hostPath + description: Host Path (Path that already exists on the system) + - value: ixVolume + description: ixVolume (Dataset created automatically by the system) + - variable: ixVolumeConfig + label: ixVolume Configuration + description: The configuration for the ixVolume dataset. + schema: + type: dict + show_if: [["type", "=", "ixVolume"]] + $ref: + - "normalize/ixVolume" + attrs: + - variable: aclEnable + label: Enable ACL + description: Enable ACL for the dataset. + schema: + type: boolean + default: false + - variable: datasetName + label: Dataset Name + description: The name of the dataset to use for storage. + schema: + type: string + required: true + immutable: true + hidden: true + default: "video" + - variable: aclEntries + label: ACL Configuration + schema: + type: dict + show_if: [["aclEnable", "=", true]] + attrs: [] + - variable: hostPathConfig + label: hostPathConfig + schema: + type: dict + show_if: [["type", "=", "hostPath"]] + attrs: + - variable: aclEnable + label: Enable ACL + description: Enable ACL for the dataset. + schema: + type: boolean + default: false + - variable: acl + label: ACL Configuration + schema: + type: dict + show_if: [["aclEnable", "=", true]] + attrs: [] + $ref: + - "normalize/acl" + - variable: hostPath + label: Host Path + description: The host path to use for storage. + schema: + type: hostpath + show_if: [["aclEnable", "=", false]] + required: true + + - variable: pgData + label: Immich Postgres Data Storage + description: The path to store Immich Postgres Data. + schema: + type: dict + attrs: + - variable: type + label: Type + description: | + ixVolume: Is dataset created automatically by the system.
+ Host Path: Is a path that already exists on the system. + schema: + type: string + required: true + immutable: true + default: ixVolume + enum: + - value: hostPath + description: Host Path (Path that already exists on the system) + - value: ixVolume + description: ixVolume (Dataset created automatically by the system) + - variable: ixVolumeConfig + label: ixVolume Configuration + description: The configuration for the ixVolume dataset. + schema: + type: dict + # Nothing to show for the user + hidden: true + show_if: [["type", "=", "ixVolume"]] + $ref: + - "normalize/ixVolume" + attrs: + - variable: aclEnable + label: Enable ACL + description: Enable ACL for the dataset. + schema: + type: boolean + # Postgres does a CHMOD at startup + # Which fails with ACL + hidden: true + default: false + - variable: datasetName + label: Dataset Name + description: The name of the dataset to use for storage. + schema: + type: string + required: true + immutable: true + hidden: true + default: "pgData" + - variable: aclEntries + label: ACL Configuration + schema: + type: dict + show_if: [["aclEnable", "=", true]] + attrs: [] + - variable: hostPathConfig + label: hostPathConfig + schema: + type: dict + show_if: [["type", "=", "hostPath"]] + attrs: + - variable: aclEnable + label: Enable ACL + description: Enable ACL for the dataset. + schema: + type: boolean + # Postgres does a CHMOD at startup + # Which fails with ACL + hidden: true + default: false + - variable: acl + label: ACL Configuration + schema: + type: dict + show_if: [["aclEnable", "=", true]] + attrs: [] + $ref: + - "normalize/acl" + - variable: hostPath + label: Host Path + description: The host path to use for storage. + schema: + type: hostpath + show_if: [["aclEnable", "=", false]] + required: true + + - variable: pgBackup + label: Immich Postgres Backup Storage + description: The path to store Immich Postgres Backup. + schema: + type: dict + attrs: + - variable: type + label: Type + description: | + ixVolume: Is dataset created automatically by the system.
+ Host Path: Is a path that already exists on the system. + schema: + type: string + required: true + immutable: true + default: ixVolume + enum: + - value: hostPath + description: Host Path (Path that already exists on the system) + - value: ixVolume + description: ixVolume (Dataset created automatically by the system) + - variable: ixVolumeConfig + label: ixVolume Configuration + description: The configuration for the ixVolume dataset. + schema: + type: dict + # Nothing to show for the user + hidden: true + show_if: [["type", "=", "ixVolume"]] + $ref: + - "normalize/ixVolume" + attrs: + - variable: aclEnable + label: Enable ACL + description: Enable ACL for the dataset. + schema: + type: boolean + # Postgres does a CHMOD at startup + # Which fails with ACL + hidden: true + default: false + - variable: datasetName + label: Dataset Name + description: The name of the dataset to use for storage. + schema: + type: string + required: true + immutable: true + hidden: true + default: "pgBackup" + - variable: aclEntries + label: ACL Configuration + schema: + type: dict + show_if: [["aclEnable", "=", true]] + attrs: [] + - variable: hostPathConfig + label: hostPathConfig + schema: + type: dict + show_if: [["type", "=", "hostPath"]] + attrs: + - variable: aclEnable + label: Enable ACL + description: Enable ACL for the dataset. + schema: + type: boolean + # Postgres does a CHMOD at startup + # Which fails with ACL + hidden: true + default: false + - variable: acl + label: ACL Configuration + schema: + type: dict + show_if: [["aclEnable", "=", true]] + attrs: [] + $ref: + - "normalize/acl" + - variable: hostPath + label: Host Path + description: The host path to use for storage. + schema: + type: hostpath + show_if: [["aclEnable", "=", false]] + required: true + + - variable: additionalStorages + label: Additional Storage + description: Additional storage for Immich. + schema: + type: list + default: [] + items: + - variable: storageEntry + label: Storage Entry + schema: + type: dict + attrs: + - variable: type + label: Type + description: | + ixVolume: Is dataset created automatically by the system.
+ Host Path: Is a path that already exists on the system.
+ SMB Share: Is a SMB share that is mounted to a persistent volume claim. + schema: + type: string + required: true + default: "ixVolume" + immutable: true + enum: + - value: "hostPath" + description: Host Path (Path that already exists on the system) + - value: "ixVolume" + description: ixVolume (Dataset created automatically by the system) + - value: "smb-pv-pvc" + description: SMB Share (Mounts a persistent volume claim to a SMB share) + - variable: readOnly + label: Read Only + description: Mount the volume as read only. + schema: + type: boolean + default: false + - variable: mountPath + label: Mount Path + description: The path inside the container to mount the storage. + schema: + type: path + required: true + - variable: hostPathConfig + label: hostPathConfig + schema: + type: dict + show_if: [["type", "=", "hostPath"]] + attrs: + - variable: aclEnable + label: Enable ACL + description: Enable ACL for the dataset. + schema: + type: boolean + default: false + - variable: acl + label: ACL Configuration + schema: + type: dict + show_if: [["aclEnable", "=", true]] + attrs: [] + $ref: + - "normalize/acl" + - variable: hostPath + label: Host Path + description: The host path to use for storage. + schema: + type: hostpath + show_if: [["aclEnable", "=", false]] + required: true + - variable: ixVolumeConfig + label: ixVolume Configuration + description: The configuration for the ixVolume dataset. + schema: + type: dict + show_if: [["type", "=", "ixVolume"]] + $ref: + - "normalize/ixVolume" + attrs: + - variable: aclEnable + label: Enable ACL + description: Enable ACL for the dataset. + schema: + type: boolean + default: false + - variable: datasetName + label: Dataset Name + description: The name of the dataset to use for storage. + schema: + type: string + required: true + immutable: true + default: "storage_entry" + - variable: aclEntries + label: ACL Configuration + schema: + type: dict + show_if: [["aclEnable", "=", true]] + attrs: [] + - variable: smbConfig + label: SMB Share Configuration + description: The configuration for the SMB Share. + schema: + type: dict + show_if: [["type", "=", "smb-pv-pvc"]] + attrs: + - variable: server + label: Server + description: The server for the SMB share. + schema: + type: string + required: true + - variable: share + label: Share + description: The share name for the SMB share. + schema: + type: string + required: true + - variable: domain + label: Domain (Optional) + description: The domain for the SMB share. + schema: + type: string + - variable: username + label: Username + description: The username for the SMB share. + schema: + type: string + required: true + - variable: password + label: Password + description: The password for the SMB share. + schema: + type: string + required: true + private: true + - variable: size + label: Size (in Gi) + description: The size of the volume quota. + schema: + type: int + required: true + min: 1 + default: 1 + + - variable: resources + label: "" + group: Resources Configuration + schema: + type: dict + attrs: + - variable: limits + label: Limits + schema: + type: dict + attrs: + - variable: cpu + label: CPU + description: CPU limit for Immich. + schema: + type: string + max_length: 6 + valid_chars: '^(0\.[1-9]|[1-9][0-9]*)(\.[0-9]|m?)$' + valid_chars_error: | + Valid CPU limit formats are
+ - Plain Integer - eg. 1
+ - Float - eg. 0.5
+ - Milicpu - eg. 500m + default: "4000m" + required: true + - variable: memory + label: Memory + description: Memory limit for Immich. + schema: + type: string + max_length: 12 + valid_chars: '^[1-9][0-9]*([EPTGMK]i?|e[0-9]+)?$' + valid_chars_error: | + Valid Memory limit formats are
+ - Suffixed with E/P/T/G/M/K - eg. 1G
+ - Suffixed with Ei/Pi/Ti/Gi/Mi/Ki - eg. 1Gi
+ - Plain Integer in bytes - eg. 1024
+ - Exponent - eg. 134e6 + default: "8Gi" + required: true + + - variable: immichGPU + group: Resources Configuration + label: GPU Configuration + schema: + type: dict + $ref: + - "definitions/gpuConfiguration" + attrs: [] diff --git a/community/immich/1.0.35/templates/NOTES.txt b/community/immich/1.1.0/templates/NOTES.txt similarity index 100% rename from community/immich/1.0.35/templates/NOTES.txt rename to community/immich/1.1.0/templates/NOTES.txt diff --git a/community/immich/1.0.35/templates/_configuration.tpl b/community/immich/1.1.0/templates/_configuration.tpl similarity index 100% rename from community/immich/1.0.35/templates/_configuration.tpl rename to community/immich/1.1.0/templates/_configuration.tpl diff --git a/community/immich/1.0.35/templates/_immich-machinelearning.tpl b/community/immich/1.1.0/templates/_immich-machinelearning.tpl similarity index 100% rename from community/immich/1.0.35/templates/_immich-machinelearning.tpl rename to community/immich/1.1.0/templates/_immich-machinelearning.tpl diff --git a/community/immich/1.0.35/templates/_immich-microservices.tpl b/community/immich/1.1.0/templates/_immich-microservices.tpl similarity index 100% rename from community/immich/1.0.35/templates/_immich-microservices.tpl rename to community/immich/1.1.0/templates/_immich-microservices.tpl diff --git a/community/immich/1.0.35/templates/_immich-proxy.tpl b/community/immich/1.1.0/templates/_immich-proxy.tpl similarity index 100% rename from community/immich/1.0.35/templates/_immich-proxy.tpl rename to community/immich/1.1.0/templates/_immich-proxy.tpl diff --git a/community/immich/1.0.35/templates/_immich-server.tpl b/community/immich/1.1.0/templates/_immich-server.tpl similarity index 100% rename from community/immich/1.0.35/templates/_immich-server.tpl rename to community/immich/1.1.0/templates/_immich-server.tpl diff --git a/community/immich/1.0.35/templates/_immich-typesense.tpl b/community/immich/1.1.0/templates/_immich-typesense.tpl similarity index 100% rename from community/immich/1.0.35/templates/_immich-typesense.tpl rename to community/immich/1.1.0/templates/_immich-typesense.tpl diff --git a/community/immich/1.0.35/templates/_immich-web.tpl b/community/immich/1.1.0/templates/_immich-web.tpl similarity index 100% rename from community/immich/1.0.35/templates/_immich-web.tpl rename to community/immich/1.1.0/templates/_immich-web.tpl diff --git a/community/immich/1.0.35/templates/_persistence.tpl b/community/immich/1.1.0/templates/_persistence.tpl similarity index 54% rename from community/immich/1.0.35/templates/_persistence.tpl rename to community/immich/1.1.0/templates/_persistence.tpl index ccfb704889..6ba08c8474 100644 --- a/community/immich/1.0.35/templates/_persistence.tpl +++ b/community/immich/1.1.0/templates/_persistence.tpl @@ -1,11 +1,17 @@ {{- 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: enabled: true - type: {{ .Values.immichStorage.library.type }} - datasetName: {{ .Values.immichStorage.library.datasetName | default "" }} - hostPath: {{ .Values.immichStorage.library.hostPath | default "" }} + {{- include "ix.v1.common.app.storageOptions" (dict "storage" .Values.immichStorage.library) | nindent 4 }} targetSelector: server: server: @@ -15,9 +21,7 @@ persistence: mountPath: /usr/src/app/upload/library uploads: enabled: true - type: {{ .Values.immichStorage.uploads.type }} - datasetName: {{ .Values.immichStorage.uploads.datasetName | default "" }} - hostPath: {{ .Values.immichStorage.uploads.hostPath | default "" }} + {{- include "ix.v1.common.app.storageOptions" (dict "storage" .Values.immichStorage.uploads) | nindent 4 }} targetSelector: server: server: @@ -27,9 +31,7 @@ persistence: mountPath: /usr/src/app/upload/upload thumbs: enabled: true - type: {{ .Values.immichStorage.thumbs.type }} - datasetName: {{ .Values.immichStorage.thumbs.datasetName | default "" }} - hostPath: {{ .Values.immichStorage.thumbs.hostPath | default "" }} + {{- include "ix.v1.common.app.storageOptions" (dict "storage" .Values.immichStorage.thumbs) | nindent 4 }} targetSelector: server: server: @@ -39,9 +41,7 @@ persistence: mountPath: /usr/src/app/upload/thumbs profile: enabled: true - type: {{ .Values.immichStorage.profile.type }} - datasetName: {{ .Values.immichStorage.profile.datasetName | default "" }} - hostPath: {{ .Values.immichStorage.profile.hostPath | default "" }} + {{- include "ix.v1.common.app.storageOptions" (dict "storage" .Values.immichStorage.profile) | nindent 4 }} targetSelector: server: server: @@ -51,9 +51,7 @@ persistence: mountPath: /usr/src/app/upload/profile video: enabled: true - type: {{ .Values.immichStorage.video.type }} - datasetName: {{ .Values.immichStorage.video.datasetName | default "" }} - hostPath: {{ .Values.immichStorage.video.hostPath | default "" }} + {{- include "ix.v1.common.app.storageOptions" (dict "storage" .Values.immichStorage.video) | nindent 4 }} targetSelector: server: server: @@ -61,19 +59,18 @@ persistence: microservices: microservices: mountPath: /usr/src/app/upload/encoded-video - {{- range $idx, $storage := .Values.immichStorage.additionalLibraries }} - {{ printf "immich-%v" (int $idx) }}: + {{- range $idx, $storage := .Values.immichStorage.additionalStorages }} + {{ printf "immich-%v:" (int $idx) }} enabled: true - type: hostPath - hostPath: {{ $storage.hostPath | default "" }} - # Host path and mount path MUST be the same + {{- include "immich.storage.ci.migration" (dict "storage" $storage) }} + {{- include "ix.v1.common.app.storageOptions" (dict "storage" $storage) | nindent 4 }} targetSelector: server: server: - mountPath: {{ $storage.hostPath }} + mountPath: {{ $storage.mountPath }} microservices: microservices: - mountPath: {{ $storage.hostPath }} + mountPath: {{ $storage.mountPath }} {{- end }} {{/* Caches */}} microcache: @@ -116,9 +113,20 @@ persistence: redis: mountPath: /tmp + {{/* Database */}} {{- include "ix.v1.common.app.postgresPersistence" (dict "pgData" .Values.immichStorage.pgData "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 -}} diff --git a/community/immich/1.0.35/templates/_portal.tpl b/community/immich/1.1.0/templates/_portal.tpl similarity index 100% rename from community/immich/1.0.35/templates/_portal.tpl rename to community/immich/1.1.0/templates/_portal.tpl diff --git a/community/immich/1.0.35/templates/_postgres.tpl b/community/immich/1.1.0/templates/_postgres.tpl similarity index 100% rename from community/immich/1.0.35/templates/_postgres.tpl rename to community/immich/1.1.0/templates/_postgres.tpl diff --git a/community/immich/1.0.35/templates/_redis.tpl b/community/immich/1.1.0/templates/_redis.tpl similarity index 100% rename from community/immich/1.0.35/templates/_redis.tpl rename to community/immich/1.1.0/templates/_redis.tpl diff --git a/community/immich/1.0.35/templates/_service.tpl b/community/immich/1.1.0/templates/_service.tpl similarity index 100% rename from community/immich/1.0.35/templates/_service.tpl rename to community/immich/1.1.0/templates/_service.tpl diff --git a/community/immich/1.0.35/templates/_waitURL.tpl b/community/immich/1.1.0/templates/_waitURL.tpl similarity index 100% rename from community/immich/1.0.35/templates/_waitURL.tpl rename to community/immich/1.1.0/templates/_waitURL.tpl diff --git a/community/immich/1.0.35/templates/common.yaml b/community/immich/1.1.0/templates/common.yaml similarity index 100% rename from community/immich/1.0.35/templates/common.yaml rename to community/immich/1.1.0/templates/common.yaml