Skip to content

Commit

Permalink
chore(amethyst): upgrade immich to 1.95.1
Browse files Browse the repository at this point in the history
- integrate immich-web into immich-server after v1.88.0 https://github.com/immich-app/immich/releases/tag/v1.88.0
- remove typesense and change search to pgvector/pgvecto.rs postgres extension after v1.91.0 https://github.com/immich-app/immich/releases/tag/v1.91.0
  • Loading branch information
timtorChen committed Mar 13, 2024
1 parent f8d2528 commit 6bde794
Show file tree
Hide file tree
Showing 8 changed files with 11 additions and 319 deletions.
84 changes: 6 additions & 78 deletions amethyst/kubernetes/mydata/immich/app/immich.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,65 +10,6 @@ metadata:
---
apiVersion: helm.toolkit.fluxcd.io/v2beta2
kind: HelmRelease
metadata:
namespace: mydata
name: immich-web
spec:
chart:
spec:
sourceRef:
kind: HelmRepository
name: bjw-s
# renovate: registryUrl=https://bjw-s.github.io/helm-charts
chart: app-template
version: 1.5.1
interval: 1h
maxHistory: 1
values:
image:
# renovate:
repository: ghcr.io/immich-app/immich-web
tag: v1.71.0
env:
IMMICH_API_URL_EXTERNAL: https://photo.timtor.dev/api
probes:
liveness:
enabled: false
readiness:
enabled: false

podSecurityContext:
fsGroup: 65534
securityContext:
runAsNonRoot: true
runAsUser: 65534
runAsGroup: 65534
allowPrivilegeEscalation: false
readOnlyRootFilesystem: true
capabilities:
drop: ["ALL"]
seccompProfile:
type: RuntimeDefault

service:
main:
enabled: true
ports:
http:
port: 3000

ingress:
main:
enabled: true
ingressClassName: nginx
hosts:
- host: photo.timtor.dev
paths:
- path: /
pathType: Prefix
---
apiVersion: helm.toolkit.fluxcd.io/v2beta2
kind: HelmRelease
metadata:
namespace: mydata
name: immich-server
Expand All @@ -89,7 +30,7 @@ spec:
image:
# renovate:
repository: ghcr.io/immich-app/immich-server
tag: v1.71.0
tag: v1.95.1
command: ["./start.sh", "immich"]

serviceAccount:
Expand All @@ -102,7 +43,7 @@ spec:
SERVER_PORT: &port 3001
IMMICH_MEDIA_LOCATION: &data /data
REDIS_HOSTNAME: immich-dragonfly
TYPESENSE_HOST: immich-typesense
DB_VECTOR_EXTENSION: pgvector
DB_URL:
valueFrom:
secretKeyRef:
Expand All @@ -113,11 +54,6 @@ spec:
secretKeyRef:
name: *s
key: REDIS_PASSWORD
TYPESENSE_API_KEY:
valueFrom:
secretKeyRef:
name: *s
key: TYPESENSE_API_KEY

persistence:
data:
Expand Down Expand Up @@ -165,13 +101,10 @@ spec:
main:
enabled: true
ingressClassName: nginx
annotations:
nginx.ingress.kubernetes.io/rewrite-target: /$1
nginx.ingress.kubernetes.io/proxy-body-size: "0"
hosts:
- host: photo.timtor.dev
paths:
- path: /api/(.*)
- path: /
pathType: Prefix
---
apiVersion: helm.toolkit.fluxcd.io/v2beta2
Expand All @@ -196,7 +129,7 @@ spec:
image:
# renovate:
repository: ghcr.io/immich-app/immich-server
tag: v1.71.0
tag: v1.95.1
command: ["./start.sh", "microservices"]

serviceAccount:
Expand All @@ -210,7 +143,7 @@ spec:
IMMICH_MEDIA_LOCATION: &media /data
REVERSE_GEOCODING_DUMP_DIRECTORY: &dump /geocode
REDIS_HOSTNAME: immich-dragonfly
TYPESENSE_HOST: immich-typesense
DB_VECTOR_EXTENSION: pgvector
DB_URL:
valueFrom:
secretKeyRef:
Expand All @@ -221,11 +154,6 @@ spec:
secretKeyRef:
name: *s
key: REDIS_PASSWORD
TYPESENSE_API_KEY:
valueFrom:
secretKeyRef:
name: *s
key: TYPESENSE_API_KEY

persistence:
media:
Expand Down Expand Up @@ -295,7 +223,7 @@ spec:
image:
# renovate:
repository: ghcr.io/immich-app/immich-machine-learning
tag: v1.71.0
tag: v1.95.1
env:
MACHINE_LEARNING_CACHE_FOLDER: &cache /cache
TRANSFORMERS_CACHE: *cache
Expand Down
5 changes: 5 additions & 0 deletions amethyst/kubernetes/mydata/immich/deps/immich-postgres.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@ metadata:
name: immich-postgres
spec:
instances: 2
imageName: ghcr.io/cloudnative-pg/postgresql:15.6
postgresql:
parameters:
vector.dummy: ""
earthdistance.dummy: ""
storage:
pvcTemplate:
storageClassName: fs-fast
Expand Down

This file was deleted.

This file was deleted.

13 changes: 0 additions & 13 deletions amethyst/kubernetes/mydata/immich/deps/immich-typesense-data.yaml

This file was deleted.

This file was deleted.

Loading

0 comments on commit 6bde794

Please sign in to comment.