switch to digital ocean

This commit is contained in:
2024-12-12 11:48:23 -06:00
parent 4820746472
commit 7e09cff5f0
3 changed files with 8 additions and 21 deletions

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/radarr.png
appVersion: 5.10.4.9218

View File

@@ -77,13 +77,13 @@ spec:
remoteRef:
conversionStrategy: Default
decodingStrategy: None
key: /aws/keys/cl01tl-radarr-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-radarr-postgresql
key: /digital-ocean/home-infra/postgres-backups
metadataPolicy: None
property: secret_key
property: secret

View File

@@ -142,7 +142,7 @@ radarr5:
- path: /mnt/store
readOnly: false
postgres-16-cluster:
mode: recovery
mode: standalone
cluster:
walStorage:
storageClass: local-path
@@ -150,28 +150,15 @@ postgres-16-cluster:
storageClass: local-path
monitoring:
enabled: true
prometheusRule:
enabled: false
initdb:
database: app
owner: app
postInitSQL:
- CREATE DATABASE "radarr-main" OWNER "app";
- CREATE DATABASE "radarr-log" OWNER "app";
recovery:
endpointURL: https://s3.us-east-2.amazonaws.com
destinationPath: s3://cl01tl-postgresql-backups/radarr5
endpointCredentials: radarr5-postgresql-16-cluster-backup-secret
recoveryIndex: 1
backup:
enabled: false
endpointURL: https://s3.us-east-2.amazonaws.com
destinationPath: s3://cl01tl-postgresql-backups/radarr5
endpointURL: https://nyc3.digitaloceanspaces.com
destinationPath: s3://postgres-backups-ce540ddf106d186bbddca68a/cl01tl/radarr5/radarr5-postgresql-16-cluster
endpointCredentials: radarr5-postgresql-16-cluster-backup-secret
backupIndex: 2
tags:
backupRetentionPolicy: "expire"
user: "cl01tl-radarr-postgresql"
historyTags:
backupRetentionPolicy: "keep"
user: "cl01tl-radarr-postgresql"