From 8bbd3bf05467d785ea48c5467be8e118a6ff072f Mon Sep 17 00:00:00 2001 From: Roger Sikorski Date: Mon, 27 Oct 2025 09:52:03 +0100 Subject: [PATCH] immich-db/ObjectStore added --- cluster/apps/immich/db/ObjectStore.yaml | 36 +++++++++++++++++++++++++ 1 file changed, 36 insertions(+) diff --git a/cluster/apps/immich/db/ObjectStore.yaml b/cluster/apps/immich/db/ObjectStore.yaml index e69de29..84fa84a 100644 --- a/cluster/apps/immich/db/ObjectStore.yaml +++ b/cluster/apps/immich/db/ObjectStore.yaml @@ -0,0 +1,36 @@ +--- +apiVersion: barmancloud.cnpg.io/v1 +kind: ObjectStore +metadata: + name: immich-db + namespace: immich + labels: + app: immich-db +spec: + configuration: + destinationPath: 's3://k8s-db-postgres/immich/2025-10' + endpointURL: 'https://s3.example.org' + s3Credentials: + accessKeyId: + name: global-s3-k8s-db-postgres + key: AWS_ACCESS_KEY + secretAccessKey: + name: global-s3-k8s-db-postgres + key: AWS_SECRET_KEY + region: + name: global-s3-k8s-db-postgres + key: AWS_REGION + data: + compression: bzip2 + wal: + compression: bzip2 + + retentionPolicy: '7d' + + instanceSidecarConfiguration: + resources: + limits: + memory: 1Gi + requests: + cpu: 100m + memory: 200Mi