mirror of
https://github.com/hanzoai/deploy.git
synced 2026-10-07 08:44:50 +00:00
* 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]>
28 lines
562 B
YAML
28 lines
562 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: Not ready
|
|
reason: StatefulSetNotReady
|
|
status: "False"
|
|
type: Ready
|