switch to pg-17

This commit is contained in:
2024-12-21 21:37:24 -06:00
parent be85006951
commit b6fda4d738

View File

@@ -39,17 +39,17 @@ jellyplist:
- name: JELLYPLIST_DB_HOST - name: JELLYPLIST_DB_HOST
valueFrom: valueFrom:
secretKeyRef: secretKeyRef:
name: jellyplist-postgresql-16-cluster-app name: jellyplist-postgresql-17-cluster-app
key: host key: host
- name: JELLYPLIST_DB_USER - name: JELLYPLIST_DB_USER
valueFrom: valueFrom:
secretKeyRef: secretKeyRef:
name: jellyplist-postgresql-16-cluster-app name: jellyplist-postgresql-17-cluster-app
key: username key: username
- name: JELLYPLIST_DB_PASSWORD - name: JELLYPLIST_DB_PASSWORD
valueFrom: valueFrom:
secretKeyRef: secretKeyRef:
name: jellyplist-postgresql-16-cluster-app name: jellyplist-postgresql-17-cluster-app
key: password key: password
- name: LIDARR_API_KEY - name: LIDARR_API_KEY
valueFrom: valueFrom:
@@ -139,7 +139,7 @@ postgres-16-cluster:
endpointCredentials: jellyplist-postgresql-16-cluster-backup-secret endpointCredentials: jellyplist-postgresql-16-cluster-backup-secret
backupIndex: 1 backupIndex: 1
postgres-17-cluster: postgres-17-cluster:
mode: replica mode: standalone
cluster: cluster:
image: image:
repository: ghcr.io/cloudnative-pg/postgresql repository: ghcr.io/cloudnative-pg/postgresql
@@ -150,20 +150,11 @@ postgres-17-cluster:
storageClass: local-path storageClass: local-path
monitoring: monitoring:
enabled: true enabled: true
replica: initdb:
importType: microservice postInitSQL:
importDatabases: - CREATE DATABASE "jellyplist" OWNER "app";
- jellyplist
externalCluster:
connectionParameters:
host: jellyplist-postgresql-16-cluster-rw
user: app
dbname: jellyplist
password:
name: jellyplist-postgresql-16-cluster-app
key: password
backup: backup:
enabled: false enabled: true
endpointURL: https://nyc3.digitaloceanspaces.com endpointURL: https://nyc3.digitaloceanspaces.com
destinationPath: s3://postgres-backups-ce540ddf106d186bbddca68a/cl01tl/jellyplist/jellyplist-postgresql-17-cluster destinationPath: s3://postgres-backups-ce540ddf106d186bbddca68a/cl01tl/jellyplist/jellyplist-postgresql-17-cluster
endpointCredentials: jellyplist-postgresql-17-cluster-backup-secret endpointCredentials: jellyplist-postgresql-17-cluster-backup-secret