switch to digital ocean

This commit is contained in:
2024-12-12 11:56:18 -06:00
parent 1b831fd693
commit beb5ccec6e
3 changed files with 8 additions and 16 deletions

View File

@@ -26,7 +26,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/sonarr.png
appVersion: 4.0.9.2244

View File

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

View File

@@ -150,8 +150,6 @@ postgres-16-cluster:
storageClass: local-path
monitoring:
enabled: true
prometheusRule:
enabled: false
initdb:
database: app
owner: app
@@ -159,14 +157,8 @@ postgres-16-cluster:
- CREATE DATABASE "sonarr-main" OWNER "app";
- CREATE DATABASE "sonarr-log" OWNER "app";
backup:
enabled: false
endpointURL: https://s3.us-east-2.amazonaws.com
destinationPath: s3://cl01tl-postgresql-backups/sonarr4-4k
enabled: true
endpointURL: https://nyc3.digitaloceanspaces.com
destinationPath: s3://postgres-backups-ce540ddf106d186bbddca68a/cl01tl/directus/directus-postgresql-16-cluster
endpointCredentials: sonarr4-4k-postgresql-16-cluster-backup-secret
backupIndex: 1
tags:
backupRetentionPolicy: "expire"
user: "cl01tl-sonarr-postgresql"
historyTags:
backupRetentionPolicy: "keep"
user: "cl01tl-sonarr-postgresql"