From b6fda4d738d33fb30f24a40345984f94e801d20d Mon Sep 17 00:00:00 2001 From: Alex Lebens Date: Sat, 21 Dec 2024 21:37:24 -0600 Subject: [PATCH] switch to pg-17 --- .../applications/jellyplist/values.yaml | 25 ++++++------------- 1 file changed, 8 insertions(+), 17 deletions(-) diff --git a/clusters/cl01tl/applications/jellyplist/values.yaml b/clusters/cl01tl/applications/jellyplist/values.yaml index 4071fd302..4949b003d 100644 --- a/clusters/cl01tl/applications/jellyplist/values.yaml +++ b/clusters/cl01tl/applications/jellyplist/values.yaml @@ -39,17 +39,17 @@ jellyplist: - name: JELLYPLIST_DB_HOST valueFrom: secretKeyRef: - name: jellyplist-postgresql-16-cluster-app + name: jellyplist-postgresql-17-cluster-app key: host - name: JELLYPLIST_DB_USER valueFrom: secretKeyRef: - name: jellyplist-postgresql-16-cluster-app + name: jellyplist-postgresql-17-cluster-app key: username - name: JELLYPLIST_DB_PASSWORD valueFrom: secretKeyRef: - name: jellyplist-postgresql-16-cluster-app + name: jellyplist-postgresql-17-cluster-app key: password - name: LIDARR_API_KEY valueFrom: @@ -139,7 +139,7 @@ postgres-16-cluster: endpointCredentials: jellyplist-postgresql-16-cluster-backup-secret backupIndex: 1 postgres-17-cluster: - mode: replica + mode: standalone cluster: image: repository: ghcr.io/cloudnative-pg/postgresql @@ -150,20 +150,11 @@ postgres-17-cluster: storageClass: local-path monitoring: enabled: true - replica: - importType: microservice - importDatabases: - - jellyplist - externalCluster: - connectionParameters: - host: jellyplist-postgresql-16-cluster-rw - user: app - dbname: jellyplist - password: - name: jellyplist-postgresql-16-cluster-app - key: password + initdb: + postInitSQL: + - CREATE DATABASE "jellyplist" OWNER "app"; backup: - enabled: false + enabled: true endpointURL: https://nyc3.digitaloceanspaces.com destinationPath: s3://postgres-backups-ce540ddf106d186bbddca68a/cl01tl/jellyplist/jellyplist-postgresql-17-cluster endpointCredentials: jellyplist-postgresql-17-cluster-backup-secret