mirror of
https://github.com/hanzoai/deploy.git
synced 2026-10-07 08:44:50 +00:00
* Copied MariaDB from old name and change to new name Adding Backup, SqlJobs, Grant, Database and User Signed-off-by: Mikael Sennerholm <[email protected]> * Set progressing as default Signed-off-by: Mikael Sennerholm <[email protected]> --------- Signed-off-by: Mikael Sennerholm <[email protected]> Co-authored-by: pasha-codefresh <[email protected]>
31 lines
605 B
YAML
31 lines
605 B
YAML
apiVersion: k8s.mariadb.com/v1alpha1
|
|
kind: Backup
|
|
metadata:
|
|
name: backup-local
|
|
spec:
|
|
backoffLimit: 5
|
|
logLevel: info
|
|
mariaDbRef:
|
|
name: mariadb
|
|
waitForIt: true
|
|
maxRetention: 168h
|
|
restartPolicy: OnFailure
|
|
schedule:
|
|
cron: 0 */2 * * *
|
|
suspend: false
|
|
serviceAccountName: backup-local
|
|
storage:
|
|
persistentVolumeClaim:
|
|
accessModes:
|
|
- ReadWriteOnce
|
|
resources:
|
|
requests:
|
|
storage: 80Gi
|
|
status:
|
|
conditions:
|
|
- lastTransitionTime: "2024-04-22T20:00:00Z"
|
|
message: Failed
|
|
reason: CronJobScheduled
|
|
status: "False"
|
|
type: Complete
|