add backup target
This commit is contained in:
21
helm/longhorn/dev/templates/backup-target.yaml
Normal file
21
helm/longhorn/dev/templates/backup-target.yaml
Normal file
@@ -0,0 +1,21 @@
|
||||
apiVersion: longhorn.io/v1beta2
|
||||
kind: Setting
|
||||
metadata:
|
||||
name: backup-target
|
||||
namespace: {{ .Release.Namespace }}
|
||||
labels:
|
||||
backup-target-name: "nas-master"
|
||||
spec:
|
||||
value: "nfs://10.78.107.107:/SAUVEGARDES/KUBERNETES/dev"
|
||||
---
|
||||
apiVersion: longhorn.io/v1beta2
|
||||
kind: Setting
|
||||
metadata:
|
||||
name: backup-target-credential-secret
|
||||
namespace: {{ .Release.Namespace }}
|
||||
spec:
|
||||
# Secret Kubernetes contenant les credentials NFS si nécessaire
|
||||
# Format: namespace/secret-name
|
||||
# Laisser vide si pas d'authentification requise
|
||||
value: ""
|
||||
|
||||
Reference in New Issue
Block a user