chore: Sync cluster data.

This commit is contained in:
Tera << 8 2024-12-31 22:59:57 -05:00
parent 7e886e16c6
commit e18821eacd
Signed by: imterah
GPG key ID: 8FA7DD57BA6CEA37
10 changed files with 109 additions and 38 deletions

View file

@ -0,0 +1,26 @@
image:
repository: tensorchord/pgvecto-rs
tag: pg14-v0.2.0
global:
security:
allowInsecureImages: true
postgresql:
auth:
username: immich
database: immich
password: immich
primary:
containerSecurityContext:
readOnlyRootFilesystem: false
persistence:
enabled: true
existingClaim: data-immich-postgresql-0
resources:
limits:
memory: 1024Mi
initdb:
scripts:
create-extensions.sql: |
CREATE EXTENSION cube;
CREATE EXTENSION earthdistance;
CREATE EXTENSION vectors;

View file

@ -0,0 +1,21 @@
[meta]
format_ver = 1
[immich_postgres_pvc]
description = PVC claim for Postgres
mode = k3s
[#immich_postgres_pvc/k3s]
mode = install
yml_path = ./pvc.yml
[immich_postgres]
description = Postgres configuration for Immich
mode = helm
[#immich_postgres/helm]
mode = upgrade
name = postgres
repo = oci://registry-1.docker.io/bitnamicharts/postgresql
options_file = ./postgres.yml
namespace = immich

View file

@ -0,0 +1,12 @@
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: data-immich-postgresql-0
namespace: immich
spec:
storageClassName: longhorn
accessModes:
- ReadWriteMany
resources:
requests:
storage: 16Gi