apiVersion: k8s.mariadb.com/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: Ready
    reason: RestoreComplete
    status: "True"
    type: Bootstrapped
  - lastTransitionTime: "2023-04-05T14:18:02Z"
    message: Running
    reason: RestoreComplete
    status: "True"
    type: Ready
