add fdb
Some checks failed
lint-test-helm / helm-lint (push) Successful in 10s
renovate / renovate (push) Has been cancelled

This commit is contained in:
2025-10-02 23:43:05 -05:00
parent 9e673077af
commit f0aa69f5b2
2 changed files with 63 additions and 1 deletions

View File

@@ -25,5 +25,9 @@ dependencies:
alias: postgres-17-cluster alias: postgres-17-cluster
version: 6.9.1 version: 6.9.1
repository: oci://harbor.alexlebens.net/helm-charts repository: oci://harbor.alexlebens.net/helm-charts
- name: postgres-cluster
alias: postgres-17-fdb-cluster
version: 6.9.1
repository: oci://harbor.alexlebens.net/helm-charts
icon: https://cdn.jsdelivr.net/gh/selfhst/icons/png/komodo.png icon: https://cdn.jsdelivr.net/gh/selfhst/icons/png/komodo.png
appVersion: v1.17.5 appVersion: v1.17.5

View File

@@ -89,7 +89,7 @@ komodo:
ferretdb: ferretdb:
image: image:
repository: ghcr.io/ferretdb/ferretdb repository: ghcr.io/ferretdb/ferretdb
tag: 1.24.2 tag: 2.5.0
pullPolicy: IfNotPresent pullPolicy: IfNotPresent
env: env:
- name: FERRETDB_POSTGRESQL_URL - name: FERRETDB_POSTGRESQL_URL
@@ -157,3 +157,61 @@ postgres-17-cluster:
suspend: false suspend: false
schedule: "0 0 0 * * *" schedule: "0 0 0 * * *"
backupName: external backupName: external
postgres-17-fdb-cluster:
nameOverride: komodo-postgresql-17-fdb
mode: import
cluster:
image:
repository: ghcr.io/cloudnative-pg/postgresql
tag: "17-0.106.0-ferretdb-2.5.0"
storage:
storageClass: local-path
walStorage:
storageClass: local-path
postgresUID: 999
postgresGID: 999
monitoring:
enabled: true
prometheusRule:
enabled: true
postgresql:
shared_preload_libraries:
- pg_cron
- pg_documentdb_core
- pg_documentdb
parameters:
cron.database_name: 'postgres'
shared_buffers: 128MB
max_slot_wal_keep_size: 2000MB
hot_standby_feedback: "on"
initdb:
postInitSQL:
- 'CREATE EXTENSION IF NOT EXISTS documentdb CASCADE;'
recovery:
method: objectStore
objectStore:
destinationPath: s3://postgres-backups-ce540ddf106d186bbddca68a/cl01tl/komodo/komodo-postgresql-17-cluster
index: 2
import:
type: "microservice"
databases:
- app
source:
host: komodo-postgresql-17-cluster-rw
port: 5432
username: app
database: app
passwordSecret:
name: komodo-postgresql-17-cluster-app
key: "password"
backup:
objectStore:
- name: external
destinationPath: s3://postgres-backups-ce540ddf106d186bbddca68a/cl01tl/komodo/komodo-postgresql-17-cluster
index: 3
retentionPolicy: "3d"
scheduledBackups:
- name: daily-backup
suspend: true
schedule: "0 0 0 * * *"
backupName: external