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

24 lines
460 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: Never
serviceAccountName: jobname
sql: "some SQL;"
status:
conditions:
- lastTransitionTime: "2024-04-22T14:08:49Z"
message: Success
reason: JobComplete
status: "True"
type: Complete