update immich

This commit is contained in:
Remy Moll 2023-12-17 10:37:45 +01:00
parent 40407ce7fb
commit 2949e894d6
3 changed files with 21 additions and 21 deletions

View File

@ -3,15 +3,31 @@
### Initial setup ### Initial setup
On a running (and sealed-secrets installed) k3s instance run: #### Requirements:
- A running k3s instance run:
- `metalLB` deployed
- `sealedsecrets` deployed
#### Installing argo and the app-of-apps
``` ```
kubectl apply -k infrastructure/argocd kubectl apply -k infrastructure/argocd
``` ```
This will install argocd and CRDs in a dedicated namespace along with the app-of-apps configured under `kluster-deployments/`. This will install argocd and its CRDs in a dedicated namespace. The app-of-apps is configured under `kluster-deployments/` and deployed as well. This will bootstrap all other apps, as described in `./kluster-deployments`.
The app-of-apps will bootstrap a fully featured cluster with the following components The app-of-apps will bootstrap a fully featured cluster with the following components
- postgres instance with backups - postgres instance with backups
- backup of all nfs PVCs using restic - backup of all nfs PVCs using restic
- traefik (along with metallb as a publicly accessible reverse proxy) - traefik (along with metallb as a publicly accessible reverse proxy)
- an nfs-provisioner creating PVCs on-demand - an nfs-provisioner creating PVCs on-demand
- a range of selfhosted apps - gitea
- a range of selfhosted apps:
- nextcloud
- jellyfin
- adguard-home
- homarr
- homeassistant
- immich
- ...
### Adding an application

View File

@ -11,6 +11,6 @@ namespace: immich
helmCharts: helmCharts:
- name: immich - name: immich
releaseName: immich releaseName: immich
version: 0.2.0 version: 0.3.0
valuesFile: values.yaml valuesFile: values.yaml
repo: https://immich-app.github.io/immich-charts repo: https://immich-app.github.io/immich-charts

View File

@ -4,7 +4,7 @@
image: image:
tag: v1.90.2 tag: v1.91.2
# These entries are shared between all the Immich components # These entries are shared between all the Immich components
@ -26,11 +26,6 @@ env:
secretKeyRef: secretKeyRef:
name: postgres-password name: postgres-password
key: password key: password
TYPESENSE_ENABLED: "{{ .Values.typesense.enabled }}"
TYPESENSE_API_KEY: "{{ .Values.typesense.env.TYPESENSE_API_KEY }}"
TYPESENSE_HOST: '{{ printf "%s-typesense" .Release.Name }}'
IMMICH_WEB_URL: '{{ printf "http://%s-web:3000" .Release.Name }}'
IMMICH_SERVER_URL: '{{ printf "http://%s-server:3001" .Release.Name }}'
IMMICH_MACHINE_LEARNING_URL: '{{ printf "http://%s-machine-learning:3003" .Release.Name }}' IMMICH_MACHINE_LEARNING_URL: '{{ printf "http://%s-machine-learning:3003" .Release.Name }}'
immich: immich:
@ -52,17 +47,6 @@ redis:
auth: auth:
enabled: false enabled: false
typesense:
enabled: true
env:
TYPESENSE_DATA_DIR: /tsdata
TYPESENSE_API_KEY: typesense
persistence:
tsdata:
# Enabling typesense persistence is recommended to avoid slow reindexing
enabled: true
accessMode: ReadWriteOnce
size: 1Gi
# Immich components # Immich components