Skip to content

Commit

Permalink
♻️ immich v1.93
Browse files Browse the repository at this point in the history
  • Loading branch information
auricom committed Jan 25, 2024
1 parent 37305a8 commit 5551bf3
Show file tree
Hide file tree
Showing 11 changed files with 20 additions and 194 deletions.
11 changes: 4 additions & 7 deletions kubernetes/apps/default/immich/app/configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,13 @@ metadata:
name: immich-configmap
namespace: default
data:
IMMICH_MACHINE_LEARNING_URL: http://immich-machine-learning.default.svc.cluster.local:3003
IMMICH_SERVER_URL: http://immich-server.default.svc.cluster.local:3001
IMMICH_MACHINE_LEARNING_URL: http://immich-machine-learning.default.svc.cluster.local.:3003
IMMICH_SERVER_URL: http://immich-server.default.svc.cluster.local.:3001
LOG_LEVEL: verbose
# REDIS_HOSTNAME: redis-master.default.svc.cluster.local.
# REDIS_DBINDEX: "15"
REDIS_HOSTNAME: immich-redis.default.svc.cluster.local
REDIS_DBINDEX: "15"
REDIS_HOSTNAME: redis.database.svc.cluster.local.
REDIS_PORT: "6379"
TRANSFORMERS_CACHE: /usr/src/app/.transformers_cache
TYPESENSE_DATA_DIR: /config
TYPESENSE_HOST: immich-typesense.default.svc.cluster.local.
# Below are deprecated and can only be set in the Immich Admin settings
# OAUTH_ENABLED: "true"
# OAUTH_ISSUER_URL: https://auth.${SECRET_CLUSTER_DOMAIN}/.well-known/openid-configuration
Expand Down
16 changes: 10 additions & 6 deletions kubernetes/apps/default/immich/app/externalsecret.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,17 +15,21 @@ spec:
engineVersion: v2
data:
# App
DB_URL: postgresql://{{ .POSTGRES_USER }}:{{ .POSTGRES_PASS }}@postgres.${SECRET_DOMAIN}:5432/immich?sslmode=require
DB_DATABASE_NAME: &dbName immich
DB_HOSTNAME: &dbHost postgres16-rw.database.svc.cluster.local.
DB_USERNAME: &dbUser "{{ .POSTGRES_USER }}"
DB_PASSWORD: &dbPass "{{ .POSTGRES_PASS }}"
DB_PORT: "5432"
JWT_SECRET: "{{ .IMMICH_JWT_SECRET }}"
TYPESENSE_API_KEY: "{{ .IMMICH_TYPESENSE_API_KEY }}"
# Postgres Init
INIT_POSTGRES_DBNAME: immich
INIT_POSTGRES_HOST: postgres.${SECRET_DOMAIN}
INIT_POSTGRES_USER: "{{ .POSTGRES_USER }}"
INIT_POSTGRES_PASS: "{{ .POSTGRES_PASS }}"
INIT_POSTGRES_DBNAME: *dbName
INIT_POSTGRES_HOST: *dbHost
INIT_POSTGRES_USER: *dbUser
INIT_POSTGRES_PASS: *dbPass
INIT_POSTGRES_SUPER_PASS: "{{ .POSTGRES_SUPER_PASS }}"
dataFrom:
- extract:
key: generic
key: cloudnative-pg
- extract:
key: immich
1 change: 0 additions & 1 deletion kubernetes/apps/default/immich/app/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ resources:
- ./microservices
- ./machine-learning
- ./server
- ./typesense
- ./volumes.yaml
- ../../../../templates/gatus/external
- ../../../../templates/volsync
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ spec:
namespace: flux-system
dependsOn:
- name: immich-server
- name: immich-redis
- name: redis
values:
controllers:
main:
Expand All @@ -30,7 +30,7 @@ spec:
main:
image:
repository: ghcr.io/immich-app/immich-machine-learning
tag: v1.90.2@sha256:db29ac9e6c1205912df176b81c5c605a98ee18220e438b17151e84c5c5becfa1
tag: v1.93.3
envFrom:
- configMapRef:
name: *configMap
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,8 @@ spec:
uninstall:
keepHistory: false
dependsOn:
- name: immich-redis
- name: immich-server
- name: immich-typesense
- name: redis
values:
defaultPodOptions:
enableServiceLinks: false
Expand Down Expand Up @@ -58,7 +57,7 @@ spec:
main:
image:
repository: ghcr.io/immich-app/immich-server
tag: v1.90.2@sha256:3e68be128c705f4e1c565a38f0a70c7008504f0acaaf122dc13cc6716a69a067
tag: v1.93.3
args:
- start-microservices.sh
envFrom:
Expand Down
5 changes: 2 additions & 3 deletions kubernetes/apps/default/immich/app/server/helmrelease.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,7 @@ spec:
uninstall:
keepHistory: false
dependsOn:
- name: immich-typesense
- name: immich-redis
- name: redis
values:
defaultPodOptions:
enableServiceLinks: false
Expand Down Expand Up @@ -66,7 +65,7 @@ spec:
main:
image:
repository: ghcr.io/immich-app/immich-server
tag: v1.90.2@sha256:3e68be128c705f4e1c565a38f0a70c7008504f0acaaf122dc13cc6716a69a067
tag: v1.93.3
args: ["start-server.sh"]
envFrom: *envFrom
env:
Expand Down
88 changes: 0 additions & 88 deletions kubernetes/apps/default/immich/app/typesense/helmrelease.yaml

This file was deleted.

This file was deleted.

25 changes: 0 additions & 25 deletions kubernetes/apps/default/immich/ks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,28 +26,3 @@ spec:
APP: *app
GATUS_SUBDOMAIN: photos
VOLSYNC_CAPACITY: 2Gi
---
# yaml-language-server: $schema=https://raw.githubusercontent.com/fluxcd-community/flux2-schemas/main/kustomization-kustomize-v1.json
apiVersion: kustomize.toolkit.fluxcd.io/v1
kind: Kustomization
metadata:
name: immich-redis
namespace: flux-system
spec:
targetNamespace: default
commonMetadata:
labels:
app.kubernetes.io/name: &app immich
path: ./kubernetes/apps/default/immich/redis
prune: true
sourceRef:
kind: GitRepository
name: home-ops-kubernetes
wait: false
interval: 30m
retryInterval: 1m
timeout: 5m
postBuild:
substitute:
APP: *app
VOLSYNC_CAPACITY: 2Gi
43 changes: 0 additions & 43 deletions kubernetes/apps/default/immich/redis/helmrelease.yaml

This file was deleted.

10 changes: 0 additions & 10 deletions kubernetes/apps/default/immich/redis/kustomization.yaml

This file was deleted.

0 comments on commit 5551bf3

Please sign in to comment.