longhorn default backup target

This commit is contained in:
azykov@mail.ru
2026-08-11 22:24:41 +03:00
parent 2505935b37
commit fab632e4b8
2 changed files with 14 additions and 0 deletions
@@ -0,0 +1,13 @@
apiVersion: longhorn.io/v1beta2
kind: BackupTarget
metadata:
name: default
namespace: longhorn-system
spec:
# this CR (not defaultSettings.backupTarget in helmrelease.yaml) is what
# Longhorn actually reads - it pre-existed this repo's management,
# pointing at a long-dead minio host. defaultSettings only seeds it on
# a truly fresh install, so it never overwrote the stale live object.
backupTargetURL: "s3://longhorn-backups@us-east-1/"
credentialSecret: longhorn-backup-target-secret
pollInterval: 5m0s
@@ -5,3 +5,4 @@ resources:
- secret.enc.yaml - secret.enc.yaml
- helmrelease.yaml - helmrelease.yaml
- ingress.yaml - ingress.yaml
- backuptarget.yaml