From 98ed9fa8e41157e915f398716f3cb95047f9e918 Mon Sep 17 00:00:00 2001 From: Alex Lebens Date: Thu, 12 Dec 2024 12:14:56 -0600 Subject: [PATCH] switch to digital ocean --- clusters/cl01tl/platform/matrix-synapse/Chart.yaml | 2 +- .../matrix-synapse/templates/external-secret.yaml | 8 ++++---- clusters/cl01tl/platform/matrix-synapse/values.yaml | 12 ++---------- 3 files changed, 7 insertions(+), 15 deletions(-) diff --git a/clusters/cl01tl/platform/matrix-synapse/Chart.yaml b/clusters/cl01tl/platform/matrix-synapse/Chart.yaml index f92bf1f26..f487ed863 100644 --- a/clusters/cl01tl/platform/matrix-synapse/Chart.yaml +++ b/clusters/cl01tl/platform/matrix-synapse/Chart.yaml @@ -63,7 +63,7 @@ dependencies: repository: http://alexlebens.github.io/helm-charts - name: postgres-cluster alias: postgres-16-cluster - version: 3.13.0 + version: 3.14.0 repository: http://alexlebens.github.io/helm-charts icon: https://raw.githubusercontent.com/walkxcode/dashboard-icons/main/png/matrix.png appVersion: 1.115.0 diff --git a/clusters/cl01tl/platform/matrix-synapse/templates/external-secret.yaml b/clusters/cl01tl/platform/matrix-synapse/templates/external-secret.yaml index 875101a60..92e2cae34 100644 --- a/clusters/cl01tl/platform/matrix-synapse/templates/external-secret.yaml +++ b/clusters/cl01tl/platform/matrix-synapse/templates/external-secret.yaml @@ -437,13 +437,13 @@ spec: remoteRef: conversionStrategy: Default decodingStrategy: None - key: /aws/keys/cl01tl-matrix-synapse-postgresql + key: /digital-ocean/home-infra/postgres-backups metadataPolicy: None - property: access_key + property: access - secretKey: ACCESS_SECRET_KEY remoteRef: conversionStrategy: Default decodingStrategy: None - key: /aws/keys/cl01tl-matrix-synapse-postgresql + key: /digital-ocean/home-infra/postgres-backups metadataPolicy: None - property: secret_key + property: secret diff --git a/clusters/cl01tl/platform/matrix-synapse/values.yaml b/clusters/cl01tl/platform/matrix-synapse/values.yaml index 583b3e749..00711efb9 100644 --- a/clusters/cl01tl/platform/matrix-synapse/values.yaml +++ b/clusters/cl01tl/platform/matrix-synapse/values.yaml @@ -331,17 +331,9 @@ postgres-16-cluster: storageClass: local-path monitoring: enabled: true - prometheusRule: - enabled: false backup: enabled: true - endpointURL: https://s3.us-east-2.amazonaws.com - destinationPath: s3://cl01tl-postgresql-backups/matrix-synapse + endpointURL: https://nyc3.digitaloceanspaces.com + destinationPath: s3://postgres-backups-ce540ddf106d186bbddca68a/cl01tl/matrix-synapse/matrix-synapse-postgresql-16-cluster endpointCredentials: matrix-synapse-postgresql-16-cluster-backup-secret backupIndex: 1 - tags: - backupRetentionPolicy: "expire" - user: "cl01tl-matrix-synapse-postgresql" - historyTags: - backupRetentionPolicy: "keep" - user: "cl01tl-matrix-synapse-postgresql"