switch to digital ocean

This commit is contained in:
2024-12-12 11:51:58 -06:00
parent 965fb45b83
commit 66ac489e53
4 changed files with 9 additions and 17 deletions

View File

@@ -160,7 +160,7 @@ postgres-16-cluster:
- CREATE DATABASE "readarr-log" OWNER "app";
- CREATE DATABASE "readarr-cache" OWNER app;
backup:
enabled: false
enabled: true
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

View File

@@ -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

View File

@@ -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

View File

@@ -152,8 +152,6 @@ postgres-16-cluster:
storageClass: local-path
monitoring:
enabled: true
prometheusRule:
enabled: false
initdb:
database: app
owner: app
@@ -162,14 +160,8 @@ postgres-16-cluster:
- CREATE DATABASE "readarr-log" OWNER "app";
- CREATE DATABASE "readarr-cache" OWNER app;
backup:
enabled: false
endpointURL: https://s3.us-east-2.amazonaws.com
destinationPath: s3://cl01tl-postgresql-backups/readarr-books
enabled: true
endpointURL: https://nyc3.digitaloceanspaces.com
destinationPath: s3://postgres-backups-ce540ddf106d186bbddca68a/cl01tl/readarr-books/readarr-books-postgresql-16-cluster
endpointCredentials: readarr-books-postgresql-16-cluster-backup-secret
backupIndex: 1
tags:
backupRetentionPolicy: "expire"
user: "cl01tl-readarr-postgresql"
historyTags:
backupRetentionPolicy: "keep"
user: "cl01tl-readarr-postgresql"