From 965fb45b835ab72ee193732879b97a75580d5229 Mon Sep 17 00:00:00 2001 From: Alex Lebens Date: Thu, 12 Dec 2024 11:51:05 -0600 Subject: [PATCH] switch to digital ocean --- .../applications/readarr-audiobooks/Chart.yaml | 2 +- .../templates/external-secret.yaml | 8 ++++---- .../applications/readarr-audiobooks/values.yaml | 12 ++---------- 3 files changed, 7 insertions(+), 15 deletions(-) diff --git a/clusters/cl01tl/applications/readarr-audiobooks/Chart.yaml b/clusters/cl01tl/applications/readarr-audiobooks/Chart.yaml index 4f74b00e2..19987187e 100644 --- a/clusters/cl01tl/applications/readarr-audiobooks/Chart.yaml +++ b/clusters/cl01tl/applications/readarr-audiobooks/Chart.yaml @@ -24,7 +24,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://raw.githubusercontent.com/walkxcode/dashboard-icons/main/png/readarr.png appVersion: 0.3.32.2587 diff --git a/clusters/cl01tl/applications/readarr-audiobooks/templates/external-secret.yaml b/clusters/cl01tl/applications/readarr-audiobooks/templates/external-secret.yaml index c5750c179..176ea5e1c 100644 --- a/clusters/cl01tl/applications/readarr-audiobooks/templates/external-secret.yaml +++ b/clusters/cl01tl/applications/readarr-audiobooks/templates/external-secret.yaml @@ -77,13 +77,13 @@ spec: remoteRef: conversionStrategy: Default decodingStrategy: None - key: /aws/keys/cl01tl-readarr-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-readarr-postgresql + key: /digital-ocean/home-infra/postgres-backups metadataPolicy: None - property: secret_key + property: secret diff --git a/clusters/cl01tl/applications/readarr-audiobooks/values.yaml b/clusters/cl01tl/applications/readarr-audiobooks/values.yaml index f26ecf74d..5b00e6263 100644 --- a/clusters/cl01tl/applications/readarr-audiobooks/values.yaml +++ b/clusters/cl01tl/applications/readarr-audiobooks/values.yaml @@ -152,8 +152,6 @@ postgres-16-cluster: storageClass: local-path monitoring: enabled: true - prometheusRule: - enabled: false initdb: database: app owner: app @@ -163,13 +161,7 @@ postgres-16-cluster: - CREATE DATABASE "readarr-cache" OWNER app; backup: enabled: false - endpointURL: https://s3.us-east-2.amazonaws.com - destinationPath: s3://cl01tl-postgresql-backups/readarr-audiobooks + endpointURL: https://nyc3.digitaloceanspaces.com + destinationPath: s3://postgres-backups-ce540ddf106d186bbddca68a/cl01tl/readarr-audiobooks/readarr-audiobooks-postgresql-16-cluster endpointCredentials: readarr-audiobooks-postgresql-16-cluster-backup-secret backupIndex: 1 - tags: - backupRetentionPolicy: "expire" - user: "cl01tl-readarr-postgresql" - historyTags: - backupRetentionPolicy: "keep" - user: "cl01tl-readarr-postgresql"