mirror of
https://github.com/beclab/Olares
synced 2026-05-24 09:18:23 +00:00
fix(backup): add check disk space (#1595)
This commit is contained in:
parent
b3d8a2e718
commit
931f2992f4
1 changed files with 8 additions and 1 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Reference in a new issue