From 6f7e40b0f8549f73af09d71ddb86479c9e4c2b4e Mon Sep 17 00:00:00 2001 From: Alex Lebens Date: Sat, 21 Dec 2024 21:01:17 -0600 Subject: [PATCH] add pg-17 cluster --- clusters/cl01tl/platform/gitea/Chart.yaml | 4 +++ clusters/cl01tl/platform/gitea/values.yaml | 30 ++++++++++++++++++++++ 2 files changed, 34 insertions(+) diff --git a/clusters/cl01tl/platform/gitea/Chart.yaml b/clusters/cl01tl/platform/gitea/Chart.yaml index c60008e62..31c4ac66c 100644 --- a/clusters/cl01tl/platform/gitea/Chart.yaml +++ b/clusters/cl01tl/platform/gitea/Chart.yaml @@ -33,5 +33,9 @@ dependencies: alias: postgres-16-cluster version: 3.19.0 repository: http://alexlebens.github.io/helm-charts + - name: postgres-cluster + alias: postgres-17-cluster + version: 3.19.0 + repository: http://alexlebens.github.io/helm-charts icon: https://raw.githubusercontent.com/walkxcode/dashboard-icons/main/png/gitea.png appVersion: 1.22.4 diff --git a/clusters/cl01tl/platform/gitea/values.yaml b/clusters/cl01tl/platform/gitea/values.yaml index e5b97524e..856741f91 100644 --- a/clusters/cl01tl/platform/gitea/values.yaml +++ b/clusters/cl01tl/platform/gitea/values.yaml @@ -182,3 +182,33 @@ postgres-16-cluster: destinationPath: s3://postgres-backups-ce540ddf106d186bbddca68a/cl01tl/gitea/gitea-postgresql-16-cluster endpointCredentials: gitea-postgresql-16-cluster-backup-secret backupIndex: 1 +postgres-17-cluster: + mode: replica + cluster: + image: + repository: ghcr.io/cloudnative-pg/postgresql + tag: "17.2-22" + walStorage: + storageClass: local-path + storage: + storageClass: local-path + monitoring: + enabled: true + replica: + importType: microservice + importDatabases: + - app + externalCluster: + connectionParameters: + host: gitea-postgresql-16-cluster-rw + user: app + dbname: app + password: + name: gitea-postgresql-16-cluster-app + key: password + backup: + enabled: false + endpointURL: https://nyc3.digitaloceanspaces.com + destinationPath: s3://postgres-backups-ce540ddf106d186bbddca68a/cl01tl/gitea/gitea-postgresql-17-cluster + endpointCredentials: gitea-postgresql-17-cluster-backup-secret + backupIndex: 1