Files
ViviandGitHub a1f76094cb feat: add MariaDB CRD health checks (#13143)
* feat: add MariaDB CRD health checks

Signed-off-by: Thomas Sirvent <[email protected]>

* feat: set Degraded health on MariaDB CRD error

Signed-off-by: Thomas Sirvent <[email protected]>

* style: add missing newline

Signed-off-by: Thomas Sirvent <[email protected]>

---------

Signed-off-by: Thomas Sirvent <[email protected]>
2023-05-04 18:03:40 -04:00

28 lines
556 B
YAML

apiVersion: mariadb.mmontes.io/v1alpha1
kind: MariaDB
metadata:
name: mariadb-server
spec:
rootPasswordSecretKeyRef:
name: mariadb
key: root-password
image:
repository: mariadb
tag: "10.7.4"
pullPolicy: IfNotPresent
port: 3306
volumeClaimTemplate:
resources:
requests:
storage: 100Mi
storageClassName: standard
accessModes:
- ReadWriteOnce
status:
conditions:
- lastTransitionTime: "2023-04-05T14:18:01Z"
message: Running
reason: StatefulSetReady
status: "True"
type: Ready