switch to digital ocean

This commit is contained in:
2024-12-12 12:14:10 -06:00
parent 6a79783266
commit fde960f65c
3 changed files with 9 additions and 22 deletions

View File

@@ -31,7 +31,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/gitea.png
appVersion: 1.22.2

View File

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

View File

@@ -168,7 +168,7 @@ backup:
- path: /opt/backup
readOnly: false
postgres-16-cluster:
mode: recovery
mode: standalone
cluster:
walStorage:
storageClass: local-path
@@ -176,22 +176,9 @@ postgres-16-cluster:
storageClass: local-path
monitoring:
enabled: true
prometheusRule:
enabled: false
recovery:
endpointURL: https://s3.us-east-2.amazonaws.com
destinationPath: s3://cl01tl-postgresql-backups/gitea
endpointCredentials: gitea-postgresql-16-cluster-backup-secret
recoveryIndex: 1
backup:
enabled: true
endpointURL: https://s3.us-east-2.amazonaws.com
destinationPath: s3://cl01tl-postgresql-backups/gitea
endpointURL: https://nyc3.digitaloceanspaces.com
destinationPath: s3://postgres-backups-ce540ddf106d186bbddca68a/cl01tl/gitea/gitea-postgresql-16-cluster
endpointCredentials: gitea-postgresql-16-cluster-backup-secret
backupIndex: 2
tags:
backupRetentionPolicy: "expire"
user: "cl01tl-gitea-postgresql"
historyTags:
backupRetentionPolicy: "keep"
user: "cl01tl-gitea-postgresql"
backupIndex: 1