fix(backup): add check disk space (#1595)

This commit is contained in:
aby913 2025-07-23 00:56:27 +08:00 committed by GitHub
parent b3d8a2e718
commit 931f2992f4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1,6 +1,6 @@
{{ $backupVersion := "0.3.40" }}
{{ $backupVersion := "0.3.41" }}
{{ $backup_server_rootpath := printf "%s%s" .Values.rootPath "/rootfs/backup-server" }}
{{- $backup_nats_secret := (lookup "v1" "Secret" .Release.Namespace "backup-nats-secret") -}}
@ -44,6 +44,13 @@ spec:
spec:
hostNetwork: true
dnsPolicy: ClusterFirstWithHostNet
affinity:
nodeAffinity:
requiredDuringSchedulingIgnoredDuringExecution:
nodeSelectorTerms:
- matchExpressions:
- key: node-role.kubernetes.io/control-plane
operator: Exists
volumes:
- name: dbdata
hostPath: