From 933e943d6ec5283df26b402c76281981f8cb9ccd Mon Sep 17 00:00:00 2001 From: Alex Lebens Date: Thu, 12 Dec 2024 12:15:54 -0600 Subject: [PATCH] switch to digital ocean --- clusters/cl01tl/platform/ollama/Chart.yaml | 2 +- .../platform/ollama/templates/external-secret.yaml | 8 ++++---- clusters/cl01tl/platform/ollama/values.yaml | 12 ++---------- 3 files changed, 7 insertions(+), 15 deletions(-) diff --git a/clusters/cl01tl/platform/ollama/Chart.yaml b/clusters/cl01tl/platform/ollama/Chart.yaml index 000934af9..71c4ae48e 100644 --- a/clusters/cl01tl/platform/ollama/Chart.yaml +++ b/clusters/cl01tl/platform/ollama/Chart.yaml @@ -23,7 +23,7 @@ dependencies: version: 3.5.1 - name: postgres-cluster alias: postgres-16-cluster - version: 3.13.0 + version: 3.14.0 repository: http://alexlebens.github.io/helm-charts icon: https://avatars.githubusercontent.com/u/151674099?s=48&v=4 appVersion: 0.3.12 diff --git a/clusters/cl01tl/platform/ollama/templates/external-secret.yaml b/clusters/cl01tl/platform/ollama/templates/external-secret.yaml index 8febfb8bc..eb71d032e 100644 --- a/clusters/cl01tl/platform/ollama/templates/external-secret.yaml +++ b/clusters/cl01tl/platform/ollama/templates/external-secret.yaml @@ -194,13 +194,13 @@ spec: remoteRef: conversionStrategy: Default decodingStrategy: None - key: /aws/keys/cl01tl-ollama-web-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-ollama-web-postgresql + key: /digital-ocean/home-infra/postgres-backups metadataPolicy: None - property: secret_key + property: secret diff --git a/clusters/cl01tl/platform/ollama/values.yaml b/clusters/cl01tl/platform/ollama/values.yaml index 32eb5f5c4..a58650dc2 100644 --- a/clusters/cl01tl/platform/ollama/values.yaml +++ b/clusters/cl01tl/platform/ollama/values.yaml @@ -146,17 +146,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/ollama-web + endpointURL: https://nyc3.digitaloceanspaces.com + destinationPath: s3://postgres-backups-ce540ddf106d186bbddca68a/cl01tl/ollama/ollama-web-postgresql-16-cluster endpointCredentials: ollama-web-postgresql-16-cluster-backup-secret backupIndex: 1 - tags: - backupRetentionPolicy: "expire" - user: "cl01tl-ollama-web-postgresql" - historyTags: - backupRetentionPolicy: "keep" - user: "cl01tl-ollama-web-postgresql"