feat: Longhorn | set up automatic backups to R2

This commit is contained in:
2024-10-24 20:11:41 +05:00
parent 33f03970f8
commit 6dd312ea13
2 changed files with 15 additions and 0 deletions

View File

@@ -138,3 +138,13 @@ metadata:
operator.1password.io/auto-restart: "true"
spec:
itemPath: "vaults/Lab/items/longhorn-encryption"
---
apiVersion: onepassword.com/v1
kind: OnePasswordItem
metadata:
name: longhorn-backup
namespace: longhorn-system
annotations:
operator.1password.io/auto-restart: "true"
spec:
itemPath: "vaults/Lab/items/longhorn-backup"

View File

@@ -1,3 +1,8 @@
defaultSettings:
backupTarget: "s3://homelab-backups@apac/longhorn"
backupTargetCredentialSecret: longhorn-backup
backupCompressionMethod: "gzip"
backupConcurrentLimit: 4
metrics:
serviceMonitor:
enabled: true