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
|
apiVersion: k8s.mariadb.com/v1alpha1
|
||||||
kind: Backup
|
kind: Backup
|
||||||
metadata:
|
metadata:
|
||||||
name: backup-scheduled
|
name: backup-local
|
||||||
namespace: home-server
|
namespace: home-server
|
||||||
spec:
|
spec:
|
||||||
mariaDbRef:
|
mariaDbRef:
|
||||||
name: nextcloud-db
|
name: nextcloud-db
|
||||||
schedule:
|
schedule:
|
||||||
cron: "0 1 * * *"
|
cron: "0 1 * * *"
|
||||||
suspend: false
|
|
||||||
maxRetention: 168h
|
maxRetention: 168h
|
||||||
storage:
|
volumeMounts:
|
||||||
persistentVolumeClaim:
|
- mountPath: /backups
|
||||||
claimName: mariadb-backup-pvc
|
name: backup-volume
|
||||||
logLevel: info
|
volumes:
|
||||||
|
- name: backup-volume
|
||||||
|
hostPath:
|
||||||
|
path: /dpool/backups/mariadb
|
||||||
|
type: DirectoryOrCreate
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue