Use host path because im fucking lazy
This commit is contained in:
parent
51b7523829
commit
7e53160afe
1 changed files with 9 additions and 6 deletions
|
@ -28,16 +28,19 @@ spec:
|
|||
apiVersion: k8s.mariadb.com/v1alpha1
|
||||
kind: Backup
|
||||
metadata:
|
||||
name: backup-scheduled
|
||||
name: backup-local
|
||||
namespace: home-server
|
||||
spec:
|
||||
mariaDbRef:
|
||||
name: nextcloud-db
|
||||
schedule:
|
||||
cron: "0 1 * * *"
|
||||
suspend: false
|
||||
maxRetention: 168h
|
||||
storage:
|
||||
persistentVolumeClaim:
|
||||
claimName: mariadb-backup-pvc
|
||||
logLevel: info
|
||||
volumeMounts:
|
||||
- mountPath: /backups
|
||||
name: backup-volume
|
||||
volumes:
|
||||
- name: backup-volume
|
||||
hostPath:
|
||||
path: /dpool/backups/mariadb
|
||||
type: DirectoryOrCreate
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue