remove old
This commit is contained in:
@@ -18,10 +18,6 @@ dependencies:
|
|||||||
alias: immich
|
alias: immich
|
||||||
repository: https://bjw-s-labs.github.io/helm-charts/
|
repository: https://bjw-s-labs.github.io/helm-charts/
|
||||||
version: 4.3.0
|
version: 4.3.0
|
||||||
- name: postgres-cluster
|
|
||||||
alias: postgres-16-b-cluster
|
|
||||||
version: 6.9.1
|
|
||||||
repository: oci://harbor.alexlebens.net/helm-charts
|
|
||||||
- name: postgres-cluster
|
- name: postgres-cluster
|
||||||
alias: postgres-17-cluster
|
alias: postgres-17-cluster
|
||||||
version: 6.9.1
|
version: 6.9.1
|
||||||
|
@@ -188,60 +188,6 @@ immich:
|
|||||||
main:
|
main:
|
||||||
- path: /usr/src/app/upload
|
- path: /usr/src/app/upload
|
||||||
readOnly: false
|
readOnly: false
|
||||||
postgres-16-b-cluster:
|
|
||||||
nameOverride: immich-postgresql-16-b
|
|
||||||
mode: recovery
|
|
||||||
cluster:
|
|
||||||
image:
|
|
||||||
repository: ghcr.io/tensorchord/cloudnative-vectorchord
|
|
||||||
tag: 16.9-0.4.3
|
|
||||||
storage:
|
|
||||||
storageClass: local-path
|
|
||||||
walStorage:
|
|
||||||
storageClass: local-path
|
|
||||||
postgresUID: 26
|
|
||||||
postgresGID: 26
|
|
||||||
enableSuperuserAccess: true
|
|
||||||
monitoring:
|
|
||||||
enabled: true
|
|
||||||
prometheusRule:
|
|
||||||
enabled: true
|
|
||||||
postgresql:
|
|
||||||
parameters:
|
|
||||||
shared_buffers: 256MB
|
|
||||||
shared_preload_libraries:
|
|
||||||
- "vchord.so"
|
|
||||||
initdb:
|
|
||||||
postInitSQL:
|
|
||||||
- CREATE EXTENSION IF NOT EXISTS "vector";
|
|
||||||
- CREATE EXTENSION IF NOT EXISTS "vchord" CASCADE;
|
|
||||||
- CREATE EXTENSION IF NOT EXISTS "cube" CASCADE;
|
|
||||||
- CREATE EXTENSION IF NOT EXISTS "earthdistance" CASCADE;
|
|
||||||
recovery:
|
|
||||||
method: import
|
|
||||||
recoveryServerName: immich-postgresql-16-backup-2
|
|
||||||
objectStore:
|
|
||||||
destinationPath: s3://postgres-backups-ce540ddf106d186bbddca68a/cl01tl/immich/immich-postgresql-16-cluster
|
|
||||||
index: 2
|
|
||||||
import:
|
|
||||||
type: "microservice"
|
|
||||||
databases:
|
|
||||||
- app
|
|
||||||
postImportApplicationSQL:
|
|
||||||
- CREATE EXTENSION IF NOT EXISTS "vector";
|
|
||||||
- CREATE EXTENSION IF NOT EXISTS "vchord" CASCADE;
|
|
||||||
- CREATE EXTENSION IF NOT EXISTS "cube" CASCADE;
|
|
||||||
- CREATE EXTENSION IF NOT EXISTS "earthdistance" CASCADE;
|
|
||||||
source:
|
|
||||||
host: immich-postgresql-16-cluster-rw
|
|
||||||
port: 5432
|
|
||||||
username: postgres
|
|
||||||
database: postgres
|
|
||||||
sslMode: disable
|
|
||||||
passwordSecret:
|
|
||||||
name: immich-postgresql-16-cluster-superuser
|
|
||||||
key: password
|
|
||||||
|
|
||||||
postgres-17-cluster:
|
postgres-17-cluster:
|
||||||
mode: recovery
|
mode: recovery
|
||||||
cluster:
|
cluster:
|
||||||
@@ -252,7 +198,6 @@ postgres-17-cluster:
|
|||||||
storageClass: local-path
|
storageClass: local-path
|
||||||
walStorage:
|
walStorage:
|
||||||
storageClass: local-path
|
storageClass: local-path
|
||||||
enableSuperuserAccess: true
|
|
||||||
monitoring:
|
monitoring:
|
||||||
enabled: true
|
enabled: true
|
||||||
prometheusRule:
|
prometheusRule:
|
||||||
@@ -281,6 +226,6 @@ postgres-17-cluster:
|
|||||||
retentionPolicy: "3d"
|
retentionPolicy: "3d"
|
||||||
scheduledBackups:
|
scheduledBackups:
|
||||||
- name: daily-backup
|
- name: daily-backup
|
||||||
suspend: true
|
suspend: false
|
||||||
schedule: "0 0 0 * * *"
|
schedule: "0 0 0 * * *"
|
||||||
backupName: external
|
backupName: external
|
||||||
|
Reference in New Issue
Block a user