From 8d422dd5dfccd30629887f941a3429402556ae89 Mon Sep 17 00:00:00 2001 From: Alex Lebens Date: Thu, 12 Dec 2024 11:53:48 -0600 Subject: [PATCH] switch to digital ocean --- clusters/cl01tl/applications/ryot/Chart.yaml | 2 +- .../ryot/templates/external-secret.yaml | 8 ++++---- clusters/cl01tl/applications/ryot/values.yaml | 14 +++----------- 3 files changed, 8 insertions(+), 16 deletions(-) diff --git a/clusters/cl01tl/applications/ryot/Chart.yaml b/clusters/cl01tl/applications/ryot/Chart.yaml index f61e66e05..45d5d6095 100644 --- a/clusters/cl01tl/applications/ryot/Chart.yaml +++ b/clusters/cl01tl/applications/ryot/Chart.yaml @@ -27,7 +27,7 @@ dependencies: repository: https://operator.min.io/ - 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/IgnisDa/ryot/main/docs/logo.png appVersion: v7.3.0 diff --git a/clusters/cl01tl/applications/ryot/templates/external-secret.yaml b/clusters/cl01tl/applications/ryot/templates/external-secret.yaml index d0313915c..e0b5e86fc 100644 --- a/clusters/cl01tl/applications/ryot/templates/external-secret.yaml +++ b/clusters/cl01tl/applications/ryot/templates/external-secret.yaml @@ -206,13 +206,13 @@ spec: remoteRef: conversionStrategy: Default decodingStrategy: None - key: /aws/keys/cl01tl-ryot-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-ryot-postgresql + key: /digital-ocean/home-infra/postgres-backups metadataPolicy: None - property: secret_key + property: secret diff --git a/clusters/cl01tl/applications/ryot/values.yaml b/clusters/cl01tl/applications/ryot/values.yaml index c051c3a7d..d60aa597e 100644 --- a/clusters/cl01tl/applications/ryot/values.yaml +++ b/clusters/cl01tl/applications/ryot/values.yaml @@ -207,17 +207,9 @@ postgres-16-cluster: storageClass: local-path monitoring: enabled: true - prometheusRule: - enabled: false backup: - enabled: false - endpointURL: https://s3.us-east-2.amazonaws.com - destinationPath: s3://cl01tl-postgresql-backups/ryot + enabled: true + endpointURL: https://nyc3.digitaloceanspaces.com + destinationPath: s3://postgres-backups-ce540ddf106d186bbddca68a/cl01tl/ryot/ryot-postgresql-16-cluster endpointCredentials: ryot-postgresql-16-cluster-backup-secret backupIndex: 1 - tags: - backupRetentionPolicy: "expire" - user: "cl01tl-ryot-postgresql" - historyTags: - backupRetentionPolicy: "keep" - user: "cl01tl-ryot-postgresql"