switch to pg-17

This commit is contained in:
2024-12-23 18:36:21 -06:00
parent 78fea2da96
commit 655cb477d1

View File

@@ -32,22 +32,22 @@ sonarr4:
- name: SONARR__POSTGRES_HOST
valueFrom:
secretKeyRef:
name: sonarr4-postgresql-16-cluster-app
name: sonarr4-postgresql-17-cluster-app
key: host
- name: SONARR__POSTGRES_PORT
valueFrom:
secretKeyRef:
name: sonarr4-postgresql-16-cluster-app
name: sonarr4-postgresql-17-cluster-app
key: port
- name: SONARR__POSTGRES_USER
valueFrom:
secretKeyRef:
name: sonarr4-postgresql-16-cluster-app
name: sonarr4-postgresql-17-cluster-app
key: username
- name: SONARR__POSTGRES_PASSWORD
valueFrom:
secretKeyRef:
name: sonarr4-postgresql-16-cluster-app
name: sonarr4-postgresql-17-cluster-app
key: password
probes:
liveness:
@@ -165,7 +165,7 @@ postgres-16-cluster:
backupIndex: 1
retentionPolicy: "7d"
postgres-17-cluster:
mode: replica
mode: standalone
cluster:
image:
repository: ghcr.io/cloudnative-pg/postgresql
@@ -183,19 +183,6 @@ postgres-17-cluster:
postInitSQL:
- CREATE DATABASE "sonarr-main" OWNER "app";
- CREATE DATABASE "sonarr-log" OWNER "app";
replica:
importType: monolith
importDatabases:
- sonarr-main
- sonarr-log
externalCluster:
connectionParameters:
host: sonarr4-postgresql-16-cluster-rw
user: postgres
dbname: postgres
password:
name: sonarr4-postgresql-16-cluster-superuser
key: password
backup:
enabled: false
endpointURL: https://nyc3.digitaloceanspaces.com