Files
9b350ad31e feat(health): Implement k8s.mariadb.com CRD health checks (#17995)
* 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]>
2024-05-08 19:22:05 +03:00

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