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

25 lines
478 B
YAML

apiVersion: k8s.mariadb.com/v1alpha1
kind: SqlJob
metadata:
name: jobname
spec:
backoffLimit: 5
database: dbname
mariaDbRef:
name: mariadb
waitForIt: true
passwordSecretKeyRef:
key: password
name: mariadb-root
restartPolicy: OnFailure
serviceAccountName: jobname
sql: "Some SQL"
username: root
status:
conditions:
- lastTransitionTime: "2024-03-19T11:39:00Z"
message: Failed
reason: JobFailed
status: "True"
type: Complete