feat: add BackupTarget configuration and update kustomization to include it

This commit is contained in:
2026-05-21 04:22:13 +00:00
parent 0645624ded
commit 351dff14d4
3 changed files with 10 additions and 2 deletions

View File

@@ -0,0 +1,9 @@
apiVersion: longhorn.io/v1beta2
kind: BackupTarget
metadata:
name: default
namespace: longhorn-system
spec:
backupTargetURL: "{{ .backupTarget }}"
credentialSecret: ""
pollInterval: 5m0s

View File

@@ -3,5 +3,6 @@ kind: Kustomization
resources:
- longhorn.yaml
- backup-target.yaml
- ingress.yaml
- volumesnapshotclass-longhorn.yaml

View File

@@ -83,8 +83,6 @@ data:
default-setting.yaml: |-
priority-class: longhorn-critical
disable-revision-counter: true
backup-target: {{ .backupTarget }}
backup-target-credential-secret: ""
---
# Source: longhorn/templates/storageclass.yaml
apiVersion: v1