switch to digital ocean

This commit is contained in:
2024-12-12 11:39:25 -06:00
parent e72ce65f0b
commit b99711a851
3 changed files with 8 additions and 16 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/lidarr.png
appVersion: 2.4.3.4248

View File

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

View File

@@ -150,21 +150,13 @@ postgres-16-cluster:
storageClass: local-path
monitoring:
enabled: true
prometheusRule:
enabled: false
initdb:
postInitSQL:
- CREATE DATABASE "lidarr-main" OWNER "app";
- CREATE DATABASE "lidarr-log" OWNER "app";
backup:
enabled: false
endpointURL: https://s3.us-east-2.amazonaws.com
destinationPath: s3://cl01tl-postgresql-backups/lidarr2
enabled: true
endpointURL: https://nyc3.digitaloceanspaces.com
destinationPath: s3://postgres-backups-ce540ddf106d186bbddca68a/cl01tl/lidarr2/lidarr2-postgresql-16-cluster
endpointCredentials: lidarr2-postgresql-16-cluster-backup-secret
backupIndex: 1
tags:
backupRetentionPolicy: "expire"
user: "cl01tl-lidarr-postgresql"
historyTags:
backupRetentionPolicy: "keep"
user: "cl01tl-lidarr-postgresql"