{
  "description": "MariaDB is the Schema for the mariadbs API. It is used to define MariaDB clusters.",
  "properties": {
    "apiVersion": {
      "description": "APIVersion defines the versioned schema of this representation of an object.\nServers should convert recognized schemas to the latest internal value, and\nmay reject unrecognized values.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
      "type": [
        "string",
        "null"
      ]
    },
    "kind": {
      "description": "Kind is a string value representing the REST resource this object represents.\nServers may infer this from the endpoint the client submits requests to.\nCannot be updated.\nIn CamelCase.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
      "type": [
        "string",
        "null"
      ]
    },
    "metadata": {
      "type": [
        "object",
        "null"
      ]
    },
    "spec": {
      "additionalProperties": false,
      "description": "MariaDBSpec defines the desired state of MariaDB",
      "properties": {
        "affinity": {
          "additionalProperties": false,
          "description": "Affinity to be used in the Pod.",
          "properties": {
            "antiAffinityEnabled": {
              "description": "AntiAffinityEnabled configures PodAntiAffinity so each Pod is scheduled in a different Node, enabling HA.\nMake sure you have at least as many Nodes available as the replicas to not end up with unscheduled Pods.",
              "type": [
                "boolean",
                "null"
              ]
            },
            "nodeAffinity": {
              "additionalProperties": false,
              "description": "Refer to the Kubernetes docs: https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.33/#nodeaffinity-v1-core",
              "properties": {
                "preferredDuringSchedulingIgnoredDuringExecution": {
                  "items": {
                    "additionalProperties": false,
                    "description": "Refer to the Kubernetes docs: https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.33/#preferredschedulingterm-v1-core",
                    "properties": {
                      "preference": {
                        "additionalProperties": false,
                        "description": "Refer to the Kubernetes docs: https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.33/#nodeselectorterm-v1-core",
                        "properties": {
                          "matchExpressions": {
                            "items": {
                              "additionalProperties": false,
                              "description": "Refer to the Kubernetes docs: https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.33/#nodeselectorrequirement-v1-core",
                              "properties": {
                                "key": {
                                  "type": "string"
                                },
                                "operator": {
                                  "description": "A node selector operator is the set of operators that can be used in\na node selector requirement.",
                                  "type": "string"
                                },
                                "values": {
                                  "items": {
                                    "type": "string"
                                  },
                                  "type": [
                                    "array",
                                    "null"
                                  ],
                                  "x-kubernetes-list-type": "atomic"
                                }
                              },
                              "required": [
                                "key",
                                "operator"
                              ],
                              "type": "object"
                            },
                            "type": [
                              "array",
                              "null"
                            ],
                            "x-kubernetes-list-type": "atomic"
                          },
                          "matchFields": {
                            "items": {
                              "additionalProperties": false,
                              "description": "Refer to the Kubernetes docs: https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.33/#nodeselectorrequirement-v1-core",
                              "properties": {
                                "key": {
                                  "type": "string"
                                },
                                "operator": {
                                  "description": "A node selector operator is the set of operators that can be used in\na node selector requirement.",
                                  "type": "string"
                                },
                                "values": {
                                  "items": {
                                    "type": "string"
                                  },
                                  "type": [
                                    "array",
                                    "null"
                                  ],
                                  "x-kubernetes-list-type": "atomic"
                                }
                              },
                              "required": [
                                "key",
                                "operator"
                              ],
                              "type": "object"
                            },
                            "type": [
                              "array",
                              "null"
                            ],
                            "x-kubernetes-list-type": "atomic"
                          }
                        },
                        "type": "object"
                      },
                      "weight": {
                        "format": "int32",
                        "type": "integer"
                      }
                    },
                    "required": [
                      "preference",
                      "weight"
                    ],
                    "type": "object"
                  },
                  "type": [
                    "array",
                    "null"
                  ],
                  "x-kubernetes-list-type": "atomic"
                },
                "requiredDuringSchedulingIgnoredDuringExecution": {
                  "additionalProperties": false,
                  "description": "Refer to the Kubernetes docs: https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.33/#nodeselector-v1-core",
                  "properties": {
                    "nodeSelectorTerms": {
                      "items": {
                        "additionalProperties": false,
                        "description": "Refer to the Kubernetes docs: https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.33/#nodeselectorterm-v1-core",
                        "properties": {
                          "matchExpressions": {
                            "items": {
                              "additionalProperties": false,
                              "description": "Refer to the Kubernetes docs: https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.33/#nodeselectorrequirement-v1-core",
                              "properties": {
                                "key": {
                                  "type": "string"
                                },
                                "operator": {
                                  "description": "A node selector operator is the set of operators that can be used in\na node selector requirement.",
                                  "type": "string"
                                },
                                "values": {
                                  "items": {
                                    "type": "string"
                                  },
                                  "type": [
                                    "array",
                                    "null"
                                  ],
                                  "x-kubernetes-list-type": "atomic"
                                }
                              },
                              "required": [
                                "key",
                                "operator"
                              ],
                              "type": "object"
                            },
                            "type": [
                              "array",
                              "null"
                            ],
                            "x-kubernetes-list-type": "atomic"
                          },
                          "matchFields": {
                            "items": {
                              "additionalProperties": false,
                              "description": "Refer to the Kubernetes docs: https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.33/#nodeselectorrequirement-v1-core",
                              "properties": {
                                "key": {
                                  "type": "string"
                                },
                                "operator": {
                                  "description": "A node selector operator is the set of operators that can be used in\na node selector requirement.",
                                  "type": "string"
                                },
                                "values": {
                                  "items": {
                                    "type": "string"
                                  },
                                  "type": [
                                    "array",
                                    "null"
                                  ],
                                  "x-kubernetes-list-type": "atomic"
                                }
                              },
                              "required": [
                                "key",
                                "operator"
                              ],
                              "type": "object"
                            },
                            "type": [
                              "array",
                              "null"
                            ],
                            "x-kubernetes-list-type": "atomic"
                          }
                        },
                        "type": "object"
                      },
                      "type": "array",
                      "x-kubernetes-list-type": "atomic"
                    }
                  },
                  "required": [
                    "nodeSelectorTerms"
                  ],
                  "type": [
                    "object",
                    "null"
                  ]
                }
              },
              "type": [
                "object",
                "null"
              ]
            },
            "podAntiAffinity": {
              "additionalProperties": false,
              "description": "Refer to the Kubernetes docs: https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.33/#podantiaffinity-v1-core.",
              "properties": {
                "preferredDuringSchedulingIgnoredDuringExecution": {
                  "items": {
                    "additionalProperties": false,
                    "description": "Refer to the Kubernetes docs: https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.33/#weightedpodaffinityterm-v1-core.",
                    "properties": {
                      "podAffinityTerm": {
                        "additionalProperties": false,
                        "description": "Refer to the Kubernetes docs: https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.33/#podaffinityterm-v1-core.",
                        "properties": {
                          "labelSelector": {
                            "additionalProperties": false,
                            "description": "Refer to the Kubernetes docs: https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.33/#labelselector-v1-meta",
                            "properties": {
                              "matchExpressions": {
                                "items": {
                                  "additionalProperties": false,
                                  "description": "Refer to the Kubernetes docs: https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.33/#labelselectorrequirement-v1-meta",
                                  "properties": {
                                    "key": {
                                      "type": "string"
                                    },
                                    "operator": {
                                      "description": "A label selector operator is the set of operators that can be used in a selector requirement.",
                                      "type": "string"
                                    },
                                    "values": {
                                      "items": {
                                        "type": "string"
                                      },
                                      "type": [
                                        "array",
                                        "null"
                                      ],
                                      "x-kubernetes-list-type": "atomic"
                                    }
                                  },
                                  "required": [
                                    "key",
                                    "operator"
                                  ],
                                  "type": "object"
                                },
                                "type": [
                                  "array",
                                  "null"
                                ],
                                "x-kubernetes-list-type": "atomic"
                              },
                              "matchLabels": {
                                "additionalProperties": {
                                  "type": "string"
                                },
                                "type": [
                                  "object",
                                  "null"
                                ]
                              }
                            },
                            "type": [
                              "object",
                              "null"
                            ]
                          },
                          "topologyKey": {
                            "type": "string"
                          }
                        },
                        "required": [
                          "topologyKey"
                        ],
                        "type": "object"
                      },
                      "weight": {
                        "format": "int32",
                        "type": "integer"
                      }
                    },
                    "required": [
                      "podAffinityTerm",
                      "weight"
                    ],
                    "type": "object"
                  },
                  "type": [
                    "array",
                    "null"
                  ],
                  "x-kubernetes-list-type": "atomic"
                },
                "requiredDuringSchedulingIgnoredDuringExecution": {
                  "items": {
                    "additionalProperties": false,
                    "description": "Refer to the Kubernetes docs: https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.33/#podaffinityterm-v1-core.",
                    "properties": {
                      "labelSelector": {
                        "additionalProperties": false,
                        "description": "Refer to the Kubernetes docs: https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.33/#labelselector-v1-meta",
                        "properties": {
                          "matchExpressions": {
                            "items": {
                              "additionalProperties": false,
                              "description": "Refer to the Kubernetes docs: https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.33/#labelselectorrequirement-v1-meta",
                              "properties": {
                                "key": {
                                  "type": "string"
                                },
                                "operator": {
                                  "description": "A label selector operator is the set of operators that can be used in a selector requirement.",
                                  "type": "string"
                                },
                                "values": {
                                  "items": {
                                    "type": "string"
                                  },
                                  "type": [
                                    "array",
                                    "null"
                                  ],
                                  "x-kubernetes-list-type": "atomic"
                                }
                              },
                              "required": [
                                "key",
                                "operator"
                              ],
                              "type": "object"
                            },
                            "type": [
                              "array",
                              "null"
                            ],
                            "x-kubernetes-list-type": "atomic"
                          },
                          "matchLabels": {
                            "additionalProperties": {
                              "type": "string"
                            },
                            "type": [
                              "object",
                              "null"
                            ]
                          }
                        },
                        "type": [
                          "object",
                          "null"
                        ]
                      },
                      "topologyKey": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "topologyKey"
                    ],
                    "type": "object"
                  },
                  "type": [
                    "array",
                    "null"
                  ],
                  "x-kubernetes-list-type": "atomic"
                }
              },
              "type": [
                "object",
                "null"
              ]
            }
          },
          "type": [
            "object",
            "null"
          ]
        },
        "args": {
          "description": "Args to be used in the Container.",
          "items": {
            "type": "string"
          },
          "type": [
            "array",
            "null"
          ]
        },
        "bootstrapFrom": {
          "additionalProperties": false,
          "description": "BootstrapFrom defines a source to bootstrap from.",
          "properties": {
            "backupContentType": {
              "description": "BackupContentType is the backup content type available in the source to bootstrap from.\nIt is inferred based on the BackupRef and VolumeSnapshotRef fields. If inference is not possible, it defaults to Logical.\nSet this field explicitly when using physical backups from S3 or Volume sources.",
              "enum": [
                "Logical",
                "Physical"
              ],
              "type": [
                "string",
                "null"
              ]
            },
            "backupRef": {
              "additionalProperties": false,
              "description": "BackupRef is reference to a backup object. If the Kind is not specified, a logical Backup is assumed.\nThis field takes precedence over S3 and Volume sources.",
              "properties": {
                "kind": {
                  "description": "Kind of the referent.",
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "name": {
                  "description": "Name of the referent.",
                  "type": [
                    "string",
                    "null"
                  ]
                }
              },
              "type": [
                "object",
                "null"
              ]
            },
            "restoreJob": {
              "additionalProperties": false,
              "description": "RestoreJob defines additional properties for the Job used to perform the restoration.",
              "properties": {
                "affinity": {
                  "additionalProperties": false,
                  "description": "Affinity to be used in the Pod.",
                  "properties": {
                    "antiAffinityEnabled": {
                      "description": "AntiAffinityEnabled configures PodAntiAffinity so each Pod is scheduled in a different Node, enabling HA.\nMake sure you have at least as many Nodes available as the replicas to not end up with unscheduled Pods.",
                      "type": [
                        "boolean",
                        "null"
                      ]
                    },
                    "nodeAffinity": {
                      "additionalProperties": false,
                      "description": "Refer to the Kubernetes docs: https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.33/#nodeaffinity-v1-core",
                      "properties": {
                        "preferredDuringSchedulingIgnoredDuringExecution": {
                          "items": {
                            "additionalProperties": false,
                            "description": "Refer to the Kubernetes docs: https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.33/#preferredschedulingterm-v1-core",
                            "properties": {
                              "preference": {
                                "additionalProperties": false,
                                "description": "Refer to the Kubernetes docs: https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.33/#nodeselectorterm-v1-core",
                                "properties": {
                                  "matchExpressions": {
                                    "items": {
                                      "additionalProperties": false,
                                      "description": "Refer to the Kubernetes docs: https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.33/#nodeselectorrequirement-v1-core",
                                      "properties": {
                                        "key": {
                                          "type": "string"
                                        },
                                        "operator": {
                                          "description": "A node selector operator is the set of operators that can be used in\na node selector requirement.",
                                          "type": "string"
                                        },
                                        "values": {
                                          "items": {
                                            "type": "string"
                                          },
                                          "type": [
                                            "array",
                                            "null"
                                          ],
                                          "x-kubernetes-list-type": "atomic"
                                        }
                                      },
                                      "required": [
                                        "key",
                                        "operator"
                                      ],
                                      "type": "object"
                                    },
                                    "type": [
                                      "array",
                                      "null"
                                    ],
                                    "x-kubernetes-list-type": "atomic"
                                  },
                                  "matchFields": {
                                    "items": {
                                      "additionalProperties": false,
                                      "description": "Refer to the Kubernetes docs: https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.33/#nodeselectorrequirement-v1-core",
                                      "properties": {
                                        "key": {
                                          "type": "string"
                                        },
                                        "operator": {
                                          "description": "A node selector operator is the set of operators that can be used in\na node selector requirement.",
                                          "type": "string"
                                        },
                                        "values": {
                                          "items": {
                                            "type": "string"
                                          },
                                          "type": [
                                            "array",
                                            "null"
                                          ],
                                          "x-kubernetes-list-type": "atomic"
                                        }
                                      },
                                      "required": [
                                        "key",
                                        "operator"
                                      ],
                                      "type": "object"
                                    },
                                    "type": [
                                      "array",
                                      "null"
                                    ],
                                    "x-kubernetes-list-type": "atomic"
                                  }
                                },
                                "type": "object"
                              },
                              "weight": {
                                "format": "int32",
                                "type": "integer"
                              }
                            },
                            "required": [
                              "preference",
                              "weight"
                            ],
                            "type": "object"
                          },
                          "type": [
                            "array",
                            "null"
                          ],
                          "x-kubernetes-list-type": "atomic"
                        },
                        "requiredDuringSchedulingIgnoredDuringExecution": {
                          "additionalProperties": false,
                          "description": "Refer to the Kubernetes docs: https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.33/#nodeselector-v1-core",
                          "properties": {
                            "nodeSelectorTerms": {
                              "items": {
                                "additionalProperties": false,
                                "description": "Refer to the Kubernetes docs: https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.33/#nodeselectorterm-v1-core",
                                "properties": {
                                  "matchExpressions": {
                                    "items": {
                                      "additionalProperties": false,
                                      "description": "Refer to the Kubernetes docs: https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.33/#nodeselectorrequirement-v1-core",
                                      "properties": {
                                        "key": {
                                          "type": "string"
                                        },
                                        "operator": {
                                          "description": "A node selector operator is the set of operators that can be used in\na node selector requirement.",
                                          "type": "string"
                                        },
                                        "values": {
                                          "items": {
                                            "type": "string"
                                          },
                                          "type": [
                                            "array",
                                            "null"
                                          ],
                                          "x-kubernetes-list-type": "atomic"
                                        }
                                      },
                                      "required": [
                                        "key",
                                        "operator"
                                      ],
                                      "type": "object"
                                    },
                                    "type": [
                                      "array",
                                      "null"
                                    ],
                                    "x-kubernetes-list-type": "atomic"
                                  },
                                  "matchFields": {
                                    "items": {
                                      "additionalProperties": false,
                                      "description": "Refer to the Kubernetes docs: https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.33/#nodeselectorrequirement-v1-core",
                                      "properties": {
                                        "key": {
                                          "type": "string"
                                        },
                                        "operator": {
                                          "description": "A node selector operator is the set of operators that can be used in\na node selector requirement.",
                                          "type": "string"
                                        },
                                        "values": {
                                          "items": {
                                            "type": "string"
                                          },
                                          "type": [
                                            "array",
                                            "null"
                                          ],
                                          "x-kubernetes-list-type": "atomic"
                                        }
                                      },
                                      "required": [
                                        "key",
                                        "operator"
                                      ],
                                      "type": "object"
                                    },
                                    "type": [
                                      "array",
                                      "null"
                                    ],
                                    "x-kubernetes-list-type": "atomic"
                                  }
                                },
                                "type": "object"
                              },
                              "type": "array",
                              "x-kubernetes-list-type": "atomic"
                            }
                          },
                          "required": [
                            "nodeSelectorTerms"
                          ],
                          "type": [
                            "object",
                            "null"
                          ]
                        }
                      },
                      "type": [
                        "object",
                        "null"
                      ]
                    },
                    "podAntiAffinity": {
                      "additionalProperties": false,
                      "description": "Refer to the Kubernetes docs: https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.33/#podantiaffinity-v1-core.",
                      "properties": {
                        "preferredDuringSchedulingIgnoredDuringExecution": {
                          "items": {
                            "additionalProperties": false,
                            "description": "Refer to the Kubernetes docs: https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.33/#weightedpodaffinityterm-v1-core.",
                            "properties": {
                              "podAffinityTerm": {
                                "additionalProperties": false,
                                "description": "Refer to the Kubernetes docs: https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.33/#podaffinityterm-v1-core.",
                                "properties": {
                                  "labelSelector": {
                                    "additionalProperties": false,
                                    "description": "Refer to the Kubernetes docs: https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.33/#labelselector-v1-meta",
                                    "properties": {
                                      "matchExpressions": {
                                        "items": {
                                          "additionalProperties": false,
                                          "description": "Refer to the Kubernetes docs: https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.33/#labelselectorrequirement-v1-meta",
                                          "properties": {
                                            "key": {
                                              "type": "string"
                                            },
                                            "operator": {
                                              "description": "A label selector operator is the set of operators that can be used in a selector requirement.",
                                              "type": "string"
                                            },
                                            "values": {
                                              "items": {
                                                "type": "string"
                                              },
                                              "type": [
                                                "array",
                                                "null"
                                              ],
                                              "x-kubernetes-list-type": "atomic"
                                            }
                                          },
                                          "required": [
                                            "key",
                                            "operator"
                                          ],
                                          "type": "object"
                                        },
                                        "type": [
                                          "array",
                                          "null"
                                        ],
                                        "x-kubernetes-list-type": "atomic"
                                      },
                                      "matchLabels": {
                                        "additionalProperties": {
                                          "type": "string"
                                        },
                                        "type": [
                                          "object",
                                          "null"
                                        ]
                                      }
                                    },
                                    "type": [
                                      "object",
                                      "null"
                                    ]
                                  },
                                  "topologyKey": {
                                    "type": "string"
                                  }
                                },
                                "required": [
                                  "topologyKey"
                                ],
                                "type": "object"
                              },
                              "weight": {
                                "format": "int32",
                                "type": "integer"
                              }
                            },
                            "required": [
                              "podAffinityTerm",
                              "weight"
                            ],
                            "type": "object"
                          },
                          "type": [
                            "array",
                            "null"
                          ],
                          "x-kubernetes-list-type": "atomic"
                        },
                        "requiredDuringSchedulingIgnoredDuringExecution": {
                          "items": {
                            "additionalProperties": false,
                            "description": "Refer to the Kubernetes docs: https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.33/#podaffinityterm-v1-core.",
                            "properties": {
                              "labelSelector": {
                                "additionalProperties": false,
                                "description": "Refer to the Kubernetes docs: https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.33/#labelselector-v1-meta",
                                "properties": {
                                  "matchExpressions": {
                                    "items": {
                                      "additionalProperties": false,
                                      "description": "Refer to the Kubernetes docs: https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.33/#labelselectorrequirement-v1-meta",
                                      "properties": {
                                        "key": {
                                          "type": "string"
                                        },
                                        "operator": {
                                          "description": "A label selector operator is the set of operators that can be used in a selector requirement.",
                                          "type": "string"
                                        },
                                        "values": {
                                          "items": {
                                            "type": "string"
                                          },
                                          "type": [
                                            "array",
                                            "null"
                                          ],
                                          "x-kubernetes-list-type": "atomic"
                                        }
                                      },
                                      "required": [
                                        "key",
                                        "operator"
                                      ],
                                      "type": "object"
                                    },
                                    "type": [
                                      "array",
                                      "null"
                                    ],
                                    "x-kubernetes-list-type": "atomic"
                                  },
                                  "matchLabels": {
                                    "additionalProperties": {
                                      "type": "string"
                                    },
                                    "type": [
                                      "object",
                                      "null"
                                    ]
                                  }
                                },
                                "type": [
                                  "object",
                                  "null"
                                ]
                              },
                              "topologyKey": {
                                "type": "string"
                              }
                            },
                            "required": [
                              "topologyKey"
                            ],
                            "type": "object"
                          },
                          "type": [
                            "array",
                            "null"
                          ],
                          "x-kubernetes-list-type": "atomic"
                        }
                      },
                      "type": [
                        "object",
                        "null"
                      ]
                    }
                  },
                  "type": [
                    "object",
                    "null"
                  ]
                },
                "args": {
                  "description": "Args to be used in the Container.",
                  "items": {
                    "type": "string"
                  },
                  "type": [
                    "array",
                    "null"
                  ]
                },
                "metadata": {
                  "additionalProperties": false,
                  "description": "Metadata defines additional metadata for the bootstrap Jobs.",
                  "properties": {
                    "annotations": {
                      "additionalProperties": {
                        "type": "string"
                      },
                      "description": "Annotations to be added to children resources.",
                      "type": [
                        "object",
                        "null"
                      ]
                    },
                    "labels": {
                      "additionalProperties": {
                        "type": "string"
                      },
                      "description": "Labels to be added to children resources.",
                      "type": [
                        "object",
                        "null"
                      ]
                    }
                  },
                  "type": [
                    "object",
                    "null"
                  ]
                },
                "nodeSelector": {
                  "additionalProperties": {
                    "type": "string"
                  },
                  "description": "NodeSelector to be used in the Pod.",
                  "type": [
                    "object",
                    "null"
                  ]
                },
                "resources": {
                  "additionalProperties": false,
                  "description": "Resources describes the compute resource requirements.",
                  "properties": {
                    "limits": {
                      "additionalProperties": {
                        "oneOf": [
                          {
                            "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$",
                            "type": "string"
                          },
                          {
                            "type": "integer"
                          }
                        ],
                        "x-kubernetes-int-or-string": true
                      },
                      "description": "ResourceList is a set of (resource name, quantity) pairs.",
                      "type": [
                        "object",
                        "null"
                      ]
                    },
                    "requests": {
                      "additionalProperties": {
                        "oneOf": [
                          {
                            "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$",
                            "type": "string"
                          },
                          {
                            "type": "integer"
                          }
                        ],
                        "x-kubernetes-int-or-string": true
                      },
                      "description": "ResourceList is a set of (resource name, quantity) pairs.",
                      "type": [
                        "object",
                        "null"
                      ]
                    }
                  },
                  "type": [
                    "object",
                    "null"
                  ]
                },
                "tolerations": {
                  "description": "Tolerations to be used in the Pod.",
                  "items": {
                    "additionalProperties": false,
                    "description": "The pod this Toleration is attached to tolerates any taint that matches\nthe triple \u003ckey,value,effect\u003e using the matching operator \u003coperator\u003e.",
                    "properties": {
                      "effect": {
                        "description": "Effect indicates the taint effect to match. Empty means match all taint effects.\nWhen specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute.",
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "key": {
                        "description": "Key is the taint key that the toleration applies to. Empty means match all taint keys.\nIf the key is empty, operator must be Exists; this combination means to match all values and all keys.",
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "operator": {
                        "description": "Operator represents a key's relationship to the value.\nValid operators are Exists and Equal. Defaults to Equal.\nExists is equivalent to wildcard for value, so that a pod can\ntolerate all taints of a particular category.",
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "tolerationSeconds": {
                        "description": "TolerationSeconds represents the period of time the toleration (which must be\nof effect NoExecute, otherwise this field is ignored) tolerates the taint. By default,\nit is not set, which means tolerate the taint forever (do not evict). Zero and\nnegative values will be treated as 0 (evict immediately) by the system.",
                        "format": "int64",
                        "type": [
                          "integer",
                          "null"
                        ]
                      },
                      "value": {
                        "description": "Value is the taint value the toleration matches to.\nIf the operator is Exists, the value should be empty, otherwise just a regular string.",
                        "type": [
                          "string",
                          "null"
                        ]
                      }
                    },
                    "type": "object"
                  },
                  "type": [
                    "array",
                    "null"
                  ]
                }
              },
              "type": [
                "object",
                "null"
              ]
            },
            "s3": {
              "additionalProperties": false,
              "description": "S3 defines the configuration to restore backups from a S3 compatible storage.\nThis field takes precedence over the Volume source.",
              "properties": {
                "accessKeyIdSecretKeyRef": {
                  "additionalProperties": false,
                  "description": "AccessKeyIdSecretKeyRef is a reference to a Secret key containing the S3 access key id.",
                  "properties": {
                    "key": {
                      "type": "string"
                    },
                    "name": {
                      "default": "",
                      "type": [
                        "string",
                        "null"
                      ]
                    }
                  },
                  "required": [
                    "key"
                  ],
                  "type": [
                    "object",
                    "null"
                  ],
                  "x-kubernetes-map-type": "atomic"
                },
                "bucket": {
                  "description": "Bucket is the name Name of the bucket to store backups.",
                  "type": "string"
                },
                "endpoint": {
                  "description": "Endpoint is the S3 API endpoint without scheme.",
                  "type": "string"
                },
                "prefix": {
                  "description": "Prefix indicates a folder/subfolder in the bucket. For example: mariadb/ or mariadb/backups. A trailing slash '/' is added if not provided.",
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "region": {
                  "description": "Region is the S3 region name to use.",
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "secretAccessKeySecretKeyRef": {
                  "additionalProperties": false,
                  "description": "AccessKeyIdSecretKeyRef is a reference to a Secret key containing the S3 secret key.",
                  "properties": {
                    "key": {
                      "type": "string"
                    },
                    "name": {
                      "default": "",
                      "type": [
                        "string",
                        "null"
                      ]
                    }
                  },
                  "required": [
                    "key"
                  ],
                  "type": [
                    "object",
                    "null"
                  ],
                  "x-kubernetes-map-type": "atomic"
                },
                "sessionTokenSecretKeyRef": {
                  "additionalProperties": false,
                  "description": "SessionTokenSecretKeyRef is a reference to a Secret key containing the S3 session token.",
                  "properties": {
                    "key": {
                      "type": "string"
                    },
                    "name": {
                      "default": "",
                      "type": [
                        "string",
                        "null"
                      ]
                    }
                  },
                  "required": [
                    "key"
                  ],
                  "type": [
                    "object",
                    "null"
                  ],
                  "x-kubernetes-map-type": "atomic"
                },
                "tls": {
                  "additionalProperties": false,
                  "description": "TLS provides the configuration required to establish TLS connections with S3.",
                  "properties": {
                    "caSecretKeyRef": {
                      "additionalProperties": false,
                      "description": "CASecretKeyRef is a reference to a Secret key containing a CA bundle in PEM format used to establish TLS connections with S3.\nBy default, the system trust chain will be used, but you can use this field to add more CAs to the bundle.",
                      "properties": {
                        "key": {
                          "type": "string"
                        },
                        "name": {
                          "default": "",
                          "type": [
                            "string",
                            "null"
                          ]
                        }
                      },
                      "required": [
                        "key"
                      ],
                      "type": [
                        "object",
                        "null"
                      ],
                      "x-kubernetes-map-type": "atomic"
                    },
                    "enabled": {
                      "description": "Enabled is a flag to enable TLS.",
                      "type": [
                        "boolean",
                        "null"
                      ]
                    }
                  },
                  "type": [
                    "object",
                    "null"
                  ]
                }
              },
              "required": [
                "bucket",
                "endpoint"
              ],
              "type": [
                "object",
                "null"
              ]
            },
            "stagingStorage": {
              "additionalProperties": false,
              "description": "StagingStorage defines the temporary storage used to keep external backups (i.e. S3) while they are being processed.\nIt defaults to an emptyDir volume, meaning that the backups will be temporarily stored in the node where the Job is scheduled.",
              "properties": {
                "persistentVolumeClaim": {
                  "additionalProperties": false,
                  "description": "PersistentVolumeClaim is a Kubernetes PVC specification.",
                  "properties": {
                    "accessModes": {
                      "items": {
                        "type": "string"
                      },
                      "type": [
                        "array",
                        "null"
                      ],
                      "x-kubernetes-list-type": "atomic"
                    },
                    "resources": {
                      "additionalProperties": false,
                      "description": "VolumeResourceRequirements describes the storage resource requirements for a volume.",
                      "properties": {
                        "limits": {
                          "additionalProperties": {
                            "oneOf": [
                              {
                                "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$",
                                "type": "string"
                              },
                              {
                                "type": "integer"
                              }
                            ],
                            "x-kubernetes-int-or-string": true
                          },
                          "description": "Limits describes the maximum amount of compute resources allowed.\nMore info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/",
                          "type": [
                            "object",
                            "null"
                          ]
                        },
                        "requests": {
                          "additionalProperties": {
                            "oneOf": [
                              {
                                "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$",
                                "type": "string"
                              },
                              {
                                "type": "integer"
                              }
                            ],
                            "x-kubernetes-int-or-string": true
                          },
                          "description": "Requests describes the minimum amount of compute resources required.\nIf Requests is omitted for a container, it defaults to Limits if that is explicitly specified,\notherwise to an implementation-defined value. Requests cannot exceed Limits.\nMore info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/",
                          "type": [
                            "object",
                            "null"
                          ]
                        }
                      },
                      "type": [
                        "object",
                        "null"
                      ]
                    },
                    "selector": {
                      "additionalProperties": false,
                      "description": "A label selector is a label query over a set of resources. The result of matchLabels and\nmatchExpressions are ANDed. An empty label selector matches all objects. A null\nlabel selector matches no objects.",
                      "properties": {
                        "matchExpressions": {
                          "description": "matchExpressions is a list of label selector requirements. The requirements are ANDed.",
                          "items": {
                            "additionalProperties": false,
                            "description": "A label selector requirement is a selector that contains values, a key, and an operator that\nrelates the key and values.",
                            "properties": {
                              "key": {
                                "description": "key is the label key that the selector applies to.",
                                "type": "string"
                              },
                              "operator": {
                                "description": "operator represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists and DoesNotExist.",
                                "type": "string"
                              },
                              "values": {
                                "description": "values is an array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. This array is replaced during a strategic\nmerge patch.",
                                "items": {
                                  "type": "string"
                                },
                                "type": [
                                  "array",
                                  "null"
                                ],
                                "x-kubernetes-list-type": "atomic"
                              }
                            },
                            "required": [
                              "key",
                              "operator"
                            ],
                            "type": "object"
                          },
                          "type": [
                            "array",
                            "null"
                          ],
                          "x-kubernetes-list-type": "atomic"
                        },
                        "matchLabels": {
                          "additionalProperties": {
                            "type": "string"
                          },
                          "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels\nmap is equivalent to an element of matchExpressions, whose key field is \"key\", the\noperator is \"In\", and the values array contains only \"value\". The requirements are ANDed.",
                          "type": [
                            "object",
                            "null"
                          ]
                        }
                      },
                      "type": [
                        "object",
                        "null"
                      ],
                      "x-kubernetes-map-type": "atomic"
                    },
                    "storageClassName": {
                      "type": [
                        "string",
                        "null"
                      ]
                    }
                  },
                  "type": [
                    "object",
                    "null"
                  ]
                },
                "volume": {
                  "additionalProperties": false,
                  "description": "Volume is a Kubernetes volume specification.",
                  "properties": {
                    "csi": {
                      "additionalProperties": false,
                      "description": "Refer to the Kubernetes docs: https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.33/#csivolumesource-v1-core.",
                      "properties": {
                        "driver": {
                          "type": "string"
                        },
                        "fsType": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "nodePublishSecretRef": {
                          "additionalProperties": false,
                          "description": "Refer to the Kubernetes docs: https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.33/#localobjectreference-v1-core.",
                          "properties": {
                            "name": {
                              "default": "",
                              "type": [
                                "string",
                                "null"
                              ]
                            }
                          },
                          "type": [
                            "object",
                            "null"
                          ]
                        },
                        "readOnly": {
                          "type": [
                            "boolean",
                            "null"
                          ]
                        },
                        "volumeAttributes": {
                          "additionalProperties": {
                            "type": "string"
                          },
                          "type": [
                            "object",
                            "null"
                          ]
                        }
                      },
                      "required": [
                        "driver"
                      ],
                      "type": [
                        "object",
                        "null"
                      ]
                    },
                    "emptyDir": {
                      "additionalProperties": false,
                      "description": "Refer to the Kubernetes docs: https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.33/#emptydirvolumesource-v1-core.",
                      "properties": {
                        "medium": {
                          "description": "StorageMedium defines ways that storage can be allocated to a volume.",
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "sizeLimit": {
                          "oneOf": [
                            {
                              "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$",
                              "type": "string"
                            },
                            {
                              "type": "integer"
                            },
                            {
                              "type": "null"
                            }
                          ],
                          "x-kubernetes-int-or-string": true
                        }
                      },
                      "type": [
                        "object",
                        "null"
                      ]
                    },
                    "hostPath": {
                      "additionalProperties": false,
                      "description": "Refer to the Kubernetes docs: https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.33/#hostpathvolumesource-v1-core",
                      "properties": {
                        "path": {
                          "type": "string"
                        },
                        "type": {
                          "type": [
                            "string",
                            "null"
                          ]
                        }
                      },
                      "required": [
                        "path"
                      ],
                      "type": [
                        "object",
                        "null"
                      ]
                    },
                    "nfs": {
                      "additionalProperties": false,
                      "description": "Refer to the Kubernetes docs: https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.33/#nfsvolumesource-v1-core.",
                      "properties": {
                        "path": {
                          "type": "string"
                        },
                        "readOnly": {
                          "type": [
                            "boolean",
                            "null"
                          ]
                        },
                        "server": {
                          "type": "string"
                        }
                      },
                      "required": [
                        "path",
                        "server"
                      ],
                      "type": [
                        "object",
                        "null"
                      ]
                    },
                    "persistentVolumeClaim": {
                      "additionalProperties": false,
                      "description": "Refer to the Kubernetes docs: https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.33/#persistentvolumeclaimvolumesource-v1-core.",
                      "properties": {
                        "claimName": {
                          "type": "string"
                        },
                        "readOnly": {
                          "type": [
                            "boolean",
                            "null"
                          ]
                        }
                      },
                      "required": [
                        "claimName"
                      ],
                      "type": [
                        "object",
                        "null"
                      ]
                    }
                  },
                  "type": [
                    "object",
                    "null"
                  ]
                }
              },
              "type": [
                "object",
                "null"
              ]
            },
            "targetRecoveryTime": {
              "description": "TargetRecoveryTime is a RFC3339 (1970-01-01T00:00:00Z) date and time that defines the point in time recovery objective.\nIt is used to determine the closest restoration source in time.",
              "format": "date-time",
              "type": [
                "string",
                "null"
              ]
            },
            "volume": {
              "additionalProperties": false,
              "description": "Volume is a Kubernetes Volume object that contains a backup.",
              "properties": {
                "csi": {
                  "additionalProperties": false,
                  "description": "Refer to the Kubernetes docs: https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.33/#csivolumesource-v1-core.",
                  "properties": {
                    "driver": {
                      "type": "string"
                    },
                    "fsType": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "nodePublishSecretRef": {
                      "additionalProperties": false,
                      "description": "Refer to the Kubernetes docs: https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.33/#localobjectreference-v1-core.",
                      "properties": {
                        "name": {
                          "default": "",
                          "type": [
                            "string",
                            "null"
                          ]
                        }
                      },
                      "type": [
                        "object",
                        "null"
                      ]
                    },
                    "readOnly": {
                      "type": [
                        "boolean",
                        "null"
                      ]
                    },
                    "volumeAttributes": {
                      "additionalProperties": {
                        "type": "string"
                      },
                      "type": [
                        "object",
                        "null"
                      ]
                    }
                  },
                  "required": [
                    "driver"
                  ],
                  "type": [
                    "object",
                    "null"
                  ]
                },
                "emptyDir": {
                  "additionalProperties": false,
                  "description": "Refer to the Kubernetes docs: https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.33/#emptydirvolumesource-v1-core.",
                  "properties": {
                    "medium": {
                      "description": "StorageMedium defines ways that storage can be allocated to a volume.",
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "sizeLimit": {
                      "oneOf": [
                        {
                          "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$",
                          "type": "string"
                        },
                        {
                          "type": "integer"
                        },
                        {
                          "type": "null"
                        }
                      ],
                      "x-kubernetes-int-or-string": true
                    }
                  },
                  "type": [
                    "object",
                    "null"
                  ]
                },
                "hostPath": {
                  "additionalProperties": false,
                  "description": "Refer to the Kubernetes docs: https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.33/#hostpathvolumesource-v1-core",
                  "properties": {
                    "path": {
                      "type": "string"
                    },
                    "type": {
                      "type": [
                        "string",
                        "null"
                      ]
                    }
                  },
                  "required": [
                    "path"
                  ],
                  "type": [
                    "object",
                    "null"
                  ]
                },
                "nfs": {
                  "additionalProperties": false,
                  "description": "Refer to the Kubernetes docs: https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.33/#nfsvolumesource-v1-core.",
                  "properties": {
                    "path": {
                      "type": "string"
                    },
                    "readOnly": {
                      "type": [
                        "boolean",
                        "null"
                      ]
                    },
                    "server": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "path",
                    "server"
                  ],
                  "type": [
                    "object",
                    "null"
                  ]
                },
                "persistentVolumeClaim": {
                  "additionalProperties": false,
                  "description": "Refer to the Kubernetes docs: https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.33/#persistentvolumeclaimvolumesource-v1-core.",
                  "properties": {
                    "claimName": {
                      "type": "string"
                    },
                    "readOnly": {
                      "type": [
                        "boolean",
                        "null"
                      ]
                    }
                  },
                  "required": [
                    "claimName"
                  ],
                  "type": [
                    "object",
                    "null"
                  ]
                }
              },
              "type": [
                "object",
                "null"
              ]
            },
            "volumeSnapshotRef": {
              "additionalProperties": false,
              "description": "VolumeSnapshotRef is a reference to a VolumeSnapshot object.\nThis field takes precedence over S3 and Volume sources.",
              "properties": {
                "name": {
                  "default": "",
                  "type": [
                    "string",
                    "null"
                  ]
                }
              },
              "type": [
                "object",
                "null"
              ]
            }
          },
          "type": [
            "object",
            "null"
          ]
        },
        "command": {
          "description": "Command to be used in the Container.",
          "items": {
            "type": "string"
          },
          "type": [
            "array",
            "null"
          ]
        },
        "connection": {
          "additionalProperties": false,
          "description": "Connection defines a template to configure the general Connection object.\nThis Connection provides the initial User access to the initial Database.\nIt will make use of the Service to route network traffic to all Pods.",
          "properties": {
            "healthCheck": {
              "additionalProperties": false,
              "description": "HealthCheck to be used in the Connection.",
              "properties": {
                "interval": {
                  "description": "Interval used to perform health checks.",
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "retryInterval": {
                  "description": "RetryInterval is the interval used to perform health check retries.",
                  "type": [
                    "string",
                    "null"
                  ]
                }
              },
              "type": [
                "object",
                "null"
              ]
            },
            "params": {
              "additionalProperties": {
                "type": "string"
              },
              "description": "Params to be used in the Connection.",
              "type": [
                "object",
                "null"
              ]
            },
            "port": {
              "description": "Port to connect to. If not provided, it defaults to the MariaDB port or to the first MaxScale listener.",
              "format": "int32",
              "type": [
                "integer",
                "null"
              ]
            },
            "secretName": {
              "description": "SecretName to be used in the Connection.",
              "type": [
                "string",
                "null"
              ]
            },
            "secretTemplate": {
              "additionalProperties": false,
              "description": "SecretTemplate to be used in the Connection.",
              "properties": {
                "databaseKey": {
                  "description": "DatabaseKey to be used in the Secret.",
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "format": {
                  "description": "Format to be used in the Secret.",
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "hostKey": {
                  "description": "HostKey to be used in the Secret.",
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "key": {
                  "description": "Key to be used in the Secret.",
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "metadata": {
                  "additionalProperties": false,
                  "description": "Metadata to be added to the Secret object.",
                  "properties": {
                    "annotations": {
                      "additionalProperties": {
                        "type": "string"
                      },
                      "description": "Annotations to be added to children resources.",
                      "type": [
                        "object",
                        "null"
                      ]
                    },
                    "labels": {
                      "additionalProperties": {
                        "type": "string"
                      },
                      "description": "Labels to be added to children resources.",
                      "type": [
                        "object",
                        "null"
                      ]
                    }
                  },
                  "type": [
                    "object",
                    "null"
                  ]
                },
                "passwordKey": {
                  "description": "PasswordKey to be used in the Secret.",
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "portKey": {
                  "description": "PortKey to be used in the Secret.",
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "usernameKey": {
                  "description": "UsernameKey to be used in the Secret.",
                  "type": [
                    "string",
                    "null"
                  ]
                }
              },
              "type": [
                "object",
                "null"
              ]
            },
            "serviceName": {
              "description": "ServiceName to be used in the Connection.",
              "type": [
                "string",
                "null"
              ]
            }
          },
          "type": [
            "object",
            "null"
          ]
        },
        "database": {
          "description": "Database is the name of the initial Database.",
          "type": [
            "string",
            "null"
          ]
        },
        "env": {
          "description": "Env represents the environment variables to be injected in a container.",
          "items": {
            "additionalProperties": false,
            "description": "Refer to the Kubernetes docs: https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.33/#envvarsource-v1-core.",
            "properties": {
              "name": {
                "description": "Name of the environment variable. Must be a C_IDENTIFIER.",
                "type": "string"
              },
              "value": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "valueFrom": {
                "additionalProperties": false,
                "description": "Refer to the Kubernetes docs: https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.33/#envvarsource-v1-core.",
                "properties": {
                  "configMapKeyRef": {
                    "additionalProperties": false,
                    "description": "Refer to the Kubernetes docs: https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.33/#configmapkeyselector-v1-core.",
                    "properties": {
                      "key": {
                        "type": "string"
                      },
                      "name": {
                        "default": "",
                        "type": [
                          "string",
                          "null"
                        ]
                      }
                    },
                    "required": [
                      "key"
                    ],
                    "type": [
                      "object",
                      "null"
                    ],
                    "x-kubernetes-map-type": "atomic"
                  },
                  "fieldRef": {
                    "additionalProperties": false,
                    "description": "Refer to the Kubernetes docs: https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.33/#objectfieldselector-v1-core.",
                    "properties": {
                      "apiVersion": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "fieldPath": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "fieldPath"
                    ],
                    "type": [
                      "object",
                      "null"
                    ],
                    "x-kubernetes-map-type": "atomic"
                  },
                  "secretKeyRef": {
                    "additionalProperties": false,
                    "description": "Refer to the Kubernetes docs: https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.33/#secretkeyselector-v1-core.",
                    "properties": {
                      "key": {
                        "type": "string"
                      },
                      "name": {
                        "default": "",
                        "type": [
                          "string",
                          "null"
                        ]
                      }
                    },
                    "required": [
                      "key"
                    ],
                    "type": [
                      "object",
                      "null"
                    ],
                    "x-kubernetes-map-type": "atomic"
                  }
                },
                "type": [
                  "object",
                  "null"
                ]
              }
            },
            "required": [
              "name"
            ],
            "type": "object"
          },
          "type": [
            "array",
            "null"
          ]
        },
        "envFrom": {
          "description": "EnvFrom represents the references (via ConfigMap and Secrets) to environment variables to be injected in the container.",
          "items": {
            "additionalProperties": false,
            "description": "Refer to the Kubernetes docs: https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.33/#envfromsource-v1-core.",
            "properties": {
              "configMapRef": {
                "additionalProperties": false,
                "description": "Refer to the Kubernetes docs: https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.33/#localobjectreference-v1-core.",
                "properties": {
                  "name": {
                    "default": "",
                    "type": [
                      "string",
                      "null"
                    ]
                  }
                },
                "type": [
                  "object",
                  "null"
                ]
              },
              "prefix": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "secretRef": {
                "additionalProperties": false,
                "description": "Refer to the Kubernetes docs: https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.33/#localobjectreference-v1-core.",
                "properties": {
                  "name": {
                    "default": "",
                    "type": [
                      "string",
                      "null"
                    ]
                  }
                },
                "type": [
                  "object",
                  "null"
                ]
              }
            },
            "type": "object"
          },
          "type": [
            "array",
            "null"
          ]
        },
        "galera": {
          "additionalProperties": false,
          "description": "Replication configures high availability via Galera.",
          "properties": {
            "agent": {
              "additionalProperties": false,
              "description": "GaleraAgent is a sidecar agent that co-operates with mariadb-operator.",
              "properties": {
                "args": {
                  "description": "Args to be used in the Container.",
                  "items": {
                    "type": "string"
                  },
                  "type": [
                    "array",
                    "null"
                  ]
                },
                "basicAuth": {
                  "additionalProperties": false,
                  "description": "BasicAuth to be used by the agent container",
                  "properties": {
                    "enabled": {
                      "description": "Enabled is a flag to enable BasicAuth",
                      "type": [
                        "boolean",
                        "null"
                      ]
                    },
                    "passwordSecretKeyRef": {
                      "additionalProperties": false,
                      "description": "PasswordSecretKeyRef to be used for basic authentication",
                      "properties": {
                        "generate": {
                          "default": false,
                          "description": "Generate indicates whether the Secret should be generated if the Secret referenced is not present.",
                          "type": [
                            "boolean",
                            "null"
                          ]
                        },
                        "key": {
                          "type": "string"
                        },
                        "name": {
                          "default": "",
                          "type": [
                            "string",
                            "null"
                          ]
                        }
                      },
                      "required": [
                        "key"
                      ],
                      "type": [
                        "object",
                        "null"
                      ],
                      "x-kubernetes-map-type": "atomic"
                    },
                    "username": {
                      "description": "Username to be used for basic authentication",
                      "type": [
                        "string",
                        "null"
                      ]
                    }
                  },
                  "type": [
                    "object",
                    "null"
                  ]
                },
                "command": {
                  "description": "Command to be used in the Container.",
                  "items": {
                    "type": "string"
                  },
                  "type": [
                    "array",
                    "null"
                  ]
                },
                "env": {
                  "description": "Env represents the environment variables to be injected in a container.",
                  "items": {
                    "additionalProperties": false,
                    "description": "Refer to the Kubernetes docs: https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.33/#envvarsource-v1-core.",
                    "properties": {
                      "name": {
                        "description": "Name of the environment variable. Must be a C_IDENTIFIER.",
                        "type": "string"
                      },
                      "value": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "valueFrom": {
                        "additionalProperties": false,
                        "description": "Refer to the Kubernetes docs: https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.33/#envvarsource-v1-core.",
                        "properties": {
                          "configMapKeyRef": {
                            "additionalProperties": false,
                            "description": "Refer to the Kubernetes docs: https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.33/#configmapkeyselector-v1-core.",
                            "properties": {
                              "key": {
                                "type": "string"
                              },
                              "name": {
                                "default": "",
                                "type": [
                                  "string",
                                  "null"
                                ]
                              }
                            },
                            "required": [
                              "key"
                            ],
                            "type": [
                              "object",
                              "null"
                            ],
                            "x-kubernetes-map-type": "atomic"
                          },
                          "fieldRef": {
                            "additionalProperties": false,
                            "description": "Refer to the Kubernetes docs: https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.33/#objectfieldselector-v1-core.",
                            "properties": {
                              "apiVersion": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "fieldPath": {
                                "type": "string"
                              }
                            },
                            "required": [
                              "fieldPath"
                            ],
                            "type": [
                              "object",
                              "null"
                            ],
                            "x-kubernetes-map-type": "atomic"
                          },
                          "secretKeyRef": {
                            "additionalProperties": false,
                            "description": "Refer to the Kubernetes docs: https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.33/#secretkeyselector-v1-core.",
                            "properties": {
                              "key": {
                                "type": "string"
                              },
                              "name": {
                                "default": "",
                                "type": [
                                  "string",
                                  "null"
                                ]
                              }
                            },
                            "required": [
                              "key"
                            ],
                            "type": [
                              "object",
                              "null"
                            ],
                            "x-kubernetes-map-type": "atomic"
                          }
                        },
                        "type": [
                          "object",
                          "null"
                        ]
                      }
                    },
                    "required": [
                      "name"
                    ],
                    "type": "object"
                  },
                  "type": [
                    "array",
                    "null"
                  ]
                },
                "envFrom": {
                  "description": "EnvFrom represents the references (via ConfigMap and Secrets) to environment variables to be injected in the container.",
                  "items": {
                    "additionalProperties": false,
                    "description": "Refer to the Kubernetes docs: https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.33/#envfromsource-v1-core.",
                    "properties": {
                      "configMapRef": {
                        "additionalProperties": false,
                        "description": "Refer to the Kubernetes docs: https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.33/#localobjectreference-v1-core.",
                        "properties": {
                          "name": {
                            "default": "",
                            "type": [
                              "string",
                              "null"
                            ]
                          }
                        },
                        "type": [
                          "object",
                          "null"
                        ]
                      },
                      "prefix": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "secretRef": {
                        "additionalProperties": false,
                        "description": "Refer to the Kubernetes docs: https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.33/#localobjectreference-v1-core.",
                        "properties": {
                          "name": {
                            "default": "",
                            "type": [
                              "string",
                              "null"
                            ]
                          }
                        },
                        "type": [
                          "object",
                          "null"
                        ]
                      }
                    },
                    "type": "object"
                  },
                  "type": [
                    "array",
                    "null"
                  ]
                },
                "gracefulShutdownTimeout": {
                  "description": "GracefulShutdownTimeout is the time we give to the agent container in order to gracefully terminate in-flight requests.",
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "image": {
                  "description": "Image name to be used by the MariaDB instances. The supported format is `\u003cimage\u003e:\u003ctag\u003e`.",
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "imagePullPolicy": {
                  "description": "ImagePullPolicy is the image pull policy. One of `Always`, `Never` or `IfNotPresent`. If not defined, it defaults to `IfNotPresent`.",
                  "enum": [
                    "Always",
                    "Never",
                    "IfNotPresent"
                  ],
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "kubernetesAuth": {
                  "additionalProperties": false,
                  "description": "KubernetesAuth to be used by the agent container",
                  "properties": {
                    "authDelegatorRoleName": {
                      "description": "AuthDelegatorRoleName is the name of the ClusterRoleBinding that is associated with the \"system:auth-delegator\" ClusterRole.\nIt is necessary for creating TokenReview objects in order for the agent to validate the service account token.",
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "enabled": {
                      "description": "Enabled is a flag to enable KubernetesAuth",
                      "type": [
                        "boolean",
                        "null"
                      ]
                    }
                  },
                  "type": [
                    "object",
                    "null"
                  ]
                },
                "livenessProbe": {
                  "additionalProperties": false,
                  "description": "LivenessProbe to be used in the Container.",
                  "properties": {
                    "exec": {
                      "additionalProperties": false,
                      "description": "Refer to the Kubernetes docs: https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.33/#execaction-v1-core.",
                      "properties": {
                        "command": {
                          "items": {
                            "type": "string"
                          },
                          "type": [
                            "array",
                            "null"
                          ],
                          "x-kubernetes-list-type": "atomic"
                        }
                      },
                      "type": [
                        "object",
                        "null"
                      ]
                    },
                    "failureThreshold": {
                      "format": "int32",
                      "type": [
                        "integer",
                        "null"
                      ]
                    },
                    "httpGet": {
                      "additionalProperties": false,
                      "description": "Refer to the Kubernetes docs: https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.33/#httpgetaction-v1-core.",
                      "properties": {
                        "host": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "path": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "port": {
                          "oneOf": [
                            {
                              "type": "string"
                            },
                            {
                              "type": "integer"
                            }
                          ],
                          "x-kubernetes-int-or-string": true
                        },
                        "scheme": {
                          "description": "URIScheme identifies the scheme used for connection to a host for Get actions",
                          "type": [
                            "string",
                            "null"
                          ]
                        }
                      },
                      "required": [
                        "port"
                      ],
                      "type": [
                        "object",
                        "null"
                      ]
                    },
                    "initialDelaySeconds": {
                      "format": "int32",
                      "type": [
                        "integer",
                        "null"
                      ]
                    },
                    "periodSeconds": {
                      "format": "int32",
                      "type": [
                        "integer",
                        "null"
                      ]
                    },
                    "successThreshold": {
                      "format": "int32",
                      "type": [
                        "integer",
                        "null"
                      ]
                    },
                    "tcpSocket": {
                      "additionalProperties": false,
                      "description": "Refer to the Kubernetes docs: https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.33/#tcpsocketaction-v1-core.",
                      "properties": {
                        "host": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "port": {
                          "oneOf": [
                            {
                              "type": "string"
                            },
                            {
                              "type": "integer"
                            }
                          ],
                          "x-kubernetes-int-or-string": true
                        }
                      },
                      "required": [
                        "port"
                      ],
                      "type": [
                        "object",
                        "null"
                      ]
                    },
                    "timeoutSeconds": {
                      "format": "int32",
                      "type": [
                        "integer",
                        "null"
                      ]
                    }
                  },
                  "type": [
                    "object",
                    "null"
                  ]
                },
                "port": {
                  "description": "Port where the agent will be listening for API connections.",
                  "format": "int32",
                  "type": [
                    "integer",
                    "null"
                  ]
                },
                "probePort": {
                  "description": "Port where the agent will be listening for probe connections.",
                  "format": "int32",
                  "type": [
                    "integer",
                    "null"
                  ]
                },
                "readinessProbe": {
                  "additionalProperties": false,
                  "description": "ReadinessProbe to be used in the Container.",
                  "properties": {
                    "exec": {
                      "additionalProperties": false,
                      "description": "Refer to the Kubernetes docs: https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.33/#execaction-v1-core.",
                      "properties": {
                        "command": {
                          "items": {
                            "type": "string"
                          },
                          "type": [
                            "array",
                            "null"
                          ],
                          "x-kubernetes-list-type": "atomic"
                        }
                      },
                      "type": [
                        "object",
                        "null"
                      ]
                    },
                    "failureThreshold": {
                      "format": "int32",
                      "type": [
                        "integer",
                        "null"
                      ]
                    },
                    "httpGet": {
                      "additionalProperties": false,
                      "description": "Refer to the Kubernetes docs: https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.33/#httpgetaction-v1-core.",
                      "properties": {
                        "host": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "path": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "port": {
                          "oneOf": [
                            {
                              "type": "string"
                            },
                            {
                              "type": "integer"
                            }
                          ],
                          "x-kubernetes-int-or-string": true
                        },
                        "scheme": {
                          "description": "URIScheme identifies the scheme used for connection to a host for Get actions",
                          "type": [
                            "string",
                            "null"
                          ]
                        }
                      },
                      "required": [
                        "port"
                      ],
                      "type": [
                        "object",
                        "null"
                      ]
                    },
                    "initialDelaySeconds": {
                      "format": "int32",
                      "type": [
                        "integer",
                        "null"
                      ]
                    },
                    "periodSeconds": {
                      "format": "int32",
                      "type": [
                        "integer",
                        "null"
                      ]
                    },
                    "successThreshold": {
                      "format": "int32",
                      "type": [
                        "integer",
                        "null"
                      ]
                    },
                    "tcpSocket": {
                      "additionalProperties": false,
                      "description": "Refer to the Kubernetes docs: https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.33/#tcpsocketaction-v1-core.",
                      "properties": {
                        "host": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "port": {
                          "oneOf": [
                            {
                              "type": "string"
                            },
                            {
                              "type": "integer"
                            }
                          ],
                          "x-kubernetes-int-or-string": true
                        }
                      },
                      "required": [
                        "port"
                      ],
                      "type": [
                        "object",
                        "null"
                      ]
                    },
                    "timeoutSeconds": {
                      "format": "int32",
                      "type": [
                        "integer",
                        "null"
                      ]
                    }
                  },
                  "type": [
                    "object",
                    "null"
                  ]
                },
                "resources": {
                  "additionalProperties": false,
                  "description": "Resources describes the compute resource requirements.",
                  "properties": {
                    "limits": {
                      "additionalProperties": {
                        "oneOf": [
                          {
                            "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$",
                            "type": "string"
                          },
                          {
                            "type": "integer"
                          }
                        ],
                        "x-kubernetes-int-or-string": true
                      },
                      "description": "ResourceList is a set of (resource name, quantity) pairs.",
                      "type": [
                        "object",
                        "null"
                      ]
                    },
                    "requests": {
                      "additionalProperties": {
                        "oneOf": [
                          {
                            "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$",
                            "type": "string"
                          },
                          {
                            "type": "integer"
                          }
                        ],
                        "x-kubernetes-int-or-string": true
                      },
                      "description": "ResourceList is a set of (resource name, quantity) pairs.",
                      "type": [
                        "object",
                        "null"
                      ]
                    }
                  },
                  "type": [
                    "object",
                    "null"
                  ]
                },
                "securityContext": {
                  "additionalProperties": false,
                  "description": "SecurityContext holds security configuration that will be applied to a container.",
                  "properties": {
                    "allowPrivilegeEscalation": {
                      "type": [
                        "boolean",
                        "null"
                      ]
                    },
                    "capabilities": {
                      "additionalProperties": false,
                      "description": "Adds and removes POSIX capabilities from running containers.",
                      "properties": {
                        "add": {
                          "description": "Added capabilities",
                          "items": {
                            "description": "Capability represent POSIX capabilities type",
                            "type": "string"
                          },
                          "type": [
                            "array",
                            "null"
                          ],
                          "x-kubernetes-list-type": "atomic"
                        },
                        "drop": {
                          "description": "Removed capabilities",
                          "items": {
                            "description": "Capability represent POSIX capabilities type",
                            "type": "string"
                          },
                          "type": [
                            "array",
                            "null"
                          ],
                          "x-kubernetes-list-type": "atomic"
                        }
                      },
                      "type": [
                        "object",
                        "null"
                      ]
                    },
                    "privileged": {
                      "type": [
                        "boolean",
                        "null"
                      ]
                    },
                    "readOnlyRootFilesystem": {
                      "type": [
                        "boolean",
                        "null"
                      ]
                    },
                    "runAsGroup": {
                      "format": "int64",
                      "type": [
                        "integer",
                        "null"
                      ]
                    },
                    "runAsNonRoot": {
                      "type": [
                        "boolean",
                        "null"
                      ]
                    },
                    "runAsUser": {
                      "format": "int64",
                      "type": [
                        "integer",
                        "null"
                      ]
                    }
                  },
                  "type": [
                    "object",
                    "null"
                  ]
                },
                "startupProbe": {
                  "additionalProperties": false,
                  "description": "StartupProbe to be used in the Container.",
                  "properties": {
                    "exec": {
                      "additionalProperties": false,
                      "description": "Refer to the Kubernetes docs: https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.33/#execaction-v1-core.",
                      "properties": {
                        "command": {
                          "items": {
                            "type": "string"
                          },
                          "type": [
                            "array",
                            "null"
                          ],
                          "x-kubernetes-list-type": "atomic"
                        }
                      },
                      "type": [
                        "object",
                        "null"
                      ]
                    },
                    "failureThreshold": {
                      "format": "int32",
                      "type": [
                        "integer",
                        "null"
                      ]
                    },
                    "httpGet": {
                      "additionalProperties": false,
                      "description": "Refer to the Kubernetes docs: https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.33/#httpgetaction-v1-core.",
                      "properties": {
                        "host": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "path": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "port": {
                          "oneOf": [
                            {
                              "type": "string"
                            },
                            {
                              "type": "integer"
                            }
                          ],
                          "x-kubernetes-int-or-string": true
                        },
                        "scheme": {
                          "description": "URIScheme identifies the scheme used for connection to a host for Get actions",
                          "type": [
                            "string",
                            "null"
                          ]
                        }
                      },
                      "required": [
                        "port"
                      ],
                      "type": [
                        "object",
                        "null"
                      ]
                    },
                    "initialDelaySeconds": {
                      "format": "int32",
                      "type": [
                        "integer",
                        "null"
                      ]
                    },
                    "periodSeconds": {
                      "format": "int32",
                      "type": [
                        "integer",
                        "null"
                      ]
                    },
                    "successThreshold": {
                      "format": "int32",
                      "type": [
                        "integer",
                        "null"
                      ]
                    },
                    "tcpSocket": {
                      "additionalProperties": false,
                      "description": "Refer to the Kubernetes docs: https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.33/#tcpsocketaction-v1-core.",
                      "properties": {
                        "host": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "port": {
                          "oneOf": [
                            {
                              "type": "string"
                            },
                            {
                              "type": "integer"
                            }
                          ],
                          "x-kubernetes-int-or-string": true
                        }
                      },
                      "required": [
                        "port"
                      ],
                      "type": [
                        "object",
                        "null"
                      ]
                    },
                    "timeoutSeconds": {
                      "format": "int32",
                      "type": [
                        "integer",
                        "null"
                      ]
                    }
                  },
                  "type": [
                    "object",
                    "null"
                  ]
                },
                "volumeMounts": {
                  "description": "VolumeMounts to be used in the Container.",
                  "items": {
                    "additionalProperties": false,
                    "description": "Refer to the Kubernetes docs: https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.33/#volumemount-v1-core.",
                    "properties": {
                      "mountPath": {
                        "type": "string"
                      },
                      "name": {
                        "description": "This must match the Name of a Volume.",
                        "type": "string"
                      },
                      "readOnly": {
                        "type": [
                          "boolean",
                          "null"
                        ]
                      },
                      "subPath": {
                        "type": [
                          "string",
                          "null"
                        ]
                      }
                    },
                    "required": [
                      "mountPath",
                      "name"
                    ],
                    "type": "object"
                  },
                  "type": [
                    "array",
                    "null"
                  ]
                }
              },
              "type": [
                "object",
                "null"
              ]
            },
            "availableWhenDonor": {
              "description": "AvailableWhenDonor indicates whether a donor node should be responding to queries. It defaults to false.",
              "type": [
                "boolean",
                "null"
              ]
            },
            "config": {
              "additionalProperties": false,
              "description": "GaleraConfig defines storage options for the Galera configuration files.",
              "properties": {
                "reuseStorageVolume": {
                  "description": "ReuseStorageVolume indicates that storage volume used by MariaDB should be reused to store the Galera configuration files.\nIt defaults to false, which implies that a dedicated volume for the Galera configuration files is provisioned.",
                  "type": [
                    "boolean",
                    "null"
                  ]
                },
                "volumeClaimTemplate": {
                  "additionalProperties": false,
                  "description": "VolumeClaimTemplate is a template for the PVC that will contain the Galera configuration files shared between the InitContainer, Agent and MariaDB.",
                  "properties": {
                    "accessModes": {
                      "items": {
                        "type": "string"
                      },
                      "type": [
                        "array",
                        "null"
                      ],
                      "x-kubernetes-list-type": "atomic"
                    },
                    "metadata": {
                      "additionalProperties": false,
                      "description": "Metadata to be added to the PVC metadata.",
                      "properties": {
                        "annotations": {
                          "additionalProperties": {
                            "type": "string"
                          },
                          "description": "Annotations to be added to children resources.",
                          "type": [
                            "object",
                            "null"
                          ]
                        },
                        "labels": {
                          "additionalProperties": {
                            "type": "string"
                          },
                          "description": "Labels to be added to children resources.",
                          "type": [
                            "object",
                            "null"
                          ]
                        }
                      },
                      "type": [
                        "object",
                        "null"
                      ]
                    },
                    "resources": {
                      "additionalProperties": false,
                      "description": "VolumeResourceRequirements describes the storage resource requirements for a volume.",
                      "properties": {
                        "limits": {
                          "additionalProperties": {
                            "oneOf": [
                              {
                                "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$",
                                "type": "string"
                              },
                              {
                                "type": "integer"
                              }
                            ],
                            "x-kubernetes-int-or-string": true
                          },
                          "description": "Limits describes the maximum amount of compute resources allowed.\nMore info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/",
                          "type": [
                            "object",
                            "null"
                          ]
                        },
                        "requests": {
                          "additionalProperties": {
                            "oneOf": [
                              {
                                "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$",
                                "type": "string"
                              },
                              {
                                "type": "integer"
                              }
                            ],
                            "x-kubernetes-int-or-string": true
                          },
                          "description": "Requests describes the minimum amount of compute resources required.\nIf Requests is omitted for a container, it defaults to Limits if that is explicitly specified,\notherwise to an implementation-defined value. Requests cannot exceed Limits.\nMore info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/",
                          "type": [
                            "object",
                            "null"
                          ]
                        }
                      },
                      "type": [
                        "object",
                        "null"
                      ]
                    },
                    "selector": {
                      "additionalProperties": false,
                      "description": "A label selector is a label query over a set of resources. The result of matchLabels and\nmatchExpressions are ANDed. An empty label selector matches all objects. A null\nlabel selector matches no objects.",
                      "properties": {
                        "matchExpressions": {
                          "description": "matchExpressions is a list of label selector requirements. The requirements are ANDed.",
                          "items": {
                            "additionalProperties": false,
                            "description": "A label selector requirement is a selector that contains values, a key, and an operator that\nrelates the key and values.",
                            "properties": {
                              "key": {
                                "description": "key is the label key that the selector applies to.",
                                "type": "string"
                              },
                              "operator": {
                                "description": "operator represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists and DoesNotExist.",
                                "type": "string"
                              },
                              "values": {
                                "description": "values is an array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. This array is replaced during a strategic\nmerge patch.",
                                "items": {
                                  "type": "string"
                                },
                                "type": [
                                  "array",
                                  "null"
                                ],
                                "x-kubernetes-list-type": "atomic"
                              }
                            },
                            "required": [
                              "key",
                              "operator"
                            ],
                            "type": "object"
                          },
                          "type": [
                            "array",
                            "null"
                          ],
                          "x-kubernetes-list-type": "atomic"
                        },
                        "matchLabels": {
                          "additionalProperties": {
                            "type": "string"
                          },
                          "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels\nmap is equivalent to an element of matchExpressions, whose key field is \"key\", the\noperator is \"In\", and the values array contains only \"value\". The requirements are ANDed.",
                          "type": [
                            "object",
                            "null"
                          ]
                        }
                      },
                      "type": [
                        "object",
                        "null"
                      ],
                      "x-kubernetes-map-type": "atomic"
                    },
                    "storageClassName": {
                      "type": [
                        "string",
                        "null"
                      ]
                    }
                  },
                  "type": [
                    "object",
                    "null"
                  ]
                }
              },
              "type": [
                "object",
                "null"
              ]
            },
            "enabled": {
              "description": "Enabled is a flag to enable Galera.",
              "type": [
                "boolean",
                "null"
              ]
            },
            "galeraLibPath": {
              "description": "GaleraLibPath is a path inside the MariaDB image to the wsrep provider plugin. It is defaulted if not provided.\nMore info: https://galeracluster.com/library/documentation/mysql-wsrep-options.html#wsrep-provider.",
              "type": [
                "string",
                "null"
              ]
            },
            "initContainer": {
              "additionalProperties": false,
              "description": "InitContainer is an init container that runs in the MariaDB Pod and co-operates with mariadb-operator.",
              "properties": {
                "args": {
                  "description": "Args to be used in the Container.",
                  "items": {
                    "type": "string"
                  },
                  "type": [
                    "array",
                    "null"
                  ]
                },
                "command": {
                  "description": "Command to be used in the Container.",
                  "items": {
                    "type": "string"
                  },
                  "type": [
                    "array",
                    "null"
                  ]
                },
                "env": {
                  "description": "Env represents the environment variables to be injected in a container.",
                  "items": {
                    "additionalProperties": false,
                    "description": "Refer to the Kubernetes docs: https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.33/#envvarsource-v1-core.",
                    "properties": {
                      "name": {
                        "description": "Name of the environment variable. Must be a C_IDENTIFIER.",
                        "type": "string"
                      },
                      "value": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "valueFrom": {
                        "additionalProperties": false,
                        "description": "Refer to the Kubernetes docs: https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.33/#envvarsource-v1-core.",
                        "properties": {
                          "configMapKeyRef": {
                            "additionalProperties": false,
                            "description": "Refer to the Kubernetes docs: https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.33/#configmapkeyselector-v1-core.",
                            "properties": {
                              "key": {
                                "type": "string"
                              },
                              "name": {
                                "default": "",
                                "type": [
                                  "string",
                                  "null"
                                ]
                              }
                            },
                            "required": [
                              "key"
                            ],
                            "type": [
                              "object",
                              "null"
                            ],
                            "x-kubernetes-map-type": "atomic"
                          },
                          "fieldRef": {
                            "additionalProperties": false,
                            "description": "Refer to the Kubernetes docs: https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.33/#objectfieldselector-v1-core.",
                            "properties": {
                              "apiVersion": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "fieldPath": {
                                "type": "string"
                              }
                            },
                            "required": [
                              "fieldPath"
                            ],
                            "type": [
                              "object",
                              "null"
                            ],
                            "x-kubernetes-map-type": "atomic"
                          },
                          "secretKeyRef": {
                            "additionalProperties": false,
                            "description": "Refer to the Kubernetes docs: https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.33/#secretkeyselector-v1-core.",
                            "properties": {
                              "key": {
                                "type": "string"
                              },
                              "name": {
                                "default": "",
                                "type": [
                                  "string",
                                  "null"
                                ]
                              }
                            },
                            "required": [
                              "key"
                            ],
                            "type": [
                              "object",
                              "null"
                            ],
                            "x-kubernetes-map-type": "atomic"
                          }
                        },
                        "type": [
                          "object",
                          "null"
                        ]
                      }
                    },
                    "required": [
                      "name"
                    ],
                    "type": "object"
                  },
                  "type": [
                    "array",
                    "null"
                  ]
                },
                "envFrom": {
                  "description": "EnvFrom represents the references (via ConfigMap and Secrets) to environment variables to be injected in the container.",
                  "items": {
                    "additionalProperties": false,
                    "description": "Refer to the Kubernetes docs: https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.33/#envfromsource-v1-core.",
                    "properties": {
                      "configMapRef": {
                        "additionalProperties": false,
                        "description": "Refer to the Kubernetes docs: https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.33/#localobjectreference-v1-core.",
                        "properties": {
                          "name": {
                            "default": "",
                            "type": [
                              "string",
                              "null"
                            ]
                          }
                        },
                        "type": [
                          "object",
                          "null"
                        ]
                      },
                      "prefix": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "secretRef": {
                        "additionalProperties": false,
                        "description": "Refer to the Kubernetes docs: https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.33/#localobjectreference-v1-core.",
                        "properties": {
                          "name": {
                            "default": "",
                            "type": [
                              "string",
                              "null"
                            ]
                          }
                        },
                        "type": [
                          "object",
                          "null"
                        ]
                      }
                    },
                    "type": "object"
                  },
                  "type": [
                    "array",
                    "null"
                  ]
                },
                "image": {
                  "description": "Image name to be used by the MariaDB instances. The supported format is `\u003cimage\u003e:\u003ctag\u003e`.",
                  "type": "string"
                },
                "imagePullPolicy": {
                  "description": "ImagePullPolicy is the image pull policy. One of `Always`, `Never` or `IfNotPresent`. If not defined, it defaults to `IfNotPresent`.",
                  "enum": [
                    "Always",
                    "Never",
                    "IfNotPresent"
                  ],
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "livenessProbe": {
                  "additionalProperties": false,
                  "description": "LivenessProbe to be used in the Container.",
                  "properties": {
                    "exec": {
                      "additionalProperties": false,
                      "description": "Refer to the Kubernetes docs: https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.33/#execaction-v1-core.",
                      "properties": {
                        "command": {
                          "items": {
                            "type": "string"
                          },
                          "type": [
                            "array",
                            "null"
                          ],
                          "x-kubernetes-list-type": "atomic"
                        }
                      },
                      "type": [
                        "object",
                        "null"
                      ]
                    },
                    "failureThreshold": {
                      "format": "int32",
                      "type": [
                        "integer",
                        "null"
                      ]
                    },
                    "httpGet": {
                      "additionalProperties": false,
                      "description": "Refer to the Kubernetes docs: https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.33/#httpgetaction-v1-core.",
                      "properties": {
                        "host": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "path": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "port": {
                          "oneOf": [
                            {
                              "type": "string"
                            },
                            {
                              "type": "integer"
                            }
                          ],
                          "x-kubernetes-int-or-string": true
                        },
                        "scheme": {
                          "description": "URIScheme identifies the scheme used for connection to a host for Get actions",
                          "type": [
                            "string",
                            "null"
                          ]
                        }
                      },
                      "required": [
                        "port"
                      ],
                      "type": [
                        "object",
                        "null"
                      ]
                    },
                    "initialDelaySeconds": {
                      "format": "int32",
                      "type": [
                        "integer",
                        "null"
                      ]
                    },
                    "periodSeconds": {
                      "format": "int32",
                      "type": [
                        "integer",
                        "null"
                      ]
                    },
                    "successThreshold": {
                      "format": "int32",
                      "type": [
                        "integer",
                        "null"
                      ]
                    },
                    "tcpSocket": {
                      "additionalProperties": false,
                      "description": "Refer to the Kubernetes docs: https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.33/#tcpsocketaction-v1-core.",
                      "properties": {
                        "host": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "port": {
                          "oneOf": [
                            {
                              "type": "string"
                            },
                            {
                              "type": "integer"
                            }
                          ],
                          "x-kubernetes-int-or-string": true
                        }
                      },
                      "required": [
                        "port"
                      ],
                      "type": [
                        "object",
                        "null"
                      ]
                    },
                    "timeoutSeconds": {
                      "format": "int32",
                      "type": [
                        "integer",
                        "null"
                      ]
                    }
                  },
                  "type": [
                    "object",
                    "null"
                  ]
                },
                "readinessProbe": {
                  "additionalProperties": false,
                  "description": "ReadinessProbe to be used in the Container.",
                  "properties": {
                    "exec": {
                      "additionalProperties": false,
                      "description": "Refer to the Kubernetes docs: https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.33/#execaction-v1-core.",
                      "properties": {
                        "command": {
                          "items": {
                            "type": "string"
                          },
                          "type": [
                            "array",
                            "null"
                          ],
                          "x-kubernetes-list-type": "atomic"
                        }
                      },
                      "type": [
                        "object",
                        "null"
                      ]
                    },
                    "failureThreshold": {
                      "format": "int32",
                      "type": [
                        "integer",
                        "null"
                      ]
                    },
                    "httpGet": {
                      "additionalProperties": false,
                      "description": "Refer to the Kubernetes docs: https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.33/#httpgetaction-v1-core.",
                      "properties": {
                        "host": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "path": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "port": {
                          "oneOf": [
                            {
                              "type": "string"
                            },
                            {
                              "type": "integer"
                            }
                          ],
                          "x-kubernetes-int-or-string": true
                        },
                        "scheme": {
                          "description": "URIScheme identifies the scheme used for connection to a host for Get actions",
                          "type": [
                            "string",
                            "null"
                          ]
                        }
                      },
                      "required": [
                        "port"
                      ],
                      "type": [
                        "object",
                        "null"
                      ]
                    },
                    "initialDelaySeconds": {
                      "format": "int32",
                      "type": [
                        "integer",
                        "null"
                      ]
                    },
                    "periodSeconds": {
                      "format": "int32",
                      "type": [
                        "integer",
                        "null"
                      ]
                    },
                    "successThreshold": {
                      "format": "int32",
                      "type": [
                        "integer",
                        "null"
                      ]
                    },
                    "tcpSocket": {
                      "additionalProperties": false,
                      "description": "Refer to the Kubernetes docs: https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.33/#tcpsocketaction-v1-core.",
                      "properties": {
                        "host": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "port": {
                          "oneOf": [
                            {
                              "type": "string"
                            },
                            {
                              "type": "integer"
                            }
                          ],
                          "x-kubernetes-int-or-string": true
                        }
                      },
                      "required": [
                        "port"
                      ],
                      "type": [
                        "object",
                        "null"
                      ]
                    },
                    "timeoutSeconds": {
                      "format": "int32",
                      "type": [
                        "integer",
                        "null"
                      ]
                    }
                  },
                  "type": [
                    "object",
                    "null"
                  ]
                },
                "resources": {
                  "additionalProperties": false,
                  "description": "Resources describes the compute resource requirements.",
                  "properties": {
                    "limits": {
                      "additionalProperties": {
                        "oneOf": [
                          {
                            "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$",
                            "type": "string"
                          },
                          {
                            "type": "integer"
                          }
                        ],
                        "x-kubernetes-int-or-string": true
                      },
                      "description": "ResourceList is a set of (resource name, quantity) pairs.",
                      "type": [
                        "object",
                        "null"
                      ]
                    },
                    "requests": {
                      "additionalProperties": {
                        "oneOf": [
                          {
                            "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$",
                            "type": "string"
                          },
                          {
                            "type": "integer"
                          }
                        ],
                        "x-kubernetes-int-or-string": true
                      },
                      "description": "ResourceList is a set of (resource name, quantity) pairs.",
                      "type": [
                        "object",
                        "null"
                      ]
                    }
                  },
                  "type": [
                    "object",
                    "null"
                  ]
                },
                "securityContext": {
                  "additionalProperties": false,
                  "description": "SecurityContext holds security configuration that will be applied to a container.",
                  "properties": {
                    "allowPrivilegeEscalation": {
                      "type": [
                        "boolean",
                        "null"
                      ]
                    },
                    "capabilities": {
                      "additionalProperties": false,
                      "description": "Adds and removes POSIX capabilities from running containers.",
                      "properties": {
                        "add": {
                          "description": "Added capabilities",
                          "items": {
                            "description": "Capability represent POSIX capabilities type",
                            "type": "string"
                          },
                          "type": [
                            "array",
                            "null"
                          ],
                          "x-kubernetes-list-type": "atomic"
                        },
                        "drop": {
                          "description": "Removed capabilities",
                          "items": {
                            "description": "Capability represent POSIX capabilities type",
                            "type": "string"
                          },
                          "type": [
                            "array",
                            "null"
                          ],
                          "x-kubernetes-list-type": "atomic"
                        }
                      },
                      "type": [
                        "object",
                        "null"
                      ]
                    },
                    "privileged": {
                      "type": [
                        "boolean",
                        "null"
                      ]
                    },
                    "readOnlyRootFilesystem": {
                      "type": [
                        "boolean",
                        "null"
                      ]
                    },
                    "runAsGroup": {
                      "format": "int64",
                      "type": [
                        "integer",
                        "null"
                      ]
                    },
                    "runAsNonRoot": {
                      "type": [
                        "boolean",
                        "null"
                      ]
                    },
                    "runAsUser": {
                      "format": "int64",
                      "type": [
                        "integer",
                        "null"
                      ]
                    }
                  },
                  "type": [
                    "object",
                    "null"
                  ]
                },
                "startupProbe": {
                  "additionalProperties": false,
                  "description": "StartupProbe to be used in the Container.",
                  "properties": {
                    "exec": {
                      "additionalProperties": false,
                      "description": "Refer to the Kubernetes docs: https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.33/#execaction-v1-core.",
                      "properties": {
                        "command": {
                          "items": {
                            "type": "string"
                          },
                          "type": [
                            "array",
                            "null"
                          ],
                          "x-kubernetes-list-type": "atomic"
                        }
                      },
                      "type": [
                        "object",
                        "null"
                      ]
                    },
                    "failureThreshold": {
                      "format": "int32",
                      "type": [
                        "integer",
                        "null"
                      ]
                    },
                    "httpGet": {
                      "additionalProperties": false,
                      "description": "Refer to the Kubernetes docs: https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.33/#httpgetaction-v1-core.",
                      "properties": {
                        "host": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "path": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "port": {
                          "oneOf": [
                            {
                              "type": "string"
                            },
                            {
                              "type": "integer"
                            }
                          ],
                          "x-kubernetes-int-or-string": true
                        },
                        "scheme": {
                          "description": "URIScheme identifies the scheme used for connection to a host for Get actions",
                          "type": [
                            "string",
                            "null"
                          ]
                        }
                      },
                      "required": [
                        "port"
                      ],
                      "type": [
                        "object",
                        "null"
                      ]
                    },
                    "initialDelaySeconds": {
                      "format": "int32",
                      "type": [
                        "integer",
                        "null"
                      ]
                    },
                    "periodSeconds": {
                      "format": "int32",
                      "type": [
                        "integer",
                        "null"
                      ]
                    },
                    "successThreshold": {
                      "format": "int32",
                      "type": [
                        "integer",
                        "null"
                      ]
                    },
                    "tcpSocket": {
                      "additionalProperties": false,
                      "description": "Refer to the Kubernetes docs: https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.33/#tcpsocketaction-v1-core.",
                      "properties": {
                        "host": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "port": {
                          "oneOf": [
                            {
                              "type": "string"
                            },
                            {
                              "type": "integer"
                            }
                          ],
                          "x-kubernetes-int-or-string": true
                        }
                      },
                      "required": [
                        "port"
                      ],
                      "type": [
                        "object",
                        "null"
                      ]
                    },
                    "timeoutSeconds": {
                      "format": "int32",
                      "type": [
                        "integer",
                        "null"
                      ]
                    }
                  },
                  "type": [
                    "object",
                    "null"
                  ]
                },
                "volumeMounts": {
                  "description": "VolumeMounts to be used in the Container.",
                  "items": {
                    "additionalProperties": false,
                    "description": "Refer to the Kubernetes docs: https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.33/#volumemount-v1-core.",
                    "properties": {
                      "mountPath": {
                        "type": "string"
                      },
                      "name": {
                        "description": "This must match the Name of a Volume.",
                        "type": "string"
                      },
                      "readOnly": {
                        "type": [
                          "boolean",
                          "null"
                        ]
                      },
                      "subPath": {
                        "type": [
                          "string",
                          "null"
                        ]
                      }
                    },
                    "required": [
                      "mountPath",
                      "name"
                    ],
                    "type": "object"
                  },
                  "type": [
                    "array",
                    "null"
                  ]
                }
              },
              "required": [
                "image"
              ],
              "type": [
                "object",
                "null"
              ]
            },
            "initJob": {
              "additionalProperties": false,
              "description": "InitJob defines a Job that co-operates with mariadb-operator by performing initialization tasks.",
              "properties": {
                "metadata": {
                  "additionalProperties": false,
                  "description": "Metadata defines additional metadata for the Galera init Job.",
                  "properties": {
                    "annotations": {
                      "additionalProperties": {
                        "type": "string"
                      },
                      "description": "Annotations to be added to children resources.",
                      "type": [
                        "object",
                        "null"
                      ]
                    },
                    "labels": {
                      "additionalProperties": {
                        "type": "string"
                      },
                      "description": "Labels to be added to children resources.",
                      "type": [
                        "object",
                        "null"
                      ]
                    }
                  },
                  "type": [
                    "object",
                    "null"
                  ]
                },
                "resources": {
                  "additionalProperties": false,
                  "description": "Resources describes the compute resource requirements.",
                  "properties": {
                    "limits": {
                      "additionalProperties": {
                        "oneOf": [
                          {
                            "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$",
                            "type": "string"
                          },
                          {
                            "type": "integer"
                          }
                        ],
                        "x-kubernetes-int-or-string": true
                      },
                      "description": "ResourceList is a set of (resource name, quantity) pairs.",
                      "type": [
                        "object",
                        "null"
                      ]
                    },
                    "requests": {
                      "additionalProperties": {
                        "oneOf": [
                          {
                            "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$",
                            "type": "string"
                          },
                          {
                            "type": "integer"
                          }
                        ],
                        "x-kubernetes-int-or-string": true
                      },
                      "description": "ResourceList is a set of (resource name, quantity) pairs.",
                      "type": [
                        "object",
                        "null"
                      ]
                    }
                  },
                  "type": [
                    "object",
                    "null"
                  ]
                }
              },
              "type": [
                "object",
                "null"
              ]
            },
            "primary": {
              "additionalProperties": false,
              "description": "Primary is the Galera configuration for the primary node.",
              "properties": {
                "automaticFailover": {
                  "description": "AutomaticFailover indicates whether the operator should automatically update PodIndex to perform an automatic primary failover.",
                  "type": [
                    "boolean",
                    "null"
                  ]
                },
                "podIndex": {
                  "description": "PodIndex is the StatefulSet index of the primary node. The user may change this field to perform a manual switchover.",
                  "type": [
                    "integer",
                    "null"
                  ]
                }
              },
              "type": [
                "object",
                "null"
              ]
            },
            "providerOptions": {
              "additionalProperties": {
                "type": "string"
              },
              "description": "ProviderOptions is map of Galera configuration parameters.\nMore info: https://mariadb.com/kb/en/galera-cluster-system-variables/#wsrep_provider_options.",
              "type": [
                "object",
                "null"
              ]
            },
            "recovery": {
              "additionalProperties": false,
              "description": "GaleraRecovery is the recovery process performed by the operator whenever the Galera cluster is not healthy.\nMore info: https://galeracluster.com/library/documentation/crash-recovery.html.",
              "properties": {
                "clusterBootstrapTimeout": {
                  "description": "ClusterBootstrapTimeout is the time limit for bootstrapping a cluster.\nOnce this timeout is reached, the Galera recovery state is reset and a new cluster bootstrap will be attempted.",
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "clusterDownscaleTimeout": {
                  "description": "ClusterDownscaleTimeout represents the maximum duration for downscaling the cluster's StatefulSet during the recovery process.",
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "clusterHealthyTimeout": {
                  "description": "ClusterHealthyTimeout represents the duration at which a Galera cluster, that consistently failed health checks,\nis considered unhealthy, and consequently the Galera recovery process will be initiated by the operator.",
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "clusterMonitorInterval": {
                  "description": "ClusterMonitorInterval represents the interval used to monitor the Galera cluster health.",
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "clusterUpscaleTimeout": {
                  "description": "ClusterUpscaleTimeout represents the maximum duration for upscaling the cluster's StatefulSet during the recovery process.",
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "enabled": {
                  "description": "Enabled is a flag to enable GaleraRecovery.",
                  "type": [
                    "boolean",
                    "null"
                  ]
                },
                "forceClusterBootstrapInPod": {
                  "description": "ForceClusterBootstrapInPod allows you to manually initiate the bootstrap process in a specific Pod.\nIMPORTANT: Use this option only in exceptional circumstances. Not selecting the Pod with the highest sequence number may result in data loss.\nIMPORTANT: Ensure you unset this field after completing the bootstrap to allow the operator to choose the appropriate Pod to bootstrap from in an event of cluster recovery.",
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "job": {
                  "additionalProperties": false,
                  "description": "Job defines a Job that co-operates with mariadb-operator by performing the Galera cluster recovery .",
                  "properties": {
                    "metadata": {
                      "additionalProperties": false,
                      "description": "Metadata defines additional metadata for the Galera recovery Jobs.",
                      "properties": {
                        "annotations": {
                          "additionalProperties": {
                            "type": "string"
                          },
                          "description": "Annotations to be added to children resources.",
                          "type": [
                            "object",
                            "null"
                          ]
                        },
                        "labels": {
                          "additionalProperties": {
                            "type": "string"
                          },
                          "description": "Labels to be added to children resources.",
                          "type": [
                            "object",
                            "null"
                          ]
                        }
                      },
                      "type": [
                        "object",
                        "null"
                      ]
                    },
                    "podAffinity": {
                      "description": "PodAffinity indicates whether the recovery Jobs should run in the same Node as the MariaDB Pods. It defaults to true.",
                      "type": [
                        "boolean",
                        "null"
                      ]
                    },
                    "resources": {
                      "additionalProperties": false,
                      "description": "Resources describes the compute resource requirements.",
                      "properties": {
                        "limits": {
                          "additionalProperties": {
                            "oneOf": [
                              {
                                "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$",
                                "type": "string"
                              },
                              {
                                "type": "integer"
                              }
                            ],
                            "x-kubernetes-int-or-string": true
                          },
                          "description": "ResourceList is a set of (resource name, quantity) pairs.",
                          "type": [
                            "object",
                            "null"
                          ]
                        },
                        "requests": {
                          "additionalProperties": {
                            "oneOf": [
                              {
                                "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$",
                                "type": "string"
                              },
                              {
                                "type": "integer"
                              }
                            ],
                            "x-kubernetes-int-or-string": true
                          },
                          "description": "ResourceList is a set of (resource name, quantity) pairs.",
                          "type": [
                            "object",
                            "null"
                          ]
                        }
                      },
                      "type": [
                        "object",
                        "null"
                      ]
                    }
                  },
                  "type": [
                    "object",
                    "null"
                  ]
                },
                "minClusterSize": {
                  "description": "MinClusterSize is the minimum number of replicas to consider the cluster healthy. It can be either a number of replicas (1) or a percentage (50%).\nIf Galera consistently reports less replicas than this value for the given 'ClusterHealthyTimeout' interval, a cluster recovery is iniated.\nIt defaults to '1' replica, and it is highly recommendeded to keep this value at '1' in most cases.\nIf set to more than one replica, the cluster recovery process may restart the healthy replicas as well.",
                  "oneOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "integer"
                    },
                    {
                      "type": "null"
                    }
                  ],
                  "x-kubernetes-int-or-string": true
                },
                "podRecoveryTimeout": {
                  "description": "PodRecoveryTimeout is the time limit for recevorying the sequence of a Pod during the cluster recovery.",
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "podSyncTimeout": {
                  "description": "PodSyncTimeout is the time limit for a Pod to join the cluster after having performed a cluster bootstrap during the cluster recovery.",
                  "type": [
                    "string",
                    "null"
                  ]
                }
              },
              "type": [
                "object",
                "null"
              ]
            },
            "replicaThreads": {
              "description": "ReplicaThreads is the number of replica threads used to apply Galera write sets in parallel.\nMore info: https://mariadb.com/kb/en/galera-cluster-system-variables/#wsrep_slave_threads.",
              "type": [
                "integer",
                "null"
              ]
            },
            "sst": {
              "description": "SST is the Snapshot State Transfer used when new Pods join the cluster.\nMore info: https://galeracluster.com/library/documentation/sst.html.",
              "enum": [
                "rsync",
                "mariabackup",
                "mysqldump"
              ],
              "type": [
                "string",
                "null"
              ]
            }
          },
          "type": [
            "object",
            "null"
          ]
        },
        "image": {
          "description": "Image name to be used by the MariaDB instances. The supported format is `\u003cimage\u003e:\u003ctag\u003e`.\nOnly MariaDB official images are supported.",
          "type": [
            "string",
            "null"
          ]
        },
        "imagePullPolicy": {
          "description": "ImagePullPolicy is the image pull policy. One of `Always`, `Never` or `IfNotPresent`. If not defined, it defaults to `IfNotPresent`.",
          "enum": [
            "Always",
            "Never",
            "IfNotPresent"
          ],
          "type": [
            "string",
            "null"
          ]
        },
        "imagePullSecrets": {
          "description": "ImagePullSecrets is the list of pull Secrets to be used to pull the image.",
          "items": {
            "additionalProperties": false,
            "description": "Refer to the Kubernetes docs: https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.33/#localobjectreference-v1-core.",
            "properties": {
              "name": {
                "default": "",
                "type": [
                  "string",
                  "null"
                ]
              }
            },
            "type": "object"
          },
          "type": [
            "array",
            "null"
          ]
        },
        "inheritMetadata": {
          "additionalProperties": false,
          "description": "InheritMetadata defines the metadata to be inherited by children resources.",
          "properties": {
            "annotations": {
              "additionalProperties": {
                "type": "string"
              },
              "description": "Annotations to be added to children resources.",
              "type": [
                "object",
                "null"
              ]
            },
            "labels": {
              "additionalProperties": {
                "type": "string"
              },
              "description": "Labels to be added to children resources.",
              "type": [
                "object",
                "null"
              ]
            }
          },
          "type": [
            "object",
            "null"
          ]
        },
        "initContainers": {
          "description": "InitContainers to be used in the Pod.",
          "items": {
            "additionalProperties": false,
            "description": "Container object definition.",
            "properties": {
              "args": {
                "description": "Args to be used in the Container.",
                "items": {
                  "type": "string"
                },
                "type": [
                  "array",
                  "null"
                ]
              },
              "command": {
                "description": "Command to be used in the Container.",
                "items": {
                  "type": "string"
                },
                "type": [
                  "array",
                  "null"
                ]
              },
              "env": {
                "description": "Env represents the environment variables to be injected in a container.",
                "items": {
                  "additionalProperties": false,
                  "description": "Refer to the Kubernetes docs: https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.33/#envvarsource-v1-core.",
                  "properties": {
                    "name": {
                      "description": "Name of the environment variable. Must be a C_IDENTIFIER.",
                      "type": "string"
                    },
                    "value": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "valueFrom": {
                      "additionalProperties": false,
                      "description": "Refer to the Kubernetes docs: https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.33/#envvarsource-v1-core.",
                      "properties": {
                        "configMapKeyRef": {
                          "additionalProperties": false,
                          "description": "Refer to the Kubernetes docs: https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.33/#configmapkeyselector-v1-core.",
                          "properties": {
                            "key": {
                              "type": "string"
                            },
                            "name": {
                              "default": "",
                              "type": [
                                "string",
                                "null"
                              ]
                            }
                          },
                          "required": [
                            "key"
                          ],
                          "type": [
                            "object",
                            "null"
                          ],
                          "x-kubernetes-map-type": "atomic"
                        },
                        "fieldRef": {
                          "additionalProperties": false,
                          "description": "Refer to the Kubernetes docs: https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.33/#objectfieldselector-v1-core.",
                          "properties": {
                            "apiVersion": {
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "fieldPath": {
                              "type": "string"
                            }
                          },
                          "required": [
                            "fieldPath"
                          ],
                          "type": [
                            "object",
                            "null"
                          ],
                          "x-kubernetes-map-type": "atomic"
                        },
                        "secretKeyRef": {
                          "additionalProperties": false,
                          "description": "Refer to the Kubernetes docs: https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.33/#secretkeyselector-v1-core.",
                          "properties": {
                            "key": {
                              "type": "string"
                            },
                            "name": {
                              "default": "",
                              "type": [
                                "string",
                                "null"
                              ]
                            }
                          },
                          "required": [
                            "key"
                          ],
                          "type": [
                            "object",
                            "null"
                          ],
                          "x-kubernetes-map-type": "atomic"
                        }
                      },
                      "type": [
                        "object",
                        "null"
                      ]
                    }
                  },
                  "required": [
                    "name"
                  ],
                  "type": "object"
                },
                "type": [
                  "array",
                  "null"
                ]
              },
              "image": {
                "description": "Image name to be used by the container. The supported format is `\u003cimage\u003e:\u003ctag\u003e`.",
                "type": "string"
              },
              "imagePullPolicy": {
                "description": "ImagePullPolicy is the image pull policy. One of `Always`, `Never` or `IfNotPresent`. If not defined, it defaults to `IfNotPresent`.",
                "enum": [
                  "Always",
                  "Never",
                  "IfNotPresent"
                ],
                "type": [
                  "string",
                  "null"
                ]
              },
              "name": {
                "description": "Name to be given to the container.",
                "type": [
                  "string",
                  "null"
                ]
              },
              "resources": {
                "additionalProperties": false,
                "description": "Resources describes the compute resource requirements.",
                "properties": {
                  "limits": {
                    "additionalProperties": {
                      "oneOf": [
                        {
                          "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$",
                          "type": "string"
                        },
                        {
                          "type": "integer"
                        }
                      ],
                      "x-kubernetes-int-or-string": true
                    },
                    "description": "ResourceList is a set of (resource name, quantity) pairs.",
                    "type": [
                      "object",
                      "null"
                    ]
                  },
                  "requests": {
                    "additionalProperties": {
                      "oneOf": [
                        {
                          "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$",
                          "type": "string"
                        },
                        {
                          "type": "integer"
                        }
                      ],
                      "x-kubernetes-int-or-string": true
                    },
                    "description": "ResourceList is a set of (resource name, quantity) pairs.",
                    "type": [
                      "object",
                      "null"
                    ]
                  }
                },
                "type": [
                  "object",
                  "null"
                ]
              },
              "volumeMounts": {
                "description": "VolumeMounts to be used in the Container.",
                "items": {
                  "additionalProperties": false,
                  "description": "Refer to the Kubernetes docs: https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.33/#volumemount-v1-core.",
                  "properties": {
                    "mountPath": {
                      "type": "string"
                    },
                    "name": {
                      "description": "This must match the Name of a Volume.",
                      "type": "string"
                    },
                    "readOnly": {
                      "type": [
                        "boolean",
                        "null"
                      ]
                    },
                    "subPath": {
                      "type": [
                        "string",
                        "null"
                      ]
                    }
                  },
                  "required": [
                    "mountPath",
                    "name"
                  ],
                  "type": "object"
                },
                "type": [
                  "array",
                  "null"
                ]
              }
            },
            "required": [
              "image"
            ],
            "type": "object"
          },
          "type": [
            "array",
            "null"
          ]
        },
        "livenessProbe": {
          "additionalProperties": false,
          "description": "LivenessProbe to be used in the Container.",
          "properties": {
            "exec": {
              "additionalProperties": false,
              "description": "Refer to the Kubernetes docs: https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.33/#execaction-v1-core.",
              "properties": {
                "command": {
                  "items": {
                    "type": "string"
                  },
                  "type": [
                    "array",
                    "null"
                  ],
                  "x-kubernetes-list-type": "atomic"
                }
              },
              "type": [
                "object",
                "null"
              ]
            },
            "failureThreshold": {
              "format": "int32",
              "type": [
                "integer",
                "null"
              ]
            },
            "httpGet": {
              "additionalProperties": false,
              "description": "Refer to the Kubernetes docs: https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.33/#httpgetaction-v1-core.",
              "properties": {
                "host": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "path": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "port": {
                  "oneOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "integer"
                    }
                  ],
                  "x-kubernetes-int-or-string": true
                },
                "scheme": {
                  "description": "URIScheme identifies the scheme used for connection to a host for Get actions",
                  "type": [
                    "string",
                    "null"
                  ]
                }
              },
              "required": [
                "port"
              ],
              "type": [
                "object",
                "null"
              ]
            },
            "initialDelaySeconds": {
              "format": "int32",
              "type": [
                "integer",
                "null"
              ]
            },
            "periodSeconds": {
              "format": "int32",
              "type": [
                "integer",
                "null"
              ]
            },
            "successThreshold": {
              "format": "int32",
              "type": [
                "integer",
                "null"
              ]
            },
            "tcpSocket": {
              "additionalProperties": false,
              "description": "Refer to the Kubernetes docs: https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.33/#tcpsocketaction-v1-core.",
              "properties": {
                "host": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "port": {
                  "oneOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "integer"
                    }
                  ],
                  "x-kubernetes-int-or-string": true
                }
              },
              "required": [
                "port"
              ],
              "type": [
                "object",
                "null"
              ]
            },
            "timeoutSeconds": {
              "format": "int32",
              "type": [
                "integer",
                "null"
              ]
            }
          },
          "type": [
            "object",
            "null"
          ]
        },
        "maxScale": {
          "additionalProperties": false,
          "description": "MaxScale is the MaxScale specification that defines the MaxScale resource to be used with the current MariaDB.\nWhen enabling this field, MaxScaleRef is automatically set.",
          "properties": {
            "admin": {
              "additionalProperties": false,
              "description": "Admin configures the admin REST API and GUI.",
              "properties": {
                "guiEnabled": {
                  "description": "GuiEnabled indicates whether the admin GUI should be enabled.",
                  "type": [
                    "boolean",
                    "null"
                  ]
                },
                "port": {
                  "description": "Port where the admin REST API and GUI will be exposed.",
                  "format": "int32",
                  "type": [
                    "integer",
                    "null"
                  ]
                }
              },
              "type": [
                "object",
                "null"
              ]
            },
            "auth": {
              "additionalProperties": false,
              "description": "Auth defines the credentials required for MaxScale to connect to MariaDB.",
              "properties": {
                "adminPasswordSecretKeyRef": {
                  "additionalProperties": false,
                  "description": "AdminPasswordSecretKeyRef is Secret key reference to the admin password to call the admin REST API. It is defaulted if not provided.",
                  "properties": {
                    "generate": {
                      "default": false,
                      "description": "Generate indicates whether the Secret should be generated if the Secret referenced is not present.",
                      "type": [
                        "boolean",
                        "null"
                      ]
                    },
                    "key": {
                      "type": "string"
                    },
                    "name": {
                      "default": "",
                      "type": [
                        "string",
                        "null"
                      ]
                    }
                  },
                  "required": [
                    "key"
                  ],
                  "type": [
                    "object",
                    "null"
                  ],
                  "x-kubernetes-map-type": "atomic"
                },
                "adminUsername": {
                  "description": "AdminUsername is an admin username to call the admin REST API. It is defaulted if not provided.",
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "clientMaxConnections": {
                  "description": "ClientMaxConnections defines the maximum number of connections that the client can establish.\nIf HA is enabled, make sure to increase this value, as more MaxScale replicas implies more connections.\nIt defaults to 30 times the number of MaxScale replicas.",
                  "format": "int32",
                  "type": [
                    "integer",
                    "null"
                  ]
                },
                "clientPasswordSecretKeyRef": {
                  "additionalProperties": false,
                  "description": "ClientPasswordSecretKeyRef is Secret key reference to the password to connect to MaxScale. It is defaulted if not provided.\nIf the referred Secret is labeled with \"k8s.mariadb.com/watch\", updates may be performed to the Secret in order to update the password.",
                  "properties": {
                    "generate": {
                      "default": false,
                      "description": "Generate indicates whether the Secret should be generated if the Secret referenced is not present.",
                      "type": [
                        "boolean",
                        "null"
                      ]
                    },
                    "key": {
                      "type": "string"
                    },
                    "name": {
                      "default": "",
                      "type": [
                        "string",
                        "null"
                      ]
                    }
                  },
                  "required": [
                    "key"
                  ],
                  "type": [
                    "object",
                    "null"
                  ],
                  "x-kubernetes-map-type": "atomic"
                },
                "clientUsername": {
                  "description": "ClientUsername is the user to connect to MaxScale. It is defaulted if not provided.",
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "deleteDefaultAdmin": {
                  "description": "DeleteDefaultAdmin determines whether the default admin user should be deleted after the initial configuration. If not provided, it defaults to true.",
                  "type": [
                    "boolean",
                    "null"
                  ]
                },
                "generate": {
                  "description": "Generate  defies whether the operator should generate users and grants for MaxScale to work.\nIt only supports MariaDBs specified via spec.mariaDbRef.",
                  "type": [
                    "boolean",
                    "null"
                  ]
                },
                "metricsPasswordSecretKeyRef": {
                  "additionalProperties": false,
                  "description": "MetricsPasswordSecretKeyRef is Secret key reference to the metrics password to call the admib REST API. It is defaulted if metrics are enabled.\nIf the referred Secret is labeled with \"k8s.mariadb.com/watch\", updates may be performed to the Secret in order to update the password.",
                  "properties": {
                    "generate": {
                      "default": false,
                      "description": "Generate indicates whether the Secret should be generated if the Secret referenced is not present.",
                      "type": [
                        "boolean",
                        "null"
                      ]
                    },
                    "key": {
                      "type": "string"
                    },
                    "name": {
                      "default": "",
                      "type": [
                        "string",
                        "null"
                      ]
                    }
                  },
                  "required": [
                    "key"
                  ],
                  "type": [
                    "object",
                    "null"
                  ],
                  "x-kubernetes-map-type": "atomic"
                },
                "metricsUsername": {
                  "description": "MetricsUsername is an metrics username to call the REST API. It is defaulted if metrics are enabled.",
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "monitorMaxConnections": {
                  "description": "MonitorMaxConnections defines the maximum number of connections that the monitor can establish.\nIf HA is enabled, make sure to increase this value, as more MaxScale replicas implies more connections.\nIt defaults to 30 times the number of MaxScale replicas.",
                  "format": "int32",
                  "type": [
                    "integer",
                    "null"
                  ]
                },
                "monitorPasswordSecretKeyRef": {
                  "additionalProperties": false,
                  "description": "MonitorPasswordSecretKeyRef is Secret key reference to the password used by MaxScale monitor to connect to MariaDB server. It is defaulted if not provided.\nIf the referred Secret is labeled with \"k8s.mariadb.com/watch\", updates may be performed to the Secret in order to update the password.",
                  "properties": {
                    "generate": {
                      "default": false,
                      "description": "Generate indicates whether the Secret should be generated if the Secret referenced is not present.",
                      "type": [
                        "boolean",
                        "null"
                      ]
                    },
                    "key": {
                      "type": "string"
                    },
                    "name": {
                      "default": "",
                      "type": [
                        "string",
                        "null"
                      ]
                    }
                  },
                  "required": [
                    "key"
                  ],
                  "type": [
                    "object",
                    "null"
                  ],
                  "x-kubernetes-map-type": "atomic"
                },
                "monitorUsername": {
                  "description": "MonitorUsername is the user used by MaxScale monitor to connect to MariaDB server. It is defaulted if not provided.",
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "serverMaxConnections": {
                  "description": "ServerMaxConnections defines the maximum number of connections that the server can establish.\nIf HA is enabled, make sure to increase this value, as more MaxScale replicas implies more connections.\nIt defaults to 30 times the number of MaxScale replicas.",
                  "format": "int32",
                  "type": [
                    "integer",
                    "null"
                  ]
                },
                "serverPasswordSecretKeyRef": {
                  "additionalProperties": false,
                  "description": "ServerPasswordSecretKeyRef is Secret key reference to the password used by MaxScale to connect to MariaDB server. It is defaulted if not provided.\nIf the referred Secret is labeled with \"k8s.mariadb.com/watch\", updates may be performed to the Secret in order to update the password.",
                  "properties": {
                    "generate": {
                      "default": false,
                      "description": "Generate indicates whether the Secret should be generated if the Secret referenced is not present.",
                      "type": [
                        "boolean",
                        "null"
                      ]
                    },
                    "key": {
                      "type": "string"
                    },
                    "name": {
                      "default": "",
                      "type": [
                        "string",
                        "null"
                      ]
                    }
                  },
                  "required": [
                    "key"
                  ],
                  "type": [
                    "object",
                    "null"
                  ],
                  "x-kubernetes-map-type": "atomic"
                },
                "serverUsername": {
                  "description": "ServerUsername is the user used by MaxScale to connect to MariaDB server. It is defaulted if not provided.",
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "syncMaxConnections": {
                  "description": "SyncMaxConnections defines the maximum number of connections that the sync can establish.\nIf HA is enabled, make sure to increase this value, as more MaxScale replicas implies more connections.\nIt defaults to 30 times the number of MaxScale replicas.",
                  "format": "int32",
                  "type": [
                    "integer",
                    "null"
                  ]
                },
                "syncPasswordSecretKeyRef": {
                  "additionalProperties": false,
                  "description": "SyncPasswordSecretKeyRef is Secret key reference to the password used by MaxScale config to connect to MariaDB server. It is defaulted when HA is enabled.\nIf the referred Secret is labeled with \"k8s.mariadb.com/watch\", updates may be performed to the Secret in order to update the password.",
                  "properties": {
                    "generate": {
                      "default": false,
                      "description": "Generate indicates whether the Secret should be generated if the Secret referenced is not present.",
                      "type": [
                        "boolean",
                        "null"
                      ]
                    },
                    "key": {
                      "type": "string"
                    },
                    "name": {
                      "default": "",
                      "type": [
                        "string",
                        "null"
                      ]
                    }
                  },
                  "required": [
                    "key"
                  ],
                  "type": [
                    "object",
                    "null"
                  ],
                  "x-kubernetes-map-type": "atomic"
                },
                "syncUsername": {
                  "description": "MonitoSyncUsernamerUsername is the user used by MaxScale config sync to connect to MariaDB server. It is defaulted when HA is enabled.",
                  "type": [
                    "string",
                    "null"
                  ]
                }
              },
              "type": [
                "object",
                "null"
              ]
            },
            "config": {
              "additionalProperties": false,
              "description": "Config defines the MaxScale configuration.",
              "properties": {
                "params": {
                  "additionalProperties": {
                    "type": "string"
                  },
                  "description": "Params is a key value pair of parameters to be used in the MaxScale static configuration file.\nAny parameter supported by MaxScale may be specified here. See reference:\nhttps://mariadb.com/kb/en/mariadb-maxscale-2308-mariadb-maxscale-configuration-guide/#global-settings.",
                  "type": [
                    "object",
                    "null"
                  ]
                },
                "sync": {
                  "additionalProperties": false,
                  "description": "Sync defines how to replicate configuration across MaxScale replicas. It is defaulted when HA is enabled.",
                  "properties": {
                    "database": {
                      "description": "Database is the MariaDB logical database where the 'maxscale_config' table will be created in order to persist and synchronize config changes. If not provided, it defaults to 'mysql'.",
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "interval": {
                      "description": "Interval defines the config synchronization interval. It is defaulted if not provided.",
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "timeout": {
                      "description": "Interval defines the config synchronization timeout. It is defaulted if not provided.",
                      "type": [
                        "string",
                        "null"
                      ]
                    }
                  },
                  "type": [
                    "object",
                    "null"
                  ]
                },
                "volumeClaimTemplate": {
                  "additionalProperties": false,
                  "description": "VolumeClaimTemplate provides a template to define the PVCs for storing MaxScale runtime configuration files. It is defaulted if not provided.",
                  "properties": {
                    "accessModes": {
                      "items": {
                        "type": "string"
                      },
                      "type": [
                        "array",
                        "null"
                      ],
                      "x-kubernetes-list-type": "atomic"
                    },
                    "metadata": {
                      "additionalProperties": false,
                      "description": "Metadata to be added to the PVC metadata.",
                      "properties": {
                        "annotations": {
                          "additionalProperties": {
                            "type": "string"
                          },
                          "description": "Annotations to be added to children resources.",
                          "type": [
                            "object",
                            "null"
                          ]
                        },
                        "labels": {
                          "additionalProperties": {
                            "type": "string"
                          },
                          "description": "Labels to be added to children resources.",
                          "type": [
                            "object",
                            "null"
                          ]
                        }
                      },
                      "type": [
                        "object",
                        "null"
                      ]
                    },
                    "resources": {
                      "additionalProperties": false,
                      "description": "VolumeResourceRequirements describes the storage resource requirements for a volume.",
                      "properties": {
                        "limits": {
                          "additionalProperties": {
                            "oneOf": [
                              {
                                "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$",
                                "type": "string"
                              },
                              {
                                "type": "integer"
                              }
                            ],
                            "x-kubernetes-int-or-string": true
                          },
                          "description": "Limits describes the maximum amount of compute resources allowed.\nMore info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/",
                          "type": [
                            "object",
                            "null"
                          ]
                        },
                        "requests": {
                          "additionalProperties": {
                            "oneOf": [
                              {
                                "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$",
                                "type": "string"
                              },
                              {
                                "type": "integer"
                              }
                            ],
                            "x-kubernetes-int-or-string": true
                          },
                          "description": "Requests describes the minimum amount of compute resources required.\nIf Requests is omitted for a container, it defaults to Limits if that is explicitly specified,\notherwise to an implementation-defined value. Requests cannot exceed Limits.\nMore info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/",
                          "type": [
                            "object",
                            "null"
                          ]
                        }
                      },
                      "type": [
                        "object",
                        "null"
                      ]
                    },
                    "selector": {
                      "additionalProperties": false,
                      "description": "A label selector is a label query over a set of resources. The result of matchLabels and\nmatchExpressions are ANDed. An empty label selector matches all objects. A null\nlabel selector matches no objects.",
                      "properties": {
                        "matchExpressions": {
                          "description": "matchExpressions is a list of label selector requirements. The requirements are ANDed.",
                          "items": {
                            "additionalProperties": false,
                            "description": "A label selector requirement is a selector that contains values, a key, and an operator that\nrelates the key and values.",
                            "properties": {
                              "key": {
                                "description": "key is the label key that the selector applies to.",
                                "type": "string"
                              },
                              "operator": {
                                "description": "operator represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists and DoesNotExist.",
                                "type": "string"
                              },
                              "values": {
                                "description": "values is an array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. This array is replaced during a strategic\nmerge patch.",
                                "items": {
                                  "type": "string"
                                },
                                "type": [
                                  "array",
                                  "null"
                                ],
                                "x-kubernetes-list-type": "atomic"
                              }
                            },
                            "required": [
                              "key",
                              "operator"
                            ],
                            "type": "object"
                          },
                          "type": [
                            "array",
                            "null"
                          ],
                          "x-kubernetes-list-type": "atomic"
                        },
                        "matchLabels": {
                          "additionalProperties": {
                            "type": "string"
                          },
                          "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels\nmap is equivalent to an element of matchExpressions, whose key field is \"key\", the\noperator is \"In\", and the values array contains only \"value\". The requirements are ANDed.",
                          "type": [
                            "object",
                            "null"
                          ]
                        }
                      },
                      "type": [
                        "object",
                        "null"
                      ],
                      "x-kubernetes-map-type": "atomic"
                    },
                    "storageClassName": {
                      "type": [
                        "string",
                        "null"
                      ]
                    }
                  },
                  "type": [
                    "object",
                    "null"
                  ]
                }
              },
              "type": [
                "object",
                "null"
              ]
            },
            "connection": {
              "additionalProperties": false,
              "description": "Connection provides a template to define the Connection for MaxScale.",
              "properties": {
                "healthCheck": {
                  "additionalProperties": false,
                  "description": "HealthCheck to be used in the Connection.",
                  "properties": {
                    "interval": {
                      "description": "Interval used to perform health checks.",
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "retryInterval": {
                      "description": "RetryInterval is the interval used to perform health check retries.",
                      "type": [
                        "string",
                        "null"
                      ]
                    }
                  },
                  "type": [
                    "object",
                    "null"
                  ]
                },
                "params": {
                  "additionalProperties": {
                    "type": "string"
                  },
                  "description": "Params to be used in the Connection.",
                  "type": [
                    "object",
                    "null"
                  ]
                },
                "port": {
                  "description": "Port to connect to. If not provided, it defaults to the MariaDB port or to the first MaxScale listener.",
                  "format": "int32",
                  "type": [
                    "integer",
                    "null"
                  ]
                },
                "secretName": {
                  "description": "SecretName to be used in the Connection.",
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "secretTemplate": {
                  "additionalProperties": false,
                  "description": "SecretTemplate to be used in the Connection.",
                  "properties": {
                    "databaseKey": {
                      "description": "DatabaseKey to be used in the Secret.",
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "format": {
                      "description": "Format to be used in the Secret.",
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "hostKey": {
                      "description": "HostKey to be used in the Secret.",
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "key": {
                      "description": "Key to be used in the Secret.",
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "metadata": {
                      "additionalProperties": false,
                      "description": "Metadata to be added to the Secret object.",
                      "properties": {
                        "annotations": {
                          "additionalProperties": {
                            "type": "string"
                          },
                          "description": "Annotations to be added to children resources.",
                          "type": [
                            "object",
                            "null"
                          ]
                        },
                        "labels": {
                          "additionalProperties": {
                            "type": "string"
                          },
                          "description": "Labels to be added to children resources.",
                          "type": [
                            "object",
                            "null"
                          ]
                        }
                      },
                      "type": [
                        "object",
                        "null"
                      ]
                    },
                    "passwordKey": {
                      "description": "PasswordKey to be used in the Secret.",
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "portKey": {
                      "description": "PortKey to be used in the Secret.",
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "usernameKey": {
                      "description": "UsernameKey to be used in the Secret.",
                      "type": [
                        "string",
                        "null"
                      ]
                    }
                  },
                  "type": [
                    "object",
                    "null"
                  ]
                },
                "serviceName": {
                  "description": "ServiceName to be used in the Connection.",
                  "type": [
                    "string",
                    "null"
                  ]
                }
              },
              "type": [
                "object",
                "null"
              ]
            },
            "enabled": {
              "description": "Enabled is a flag to enable a MaxScale instance to be used with the current MariaDB.",
              "type": [
                "boolean",
                "null"
              ]
            },
            "guiKubernetesService": {
              "additionalProperties": false,
              "description": "GuiKubernetesService define a template for a Kubernetes Service object to connect to MaxScale's GUI.",
              "properties": {
                "allocateLoadBalancerNodePorts": {
                  "description": "AllocateLoadBalancerNodePorts Service field.",
                  "type": [
                    "boolean",
                    "null"
                  ]
                },
                "externalTrafficPolicy": {
                  "description": "ExternalTrafficPolicy Service field.",
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "loadBalancerIP": {
                  "description": "LoadBalancerIP Service field.",
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "loadBalancerSourceRanges": {
                  "description": "LoadBalancerSourceRanges Service field.",
                  "items": {
                    "type": "string"
                  },
                  "type": [
                    "array",
                    "null"
                  ]
                },
                "metadata": {
                  "additionalProperties": false,
                  "description": "Metadata to be added to the Service metadata.",
                  "properties": {
                    "annotations": {
                      "additionalProperties": {
                        "type": "string"
                      },
                      "description": "Annotations to be added to children resources.",
                      "type": [
                        "object",
                        "null"
                      ]
                    },
                    "labels": {
                      "additionalProperties": {
                        "type": "string"
                      },
                      "description": "Labels to be added to children resources.",
                      "type": [
                        "object",
                        "null"
                      ]
                    }
                  },
                  "type": [
                    "object",
                    "null"
                  ]
                },
                "sessionAffinity": {
                  "description": "SessionAffinity Service field.",
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "type": {
                  "default": "ClusterIP",
                  "description": "Type is the Service type. One of `ClusterIP`, `NodePort` or `LoadBalancer`. If not defined, it defaults to `ClusterIP`.",
                  "enum": [
                    "ClusterIP",
                    "NodePort",
                    "LoadBalancer"
                  ],
                  "type": [
                    "string",
                    "null"
                  ]
                }
              },
              "type": [
                "object",
                "null"
              ]
            },
            "image": {
              "description": "Image name to be used by the MaxScale instances. The supported format is `\u003cimage\u003e:\u003ctag\u003e`.\nOnly MariaDB official images are supported.",
              "type": [
                "string",
                "null"
              ]
            },
            "imagePullPolicy": {
              "description": "ImagePullPolicy is the image pull policy. One of `Always`, `Never` or `IfNotPresent`. If not defined, it defaults to `IfNotPresent`.",
              "enum": [
                "Always",
                "Never",
                "IfNotPresent"
              ],
              "type": [
                "string",
                "null"
              ]
            },
            "kubernetesService": {
              "additionalProperties": false,
              "description": "KubernetesService defines a template for a Kubernetes Service object to connect to MaxScale.",
              "properties": {
                "allocateLoadBalancerNodePorts": {
                  "description": "AllocateLoadBalancerNodePorts Service field.",
                  "type": [
                    "boolean",
                    "null"
                  ]
                },
                "externalTrafficPolicy": {
                  "description": "ExternalTrafficPolicy Service field.",
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "loadBalancerIP": {
                  "description": "LoadBalancerIP Service field.",
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "loadBalancerSourceRanges": {
                  "description": "LoadBalancerSourceRanges Service field.",
                  "items": {
                    "type": "string"
                  },
                  "type": [
                    "array",
                    "null"
                  ]
                },
                "metadata": {
                  "additionalProperties": false,
                  "description": "Metadata to be added to the Service metadata.",
                  "properties": {
                    "annotations": {
                      "additionalProperties": {
                        "type": "string"
                      },
                      "description": "Annotations to be added to children resources.",
                      "type": [
                        "object",
                        "null"
                      ]
                    },
                    "labels": {
                      "additionalProperties": {
                        "type": "string"
                      },
                      "description": "Labels to be added to children resources.",
                      "type": [
                        "object",
                        "null"
                      ]
                    }
                  },
                  "type": [
                    "object",
                    "null"
                  ]
                },
                "sessionAffinity": {
                  "description": "SessionAffinity Service field.",
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "type": {
                  "default": "ClusterIP",
                  "description": "Type is the Service type. One of `ClusterIP`, `NodePort` or `LoadBalancer`. If not defined, it defaults to `ClusterIP`.",
                  "enum": [
                    "ClusterIP",
                    "NodePort",
                    "LoadBalancer"
                  ],
                  "type": [
                    "string",
                    "null"
                  ]
                }
              },
              "type": [
                "object",
                "null"
              ]
            },
            "metrics": {
              "additionalProperties": false,
              "description": "Metrics configures metrics and how to scrape them.",
              "properties": {
                "enabled": {
                  "description": "Enabled is a flag to enable Metrics",
                  "type": [
                    "boolean",
                    "null"
                  ]
                },
                "exporter": {
                  "additionalProperties": false,
                  "description": "Exporter defines the metrics exporter container.",
                  "properties": {
                    "affinity": {
                      "additionalProperties": false,
                      "description": "Affinity to be used in the Pod.",
                      "properties": {
                        "antiAffinityEnabled": {
                          "description": "AntiAffinityEnabled configures PodAntiAffinity so each Pod is scheduled in a different Node, enabling HA.\nMake sure you have at least as many Nodes available as the replicas to not end up with unscheduled Pods.",
                          "type": [
                            "boolean",
                            "null"
                          ]
                        },
                        "nodeAffinity": {
                          "additionalProperties": false,
                          "description": "Refer to the Kubernetes docs: https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.33/#nodeaffinity-v1-core",
                          "properties": {
                            "preferredDuringSchedulingIgnoredDuringExecution": {
                              "items": {
                                "additionalProperties": false,
                                "description": "Refer to the Kubernetes docs: https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.33/#preferredschedulingterm-v1-core",
                                "properties": {
                                  "preference": {
                                    "additionalProperties": false,
                                    "description": "Refer to the Kubernetes docs: https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.33/#nodeselectorterm-v1-core",
                                    "properties": {
                                      "matchExpressions": {
                                        "items": {
                                          "additionalProperties": false,
                                          "description": "Refer to the Kubernetes docs: https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.33/#nodeselectorrequirement-v1-core",
                                          "properties": {
                                            "key": {
                                              "type": "string"
                                            },
                                            "operator": {
                                              "description": "A node selector operator is the set of operators that can be used in\na node selector requirement.",
                                              "type": "string"
                                            },
                                            "values": {
                                              "items": {
                                                "type": "string"
                                              },
                                              "type": [
                                                "array",
                                                "null"
                                              ],
                                              "x-kubernetes-list-type": "atomic"
                                            }
                                          },
                                          "required": [
                                            "key",
                                            "operator"
                                          ],
                                          "type": "object"
                                        },
                                        "type": [
                                          "array",
                                          "null"
                                        ],
                                        "x-kubernetes-list-type": "atomic"
                                      },
                                      "matchFields": {
                                        "items": {
                                          "additionalProperties": false,
                                          "description": "Refer to the Kubernetes docs: https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.33/#nodeselectorrequirement-v1-core",
                                          "properties": {
                                            "key": {
                                              "type": "string"
                                            },
                                            "operator": {
                                              "description": "A node selector operator is the set of operators that can be used in\na node selector requirement.",
                                              "type": "string"
                                            },
                                            "values": {
                                              "items": {
                                                "type": "string"
                                              },
                                              "type": [
                                                "array",
                                                "null"
                                              ],
                                              "x-kubernetes-list-type": "atomic"
                                            }
                                          },
                                          "required": [
                                            "key",
                                            "operator"
                                          ],
                                          "type": "object"
                                        },
                                        "type": [
                                          "array",
                                          "null"
                                        ],
                                        "x-kubernetes-list-type": "atomic"
                                      }
                                    },
                                    "type": "object"
                                  },
                                  "weight": {
                                    "format": "int32",
                                    "type": "integer"
                                  }
                                },
                                "required": [
                                  "preference",
                                  "weight"
                                ],
                                "type": "object"
                              },
                              "type": [
                                "array",
                                "null"
                              ],
                              "x-kubernetes-list-type": "atomic"
                            },
                            "requiredDuringSchedulingIgnoredDuringExecution": {
                              "additionalProperties": false,
                              "description": "Refer to the Kubernetes docs: https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.33/#nodeselector-v1-core",
                              "properties": {
                                "nodeSelectorTerms": {
                                  "items": {
                                    "additionalProperties": false,
                                    "description": "Refer to the Kubernetes docs: https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.33/#nodeselectorterm-v1-core",
                                    "properties": {
                                      "matchExpressions": {
                                        "items": {
                                          "additionalProperties": false,
                                          "description": "Refer to the Kubernetes docs: https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.33/#nodeselectorrequirement-v1-core",
                                          "properties": {
                                            "key": {
                                              "type": "string"
                                            },
                                            "operator": {
                                              "description": "A node selector operator is the set of operators that can be used in\na node selector requirement.",
                                              "type": "string"
                                            },
                                            "values": {
                                              "items": {
                                                "type": "string"
                                              },
                                              "type": [
                                                "array",
                                                "null"
                                              ],
                                              "x-kubernetes-list-type": "atomic"
                                            }
                                          },
                                          "required": [
                                            "key",
                                            "operator"
                                          ],
                                          "type": "object"
                                        },
                                        "type": [
                                          "array",
                                          "null"
                                        ],
                                        "x-kubernetes-list-type": "atomic"
                                      },
                                      "matchFields": {
                                        "items": {
                                          "additionalProperties": false,
                                          "description": "Refer to the Kubernetes docs: https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.33/#nodeselectorrequirement-v1-core",
                                          "properties": {
                                            "key": {
                                              "type": "string"
                                            },
                                            "operator": {
                                              "description": "A node selector operator is the set of operators that can be used in\na node selector requirement.",
                                              "type": "string"
                                            },
                                            "values": {
                                              "items": {
                                                "type": "string"
                                              },
                                              "type": [
                                                "array",
                                                "null"
                                              ],
                                              "x-kubernetes-list-type": "atomic"
                                            }
                                          },
                                          "required": [
                                            "key",
                                            "operator"
                                          ],
                                          "type": "object"
                                        },
                                        "type": [
                                          "array",
                                          "null"
                                        ],
                                        "x-kubernetes-list-type": "atomic"
                                      }
                                    },
                                    "type": "object"
                                  },
                                  "type": "array",
                                  "x-kubernetes-list-type": "atomic"
                                }
                              },
                              "required": [
                                "nodeSelectorTerms"
                              ],
                              "type": [
                                "object",
                                "null"
                              ]
                            }
                          },
                          "type": [
                            "object",
                            "null"
                          ]
                        },
                        "podAntiAffinity": {
                          "additionalProperties": false,
                          "description": "Refer to the Kubernetes docs: https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.33/#podantiaffinity-v1-core.",
                          "properties": {
                            "preferredDuringSchedulingIgnoredDuringExecution": {
                              "items": {
                                "additionalProperties": false,
                                "description": "Refer to the Kubernetes docs: https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.33/#weightedpodaffinityterm-v1-core.",
                                "properties": {
                                  "podAffinityTerm": {
                                    "additionalProperties": false,
                                    "description": "Refer to the Kubernetes docs: https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.33/#podaffinityterm-v1-core.",
                                    "properties": {
                                      "labelSelector": {
                                        "additionalProperties": false,
                                        "description": "Refer to the Kubernetes docs: https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.33/#labelselector-v1-meta",
                                        "properties": {
                                          "matchExpressions": {
                                            "items": {
                                              "additionalProperties": false,
                                              "description": "Refer to the Kubernetes docs: https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.33/#labelselectorrequirement-v1-meta",
                                              "properties": {
                                                "key": {
                                                  "type": "string"
                                                },
                                                "operator": {
                                                  "description": "A label selector operator is the set of operators that can be used in a selector requirement.",
                                                  "type": "string"
                                                },
                                                "values": {
                                                  "items": {
                                                    "type": "string"
                                                  },
                                                  "type": [
                                                    "array",
                                                    "null"
                                                  ],
                                                  "x-kubernetes-list-type": "atomic"
                                                }
                                              },
                                              "required": [
                                                "key",
                                                "operator"
                                              ],
                                              "type": "object"
                                            },
                                            "type": [
                                              "array",
                                              "null"
                                            ],
                                            "x-kubernetes-list-type": "atomic"
                                          },
                                          "matchLabels": {
                                            "additionalProperties": {
                                              "type": "string"
                                            },
                                            "type": [
                                              "object",
                                              "null"
                                            ]
                                          }
                                        },
                                        "type": [
                                          "object",
                                          "null"
                                        ]
                                      },
                                      "topologyKey": {
                                        "type": "string"
                                      }
                                    },
                                    "required": [
                                      "topologyKey"
                                    ],
                                    "type": "object"
                                  },
                                  "weight": {
                                    "format": "int32",
                                    "type": "integer"
                                  }
                                },
                                "required": [
                                  "podAffinityTerm",
                                  "weight"
                                ],
                                "type": "object"
                              },
                              "type": [
                                "array",
                                "null"
                              ],
                              "x-kubernetes-list-type": "atomic"
                            },
                            "requiredDuringSchedulingIgnoredDuringExecution": {
                              "items": {
                                "additionalProperties": false,
                                "description": "Refer to the Kubernetes docs: https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.33/#podaffinityterm-v1-core.",
                                "properties": {
                                  "labelSelector": {
                                    "additionalProperties": false,
                                    "description": "Refer to the Kubernetes docs: https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.33/#labelselector-v1-meta",
                                    "properties": {
                                      "matchExpressions": {
                                        "items": {
                                          "additionalProperties": false,
                                          "description": "Refer to the Kubernetes docs: https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.33/#labelselectorrequirement-v1-meta",
                                          "properties": {
                                            "key": {
                                              "type": "string"
                                            },
                                            "operator": {
                                              "description": "A label selector operator is the set of operators that can be used in a selector requirement.",
                                              "type": "string"
                                            },
                                            "values": {
                                              "items": {
                                                "type": "string"
                                              },
                                              "type": [
                                                "array",
                                                "null"
                                              ],
                                              "x-kubernetes-list-type": "atomic"
                                            }
                                          },
                                          "required": [
                                            "key",
                                            "operator"
                                          ],
                                          "type": "object"
                                        },
                                        "type": [
                                          "array",
                                          "null"
                                        ],
                                        "x-kubernetes-list-type": "atomic"
                                      },
                                      "matchLabels": {
                                        "additionalProperties": {
                                          "type": "string"
                                        },
                                        "type": [
                                          "object",
                                          "null"
                                        ]
                                      }
                                    },
                                    "type": [
                                      "object",
                                      "null"
                                    ]
                                  },
                                  "topologyKey": {
                                    "type": "string"
                                  }
                                },
                                "required": [
                                  "topologyKey"
                                ],
                                "type": "object"
                              },
                              "type": [
                                "array",
                                "null"
                              ],
                              "x-kubernetes-list-type": "atomic"
                            }
                          },
                          "type": [
                            "object",
                            "null"
                          ]
                        }
                      },
                      "type": [
                        "object",
                        "null"
                      ]
                    },
                    "args": {
                      "description": "Args to be used in the Container.",
                      "items": {
                        "type": "string"
                      },
                      "type": [
                        "array",
                        "null"
                      ]
                    },
                    "image": {
                      "description": "Image name to be used as metrics exporter. The supported format is `\u003cimage\u003e:\u003ctag\u003e`.\nOnly mysqld-exporter \u003e= v0.15.0 is supported: https://github.com/prometheus/mysqld_exporter",
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "imagePullPolicy": {
                      "description": "ImagePullPolicy is the image pull policy. One of `Always`, `Never` or `IfNotPresent`. If not defined, it defaults to `IfNotPresent`.",
                      "enum": [
                        "Always",
                        "Never",
                        "IfNotPresent"
                      ],
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "imagePullSecrets": {
                      "description": "ImagePullSecrets is the list of pull Secrets to be used to pull the image.",
                      "items": {
                        "additionalProperties": false,
                        "description": "Refer to the Kubernetes docs: https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.33/#localobjectreference-v1-core.",
                        "properties": {
                          "name": {
                            "default": "",
                            "type": [
                              "string",
                              "null"
                            ]
                          }
                        },
                        "type": "object"
                      },
                      "type": [
                        "array",
                        "null"
                      ]
                    },
                    "nodeSelector": {
                      "additionalProperties": {
                        "type": "string"
                      },
                      "description": "NodeSelector to be used in the Pod.",
                      "type": [
                        "object",
                        "null"
                      ]
                    },
                    "podMetadata": {
                      "additionalProperties": false,
                      "description": "PodMetadata defines extra metadata for the Pod.",
                      "properties": {
                        "annotations": {
                          "additionalProperties": {
                            "type": "string"
                          },
                          "description": "Annotations to be added to children resources.",
                          "type": [
                            "object",
                            "null"
                          ]
                        },
                        "labels": {
                          "additionalProperties": {
                            "type": "string"
                          },
                          "description": "Labels to be added to children resources.",
                          "type": [
                            "object",
                            "null"
                          ]
                        }
                      },
                      "type": [
                        "object",
                        "null"
                      ]
                    },
                    "podSecurityContext": {
                      "additionalProperties": false,
                      "description": "SecurityContext holds pod-level security attributes and common container settings.",
                      "properties": {
                        "appArmorProfile": {
                          "additionalProperties": false,
                          "description": "AppArmorProfile defines a pod or container's AppArmor settings.",
                          "properties": {
                            "localhostProfile": {
                              "description": "localhostProfile indicates a profile loaded on the node that should be used.\nThe profile must be preconfigured on the node to work.\nMust match the loaded name of the profile.\nMust be set if and only if type is \"Localhost\".",
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "type": {
                              "description": "type indicates which kind of AppArmor profile will be applied.\nValid options are:\n  Localhost - a profile pre-loaded on the node.\n  RuntimeDefault - the container runtime's default profile.\n  Unconfined - no AppArmor enforcement.",
                              "type": "string"
                            }
                          },
                          "required": [
                            "type"
                          ],
                          "type": [
                            "object",
                            "null"
                          ]
                        },
                        "fsGroup": {
                          "format": "int64",
                          "type": [
                            "integer",
                            "null"
                          ]
                        },
                        "fsGroupChangePolicy": {
                          "description": "PodFSGroupChangePolicy holds policies that will be used for applying fsGroup to a volume\nwhen volume is mounted.",
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "runAsGroup": {
                          "format": "int64",
                          "type": [
                            "integer",
                            "null"
                          ]
                        },
                        "runAsNonRoot": {
                          "type": [
                            "boolean",
                            "null"
                          ]
                        },
                        "runAsUser": {
                          "format": "int64",
                          "type": [
                            "integer",
                            "null"
                          ]
                        },
                        "seLinuxOptions": {
                          "additionalProperties": false,
                          "description": "SELinuxOptions are the labels to be applied to the container",
                          "properties": {
                            "level": {
                              "description": "Level is SELinux level label that applies to the container.",
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "role": {
                              "description": "Role is a SELinux role label that applies to the container.",
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "type": {
                              "description": "Type is a SELinux type label that applies to the container.",
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "user": {
                              "description": "User is a SELinux user label that applies to the container.",
                              "type": [
                                "string",
                                "null"
                              ]
                            }
                          },
                          "type": [
                            "object",
                            "null"
                          ]
                        },
                        "seccompProfile": {
                          "additionalProperties": false,
                          "description": "SeccompProfile defines a pod/container's seccomp profile settings.\nOnly one profile source may be set.",
                          "properties": {
                            "localhostProfile": {
                              "description": "localhostProfile indicates a profile defined in a file on the node should be used.\nThe profile must be preconfigured on the node to work.\nMust be a descending path, relative to the kubelet's configured seccomp profile location.\nMust be set if type is \"Localhost\". Must NOT be set for any other type.",
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "type": {
                              "description": "type indicates which kind of seccomp profile will be applied.\nValid options are:\n\nLocalhost - a profile defined in a file on the node should be used.\nRuntimeDefault - the container runtime default profile should be used.\nUnconfined - no profile should be applied.",
                              "type": "string"
                            }
                          },
                          "required": [
                            "type"
                          ],
                          "type": [
                            "object",
                            "null"
                          ]
                        },
                        "supplementalGroups": {
                          "items": {
                            "format": "int64",
                            "type": "integer"
                          },
                          "type": [
                            "array",
                            "null"
                          ],
                          "x-kubernetes-list-type": "atomic"
                        }
                      },
                      "type": [
                        "object",
                        "null"
                      ]
                    },
                    "port": {
                      "description": "Port where the exporter will be listening for connections.",
                      "format": "int32",
                      "type": [
                        "integer",
                        "null"
                      ]
                    },
                    "priorityClassName": {
                      "description": "PriorityClassName to be used in the Pod.",
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "resources": {
                      "additionalProperties": false,
                      "description": "Resources describes the compute resource requirements.",
                      "properties": {
                        "limits": {
                          "additionalProperties": {
                            "oneOf": [
                              {
                                "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$",
                                "type": "string"
                              },
                              {
                                "type": "integer"
                              }
                            ],
                            "x-kubernetes-int-or-string": true
                          },
                          "description": "ResourceList is a set of (resource name, quantity) pairs.",
                          "type": [
                            "object",
                            "null"
                          ]
                        },
                        "requests": {
                          "additionalProperties": {
                            "oneOf": [
                              {
                                "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$",
                                "type": "string"
                              },
                              {
                                "type": "integer"
                              }
                            ],
                            "x-kubernetes-int-or-string": true
                          },
                          "description": "ResourceList is a set of (resource name, quantity) pairs.",
                          "type": [
                            "object",
                            "null"
                          ]
                        }
                      },
                      "type": [
                        "object",
                        "null"
                      ]
                    },
                    "securityContext": {
                      "additionalProperties": false,
                      "description": "SecurityContext holds container-level security attributes.",
                      "properties": {
                        "allowPrivilegeEscalation": {
                          "type": [
                            "boolean",
                            "null"
                          ]
                        },
                        "capabilities": {
                          "additionalProperties": false,
                          "description": "Adds and removes POSIX capabilities from running containers.",
                          "properties": {
                            "add": {
                              "description": "Added capabilities",
                              "items": {
                                "description": "Capability represent POSIX capabilities type",
                                "type": "string"
                              },
                              "type": [
                                "array",
                                "null"
                              ],
                              "x-kubernetes-list-type": "atomic"
                            },
                            "drop": {
                              "description": "Removed capabilities",
                              "items": {
                                "description": "Capability represent POSIX capabilities type",
                                "type": "string"
                              },
                              "type": [
                                "array",
                                "null"
                              ],
                              "x-kubernetes-list-type": "atomic"
                            }
                          },
                          "type": [
                            "object",
                            "null"
                          ]
                        },
                        "privileged": {
                          "type": [
                            "boolean",
                            "null"
                          ]
                        },
                        "readOnlyRootFilesystem": {
                          "type": [
                            "boolean",
                            "null"
                          ]
                        },
                        "runAsGroup": {
                          "format": "int64",
                          "type": [
                            "integer",
                            "null"
                          ]
                        },
                        "runAsNonRoot": {
                          "type": [
                            "boolean",
                            "null"
                          ]
                        },
                        "runAsUser": {
                          "format": "int64",
                          "type": [
                            "integer",
                            "null"
                          ]
                        }
                      },
                      "type": [
                        "object",
                        "null"
                      ]
                    },
                    "tolerations": {
                      "description": "Tolerations to be used in the Pod.",
                      "items": {
                        "additionalProperties": false,
                        "description": "The pod this Toleration is attached to tolerates any taint that matches\nthe triple \u003ckey,value,effect\u003e using the matching operator \u003coperator\u003e.",
                        "properties": {
                          "effect": {
                            "description": "Effect indicates the taint effect to match. Empty means match all taint effects.\nWhen specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute.",
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "key": {
                            "description": "Key is the taint key that the toleration applies to. Empty means match all taint keys.\nIf the key is empty, operator must be Exists; this combination means to match all values and all keys.",
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "operator": {
                            "description": "Operator represents a key's relationship to the value.\nValid operators are Exists and Equal. Defaults to Equal.\nExists is equivalent to wildcard for value, so that a pod can\ntolerate all taints of a particular category.",
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "tolerationSeconds": {
                            "description": "TolerationSeconds represents the period of time the toleration (which must be\nof effect NoExecute, otherwise this field is ignored) tolerates the taint. By default,\nit is not set, which means tolerate the taint forever (do not evict). Zero and\nnegative values will be treated as 0 (evict immediately) by the system.",
                            "format": "int64",
                            "type": [
                              "integer",
                              "null"
                            ]
                          },
                          "value": {
                            "description": "Value is the taint value the toleration matches to.\nIf the operator is Exists, the value should be empty, otherwise just a regular string.",
                            "type": [
                              "string",
                              "null"
                            ]
                          }
                        },
                        "type": "object"
                      },
                      "type": [
                        "array",
                        "null"
                      ]
                    }
                  },
                  "type": [
                    "object",
                    "null"
                  ]
                },
                "serviceMonitor": {
                  "additionalProperties": false,
                  "description": "ServiceMonitor defines the ServiceMonior object.",
                  "properties": {
                    "interval": {
                      "description": "Interval for scraping metrics.",
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "jobLabel": {
                      "description": "JobLabel to add to the ServiceMonitor object.",
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "prometheusRelease": {
                      "description": "PrometheusRelease is the release label to add to the ServiceMonitor object.",
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "scrapeTimeout": {
                      "description": "ScrapeTimeout defines the timeout for scraping metrics.",
                      "type": [
                        "string",
                        "null"
                      ]
                    }
                  },
                  "type": [
                    "object",
                    "null"
                  ]
                }
              },
              "type": [
                "object",
                "null"
              ]
            },
            "monitor": {
              "additionalProperties": false,
              "description": "Monitor monitors MariaDB server instances.",
              "properties": {
                "cooperativeMonitoring": {
                  "description": "CooperativeMonitoring enables coordination between multiple MaxScale instances running monitors. It is defaulted when HA is enabled.",
                  "enum": [
                    "majority_of_all",
                    "majority_of_running"
                  ],
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "interval": {
                  "description": "Interval used to monitor MariaDB servers. It is defaulted if not provided.",
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "module": {
                  "description": "Module is the module to use to monitor MariaDB servers. It is mandatory when no MariaDB reference is provided.",
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "name": {
                  "description": "Name is the identifier of the monitor. It is defaulted if not provided.",
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "params": {
                  "additionalProperties": {
                    "type": "string"
                  },
                  "description": "Params defines extra parameters to pass to the monitor.\nAny parameter supported by MaxScale may be specified here. See reference:\nhttps://mariadb.com/kb/en/mariadb-maxscale-2308-common-monitor-parameters/.\nMonitor specific parameter are also supported:\nhttps://mariadb.com/kb/en/mariadb-maxscale-2308-galera-monitor/#galera-monitor-optional-parameters.\nhttps://mariadb.com/kb/en/mariadb-maxscale-2308-mariadb-monitor/#configuration.",
                  "type": [
                    "object",
                    "null"
                  ]
                },
                "suspend": {
                  "default": false,
                  "description": "Suspend indicates whether the current resource should be suspended or not.\nThis can be useful for maintenance, as disabling the reconciliation prevents the operator from interfering with user operations during maintenance activities.",
                  "type": [
                    "boolean",
                    "null"
                  ]
                }
              },
              "type": [
                "object",
                "null"
              ]
            },
            "podDisruptionBudget": {
              "additionalProperties": false,
              "description": "PodDisruptionBudget defines the budget for replica availability.",
              "properties": {
                "maxUnavailable": {
                  "description": "MaxUnavailable defines the number of maximum unavailable Pods.",
                  "oneOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "integer"
                    },
                    {
                      "type": "null"
                    }
                  ],
                  "x-kubernetes-int-or-string": true
                },
                "minAvailable": {
                  "description": "MinAvailable defines the number of minimum available Pods.",
                  "oneOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "integer"
                    },
                    {
                      "type": "null"
                    }
                  ],
                  "x-kubernetes-int-or-string": true
                }
              },
              "type": [
                "object",
                "null"
              ]
            },
            "replicas": {
              "description": "Replicas indicates the number of desired instances.",
              "format": "int32",
              "type": [
                "integer",
                "null"
              ]
            },
            "requeueInterval": {
              "description": "RequeueInterval is used to perform requeue reconciliations.",
              "type": [
                "string",
                "null"
              ]
            },
            "services": {
              "description": "Services define how the traffic is forwarded to the MariaDB servers.",
              "items": {
                "additionalProperties": false,
                "description": "Services define how the traffic is forwarded to the MariaDB servers.",
                "properties": {
                  "listener": {
                    "additionalProperties": false,
                    "description": "MaxScaleListener defines how the MaxScale server will listen for connections.",
                    "properties": {
                      "name": {
                        "description": "Name is the identifier of the listener. It is defaulted if not provided",
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "params": {
                        "additionalProperties": {
                          "type": "string"
                        },
                        "description": "Params defines extra parameters to pass to the listener.\nAny parameter supported by MaxScale may be specified here. See reference:\nhttps://mariadb.com/kb/en/mariadb-maxscale-2308-mariadb-maxscale-configuration-guide/#listener_1.",
                        "type": [
                          "object",
                          "null"
                        ]
                      },
                      "port": {
                        "description": "Port is the network port where the MaxScale server will listen.",
                        "format": "int32",
                        "type": "integer"
                      },
                      "protocol": {
                        "description": "Protocol is the MaxScale protocol to use when communicating with the client. If not provided, it defaults to MariaDBProtocol.",
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "suspend": {
                        "default": false,
                        "description": "Suspend indicates whether the current resource should be suspended or not.\nThis can be useful for maintenance, as disabling the reconciliation prevents the operator from interfering with user operations during maintenance activities.",
                        "type": [
                          "boolean",
                          "null"
                        ]
                      }
                    },
                    "required": [
                      "port"
                    ],
                    "type": "object"
                  },
                  "name": {
                    "description": "Name is the identifier of the MaxScale service.",
                    "type": "string"
                  },
                  "params": {
                    "additionalProperties": {
                      "type": "string"
                    },
                    "description": "Params defines extra parameters to pass to the service.\nAny parameter supported by MaxScale may be specified here. See reference:\nhttps://mariadb.com/kb/en/mariadb-maxscale-2308-mariadb-maxscale-configuration-guide/#service_1.\nRouter specific parameter are also supported:\nhttps://mariadb.com/kb/en/mariadb-maxscale-2308-readwritesplit/#configuration.\nhttps://mariadb.com/kb/en/mariadb-maxscale-2308-readconnroute/#configuration.",
                    "type": [
                      "object",
                      "null"
                    ]
                  },
                  "router": {
                    "description": "Router is the type of router to use.",
                    "enum": [
                      "readwritesplit",
                      "readconnroute"
                    ],
                    "type": "string"
                  },
                  "suspend": {
                    "default": false,
                    "description": "Suspend indicates whether the current resource should be suspended or not.\nThis can be useful for maintenance, as disabling the reconciliation prevents the operator from interfering with user operations during maintenance activities.",
                    "type": [
                      "boolean",
                      "null"
                    ]
                  }
                },
                "required": [
                  "listener",
                  "name",
                  "router"
                ],
                "type": "object"
              },
              "type": [
                "array",
                "null"
              ]
            },
            "tls": {
              "additionalProperties": false,
              "description": "TLS defines the PKI to be used with MaxScale.",
              "properties": {
                "adminCASecretRef": {
                  "additionalProperties": false,
                  "description": "AdminCASecretRef is a reference to a Secret containing the admin certificate authority keypair. It is used to establish trust and issue certificates for the MaxScale's administrative REST API and GUI.\nOne of:\n- Secret containing both the 'ca.crt' and 'ca.key' keys. This allows you to bring your own CA to Kubernetes to issue certificates.\n- Secret containing only the 'ca.crt' in order to establish trust. In this case, either adminCertSecretRef or adminCertIssuerRef fields must be provided.\nIf not provided, a self-signed CA will be provisioned to issue the server certificate.",
                  "properties": {
                    "name": {
                      "default": "",
                      "type": [
                        "string",
                        "null"
                      ]
                    }
                  },
                  "type": [
                    "object",
                    "null"
                  ]
                },
                "adminCertIssuerRef": {
                  "additionalProperties": false,
                  "description": "AdminCertIssuerRef is a reference to a cert-manager issuer object used to issue the MaxScale's administrative REST API and GUI certificate. cert-manager must be installed previously in the cluster.\nIt is mutually exclusive with adminCertSecretRef.\nBy default, the Secret field 'ca.crt' provisioned by cert-manager will be added to the trust chain. A custom trust bundle may be specified via adminCASecretRef.",
                  "properties": {
                    "group": {
                      "description": "Group of the resource being referred to.",
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "kind": {
                      "description": "Kind of the resource being referred to.",
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "name": {
                      "description": "Name of the resource being referred to.",
                      "type": "string"
                    }
                  },
                  "required": [
                    "name"
                  ],
                  "type": [
                    "object",
                    "null"
                  ]
                },
                "adminCertSecretRef": {
                  "additionalProperties": false,
                  "description": "AdminCertSecretRef is a reference to a TLS Secret used by the MaxScale's administrative REST API and GUI.",
                  "properties": {
                    "name": {
                      "default": "",
                      "type": [
                        "string",
                        "null"
                      ]
                    }
                  },
                  "type": [
                    "object",
                    "null"
                  ]
                },
                "enabled": {
                  "description": "Enabled indicates whether TLS is enabled, determining if certificates should be issued and mounted to the MaxScale instance.\nIt is enabled by default when the referred MariaDB instance (via mariaDbRef) has TLS enabled and enforced.",
                  "type": [
                    "boolean",
                    "null"
                  ]
                },
                "listenerCASecretRef": {
                  "additionalProperties": false,
                  "description": "ListenerCASecretRef is a reference to a Secret containing the listener certificate authority keypair. It is used to establish trust and issue certificates for the MaxScale's listeners.\nOne of:\n- Secret containing both the 'ca.crt' and 'ca.key' keys. This allows you to bring your own CA to Kubernetes to issue certificates.\n- Secret containing only the 'ca.crt' in order to establish trust. In this case, either listenerCertSecretRef or listenerCertIssuerRef fields must be provided.\nIf not provided, a self-signed CA will be provisioned to issue the listener certificate.",
                  "properties": {
                    "name": {
                      "default": "",
                      "type": [
                        "string",
                        "null"
                      ]
                    }
                  },
                  "type": [
                    "object",
                    "null"
                  ]
                },
                "listenerCertIssuerRef": {
                  "additionalProperties": false,
                  "description": "ListenerCertIssuerRef is a reference to a cert-manager issuer object used to issue the MaxScale's listeners certificate. cert-manager must be installed previously in the cluster.\nIt is mutually exclusive with listenerCertSecretRef.\nBy default, the Secret field 'ca.crt' provisioned by cert-manager will be added to the trust chain. A custom trust bundle may be specified via listenerCASecretRef.",
                  "properties": {
                    "group": {
                      "description": "Group of the resource being referred to.",
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "kind": {
                      "description": "Kind of the resource being referred to.",
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "name": {
                      "description": "Name of the resource being referred to.",
                      "type": "string"
                    }
                  },
                  "required": [
                    "name"
                  ],
                  "type": [
                    "object",
                    "null"
                  ]
                },
                "listenerCertSecretRef": {
                  "additionalProperties": false,
                  "description": "ListenerCertSecretRef is a reference to a TLS Secret used by the MaxScale's listeners.",
                  "properties": {
                    "name": {
                      "default": "",
                      "type": [
                        "string",
                        "null"
                      ]
                    }
                  },
                  "type": [
                    "object",
                    "null"
                  ]
                },
                "replicationSSLEnabled": {
                  "description": "ReplicationSSLEnabled specifies whether the replication SSL is enabled. If enabled, the SSL options will be added to the server configuration.\nIt is enabled by default when the referred MariaDB instance (via mariaDbRef) has replication enabled.\nIf the MariaDB servers are manually provided by the user via the 'servers' field, this must be set by the user as well.",
                  "type": [
                    "boolean",
                    "null"
                  ]
                },
                "serverCASecretRef": {
                  "additionalProperties": false,
                  "description": "ServerCASecretRef is a reference to a Secret containing the MariaDB server CA certificates. It is used to establish trust with MariaDB servers.\nThe Secret should contain a 'ca.crt' key in order to establish trust.\nIf not provided, and the reference to a MariaDB resource is set (mariaDbRef), it will be defaulted to the referred MariaDB CA bundle.",
                  "properties": {
                    "name": {
                      "default": "",
                      "type": [
                        "string",
                        "null"
                      ]
                    }
                  },
                  "type": [
                    "object",
                    "null"
                  ]
                },
                "serverCertSecretRef": {
                  "additionalProperties": false,
                  "description": "ServerCertSecretRef is a reference to a TLS Secret used by MaxScale to connect to the MariaDB servers.\nIf not provided, and the reference to a MariaDB resource is set (mariaDbRef), it will be defaulted to the referred MariaDB client certificate (clientCertSecretRef).",
                  "properties": {
                    "name": {
                      "default": "",
                      "type": [
                        "string",
                        "null"
                      ]
                    }
                  },
                  "type": [
                    "object",
                    "null"
                  ]
                },
                "verifyPeerCertificate": {
                  "description": "VerifyPeerCertificate specifies whether the peer certificate's signature should be validated against the CA.\nIt is disabled by default.",
                  "type": [
                    "boolean",
                    "null"
                  ]
                },
                "verifyPeerHost": {
                  "description": "VerifyPeerHost specifies whether the peer certificate's SANs should match the peer host.\nIt is disabled by default.",
                  "type": [
                    "boolean",
                    "null"
                  ]
                }
              },
              "type": [
                "object",
                "null"
              ]
            },
            "updateStrategy": {
              "additionalProperties": false,
              "description": "UpdateStrategy defines the update strategy for the StatefulSet object.",
              "properties": {
                "rollingUpdate": {
                  "additionalProperties": false,
                  "description": "RollingUpdate is used to communicate parameters when Type is RollingUpdateStatefulSetStrategyType.",
                  "properties": {
                    "maxUnavailable": {
                      "description": "The maximum number of pods that can be unavailable during the update.\nValue can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%).\nAbsolute number is calculated from percentage by rounding up. This can not be 0.\nDefaults to 1. This field is alpha-level and is only honored by servers that enable the\nMaxUnavailableStatefulSet feature. The field applies to all pods in the range 0 to\nReplicas-1. That means if there is any unavailable pod in the range 0 to Replicas-1, it\nwill be counted towards MaxUnavailable.",
                      "oneOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "integer"
                        },
                        {
                          "type": "null"
                        }
                      ],
                      "x-kubernetes-int-or-string": true
                    },
                    "partition": {
                      "description": "Partition indicates the ordinal at which the StatefulSet should be partitioned\nfor updates. During a rolling update, all pods from ordinal Replicas-1 to\nPartition are updated. All pods from ordinal Partition-1 to 0 remain untouched.\nThis is helpful in being able to do a canary based deployment. The default value is 0.",
                      "format": "int32",
                      "type": [
                        "integer",
                        "null"
                      ]
                    }
                  },
                  "type": [
                    "object",
                    "null"
                  ]
                },
                "type": {
                  "description": "Type indicates the type of the StatefulSetUpdateStrategy.\nDefault is RollingUpdate.",
                  "type": [
                    "string",
                    "null"
                  ]
                }
              },
              "type": [
                "object",
                "null"
              ]
            }
          },
          "type": [
            "object",
            "null"
          ]
        },
        "maxScaleRef": {
          "additionalProperties": false,
          "description": "MaxScaleRef is a reference to a MaxScale resource to be used with the current MariaDB.\nProviding this field implies delegating high availability tasks such as primary failover to MaxScale.",
          "properties": {
            "name": {
              "type": [
                "string",
                "null"
              ]
            },
            "namespace": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          "type": [
            "object",
            "null"
          ]
        },
        "metrics": {
          "additionalProperties": false,
          "description": "Metrics configures metrics and how to scrape them.",
          "properties": {
            "enabled": {
              "description": "Enabled is a flag to enable Metrics",
              "type": [
                "boolean",
                "null"
              ]
            },
            "exporter": {
              "additionalProperties": false,
              "description": "Exporter defines the metrics exporter container.",
              "properties": {
                "affinity": {
                  "additionalProperties": false,
                  "description": "Affinity to be used in the Pod.",
                  "properties": {
                    "antiAffinityEnabled": {
                      "description": "AntiAffinityEnabled configures PodAntiAffinity so each Pod is scheduled in a different Node, enabling HA.\nMake sure you have at least as many Nodes available as the replicas to not end up with unscheduled Pods.",
                      "type": [
                        "boolean",
                        "null"
                      ]
                    },
                    "nodeAffinity": {
                      "additionalProperties": false,
                      "description": "Refer to the Kubernetes docs: https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.33/#nodeaffinity-v1-core",
                      "properties": {
                        "preferredDuringSchedulingIgnoredDuringExecution": {
                          "items": {
                            "additionalProperties": false,
                            "description": "Refer to the Kubernetes docs: https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.33/#preferredschedulingterm-v1-core",
                            "properties": {
                              "preference": {
                                "additionalProperties": false,
                                "description": "Refer to the Kubernetes docs: https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.33/#nodeselectorterm-v1-core",
                                "properties": {
                                  "matchExpressions": {
                                    "items": {
                                      "additionalProperties": false,
                                      "description": "Refer to the Kubernetes docs: https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.33/#nodeselectorrequirement-v1-core",
                                      "properties": {
                                        "key": {
                                          "type": "string"
                                        },
                                        "operator": {
                                          "description": "A node selector operator is the set of operators that can be used in\na node selector requirement.",
                                          "type": "string"
                                        },
                                        "values": {
                                          "items": {
                                            "type": "string"
                                          },
                                          "type": [
                                            "array",
                                            "null"
                                          ],
                                          "x-kubernetes-list-type": "atomic"
                                        }
                                      },
                                      "required": [
                                        "key",
                                        "operator"
                                      ],
                                      "type": "object"
                                    },
                                    "type": [
                                      "array",
                                      "null"
                                    ],
                                    "x-kubernetes-list-type": "atomic"
                                  },
                                  "matchFields": {
                                    "items": {
                                      "additionalProperties": false,
                                      "description": "Refer to the Kubernetes docs: https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.33/#nodeselectorrequirement-v1-core",
                                      "properties": {
                                        "key": {
                                          "type": "string"
                                        },
                                        "operator": {
                                          "description": "A node selector operator is the set of operators that can be used in\na node selector requirement.",
                                          "type": "string"
                                        },
                                        "values": {
                                          "items": {
                                            "type": "string"
                                          },
                                          "type": [
                                            "array",
                                            "null"
                                          ],
                                          "x-kubernetes-list-type": "atomic"
                                        }
                                      },
                                      "required": [
                                        "key",
                                        "operator"
                                      ],
                                      "type": "object"
                                    },
                                    "type": [
                                      "array",
                                      "null"
                                    ],
                                    "x-kubernetes-list-type": "atomic"
                                  }
                                },
                                "type": "object"
                              },
                              "weight": {
                                "format": "int32",
                                "type": "integer"
                              }
                            },
                            "required": [
                              "preference",
                              "weight"
                            ],
                            "type": "object"
                          },
                          "type": [
                            "array",
                            "null"
                          ],
                          "x-kubernetes-list-type": "atomic"
                        },
                        "requiredDuringSchedulingIgnoredDuringExecution": {
                          "additionalProperties": false,
                          "description": "Refer to the Kubernetes docs: https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.33/#nodeselector-v1-core",
                          "properties": {
                            "nodeSelectorTerms": {
                              "items": {
                                "additionalProperties": false,
                                "description": "Refer to the Kubernetes docs: https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.33/#nodeselectorterm-v1-core",
                                "properties": {
                                  "matchExpressions": {
                                    "items": {
                                      "additionalProperties": false,
                                      "description": "Refer to the Kubernetes docs: https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.33/#nodeselectorrequirement-v1-core",
                                      "properties": {
                                        "key": {
                                          "type": "string"
                                        },
                                        "operator": {
                                          "description": "A node selector operator is the set of operators that can be used in\na node selector requirement.",
                                          "type": "string"
                                        },
                                        "values": {
                                          "items": {
                                            "type": "string"
                                          },
                                          "type": [
                                            "array",
                                            "null"
                                          ],
                                          "x-kubernetes-list-type": "atomic"
                                        }
                                      },
                                      "required": [
                                        "key",
                                        "operator"
                                      ],
                                      "type": "object"
                                    },
                                    "type": [
                                      "array",
                                      "null"
                                    ],
                                    "x-kubernetes-list-type": "atomic"
                                  },
                                  "matchFields": {
                                    "items": {
                                      "additionalProperties": false,
                                      "description": "Refer to the Kubernetes docs: https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.33/#nodeselectorrequirement-v1-core",
                                      "properties": {
                                        "key": {
                                          "type": "string"
                                        },
                                        "operator": {
                                          "description": "A node selector operator is the set of operators that can be used in\na node selector requirement.",
                                          "type": "string"
                                        },
                                        "values": {
                                          "items": {
                                            "type": "string"
                                          },
                                          "type": [
                                            "array",
                                            "null"
                                          ],
                                          "x-kubernetes-list-type": "atomic"
                                        }
                                      },
                                      "required": [
                                        "key",
                                        "operator"
                                      ],
                                      "type": "object"
                                    },
                                    "type": [
                                      "array",
                                      "null"
                                    ],
                                    "x-kubernetes-list-type": "atomic"
                                  }
                                },
                                "type": "object"
                              },
                              "type": "array",
                              "x-kubernetes-list-type": "atomic"
                            }
                          },
                          "required": [
                            "nodeSelectorTerms"
                          ],
                          "type": [
                            "object",
                            "null"
                          ]
                        }
                      },
                      "type": [
                        "object",
                        "null"
                      ]
                    },
                    "podAntiAffinity": {
                      "additionalProperties": false,
                      "description": "Refer to the Kubernetes docs: https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.33/#podantiaffinity-v1-core.",
                      "properties": {
                        "preferredDuringSchedulingIgnoredDuringExecution": {
                          "items": {
                            "additionalProperties": false,
                            "description": "Refer to the Kubernetes docs: https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.33/#weightedpodaffinityterm-v1-core.",
                            "properties": {
                              "podAffinityTerm": {
                                "additionalProperties": false,
                                "description": "Refer to the Kubernetes docs: https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.33/#podaffinityterm-v1-core.",
                                "properties": {
                                  "labelSelector": {
                                    "additionalProperties": false,
                                    "description": "Refer to the Kubernetes docs: https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.33/#labelselector-v1-meta",
                                    "properties": {
                                      "matchExpressions": {
                                        "items": {
                                          "additionalProperties": false,
                                          "description": "Refer to the Kubernetes docs: https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.33/#labelselectorrequirement-v1-meta",
                                          "properties": {
                                            "key": {
                                              "type": "string"
                                            },
                                            "operator": {
                                              "description": "A label selector operator is the set of operators that can be used in a selector requirement.",
                                              "type": "string"
                                            },
                                            "values": {
                                              "items": {
                                                "type": "string"
                                              },
                                              "type": [
                                                "array",
                                                "null"
                                              ],
                                              "x-kubernetes-list-type": "atomic"
                                            }
                                          },
                                          "required": [
                                            "key",
                                            "operator"
                                          ],
                                          "type": "object"
                                        },
                                        "type": [
                                          "array",
                                          "null"
                                        ],
                                        "x-kubernetes-list-type": "atomic"
                                      },
                                      "matchLabels": {
                                        "additionalProperties": {
                                          "type": "string"
                                        },
                                        "type": [
                                          "object",
                                          "null"
                                        ]
                                      }
                                    },
                                    "type": [
                                      "object",
                                      "null"
                                    ]
                                  },
                                  "topologyKey": {
                                    "type": "string"
                                  }
                                },
                                "required": [
                                  "topologyKey"
                                ],
                                "type": "object"
                              },
                              "weight": {
                                "format": "int32",
                                "type": "integer"
                              }
                            },
                            "required": [
                              "podAffinityTerm",
                              "weight"
                            ],
                            "type": "object"
                          },
                          "type": [
                            "array",
                            "null"
                          ],
                          "x-kubernetes-list-type": "atomic"
                        },
                        "requiredDuringSchedulingIgnoredDuringExecution": {
                          "items": {
                            "additionalProperties": false,
                            "description": "Refer to the Kubernetes docs: https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.33/#podaffinityterm-v1-core.",
                            "properties": {
                              "labelSelector": {
                                "additionalProperties": false,
                                "description": "Refer to the Kubernetes docs: https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.33/#labelselector-v1-meta",
                                "properties": {
                                  "matchExpressions": {
                                    "items": {
                                      "additionalProperties": false,
                                      "description": "Refer to the Kubernetes docs: https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.33/#labelselectorrequirement-v1-meta",
                                      "properties": {
                                        "key": {
                                          "type": "string"
                                        },
                                        "operator": {
                                          "description": "A label selector operator is the set of operators that can be used in a selector requirement.",
                                          "type": "string"
                                        },
                                        "values": {
                                          "items": {
                                            "type": "string"
                                          },
                                          "type": [
                                            "array",
                                            "null"
                                          ],
                                          "x-kubernetes-list-type": "atomic"
                                        }
                                      },
                                      "required": [
                                        "key",
                                        "operator"
                                      ],
                                      "type": "object"
                                    },
                                    "type": [
                                      "array",
                                      "null"
                                    ],
                                    "x-kubernetes-list-type": "atomic"
                                  },
                                  "matchLabels": {
                                    "additionalProperties": {
                                      "type": "string"
                                    },
                                    "type": [
                                      "object",
                                      "null"
                                    ]
                                  }
                                },
                                "type": [
                                  "object",
                                  "null"
                                ]
                              },
                              "topologyKey": {
                                "type": "string"
                              }
                            },
                            "required": [
                              "topologyKey"
                            ],
                            "type": "object"
                          },
                          "type": [
                            "array",
                            "null"
                          ],
                          "x-kubernetes-list-type": "atomic"
                        }
                      },
                      "type": [
                        "object",
                        "null"
                      ]
                    }
                  },
                  "type": [
                    "object",
                    "null"
                  ]
                },
                "args": {
                  "description": "Args to be used in the Container.",
                  "items": {
                    "type": "string"
                  },
                  "type": [
                    "array",
                    "null"
                  ]
                },
                "image": {
                  "description": "Image name to be used as metrics exporter. The supported format is `\u003cimage\u003e:\u003ctag\u003e`.\nOnly mysqld-exporter \u003e= v0.15.0 is supported: https://github.com/prometheus/mysqld_exporter",
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "imagePullPolicy": {
                  "description": "ImagePullPolicy is the image pull policy. One of `Always`, `Never` or `IfNotPresent`. If not defined, it defaults to `IfNotPresent`.",
                  "enum": [
                    "Always",
                    "Never",
                    "IfNotPresent"
                  ],
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "imagePullSecrets": {
                  "description": "ImagePullSecrets is the list of pull Secrets to be used to pull the image.",
                  "items": {
                    "additionalProperties": false,
                    "description": "Refer to the Kubernetes docs: https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.33/#localobjectreference-v1-core.",
                    "properties": {
                      "name": {
                        "default": "",
                        "type": [
                          "string",
                          "null"
                        ]
                      }
                    },
                    "type": "object"
                  },
                  "type": [
                    "array",
                    "null"
                  ]
                },
                "nodeSelector": {
                  "additionalProperties": {
                    "type": "string"
                  },
                  "description": "NodeSelector to be used in the Pod.",
                  "type": [
                    "object",
                    "null"
                  ]
                },
                "podMetadata": {
                  "additionalProperties": false,
                  "description": "PodMetadata defines extra metadata for the Pod.",
                  "properties": {
                    "annotations": {
                      "additionalProperties": {
                        "type": "string"
                      },
                      "description": "Annotations to be added to children resources.",
                      "type": [
                        "object",
                        "null"
                      ]
                    },
                    "labels": {
                      "additionalProperties": {
                        "type": "string"
                      },
                      "description": "Labels to be added to children resources.",
                      "type": [
                        "object",
                        "null"
                      ]
                    }
                  },
                  "type": [
                    "object",
                    "null"
                  ]
                },
                "podSecurityContext": {
                  "additionalProperties": false,
                  "description": "SecurityContext holds pod-level security attributes and common container settings.",
                  "properties": {
                    "appArmorProfile": {
                      "additionalProperties": false,
                      "description": "AppArmorProfile defines a pod or container's AppArmor settings.",
                      "properties": {
                        "localhostProfile": {
                          "description": "localhostProfile indicates a profile loaded on the node that should be used.\nThe profile must be preconfigured on the node to work.\nMust match the loaded name of the profile.\nMust be set if and only if type is \"Localhost\".",
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "type": {
                          "description": "type indicates which kind of AppArmor profile will be applied.\nValid options are:\n  Localhost - a profile pre-loaded on the node.\n  RuntimeDefault - the container runtime's default profile.\n  Unconfined - no AppArmor enforcement.",
                          "type": "string"
                        }
                      },
                      "required": [
                        "type"
                      ],
                      "type": [
                        "object",
                        "null"
                      ]
                    },
                    "fsGroup": {
                      "format": "int64",
                      "type": [
                        "integer",
                        "null"
                      ]
                    },
                    "fsGroupChangePolicy": {
                      "description": "PodFSGroupChangePolicy holds policies that will be used for applying fsGroup to a volume\nwhen volume is mounted.",
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "runAsGroup": {
                      "format": "int64",
                      "type": [
                        "integer",
                        "null"
                      ]
                    },
                    "runAsNonRoot": {
                      "type": [
                        "boolean",
                        "null"
                      ]
                    },
                    "runAsUser": {
                      "format": "int64",
                      "type": [
                        "integer",
                        "null"
                      ]
                    },
                    "seLinuxOptions": {
                      "additionalProperties": false,
                      "description": "SELinuxOptions are the labels to be applied to the container",
                      "properties": {
                        "level": {
                          "description": "Level is SELinux level label that applies to the container.",
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "role": {
                          "description": "Role is a SELinux role label that applies to the container.",
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "type": {
                          "description": "Type is a SELinux type label that applies to the container.",
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "user": {
                          "description": "User is a SELinux user label that applies to the container.",
                          "type": [
                            "string",
                            "null"
                          ]
                        }
                      },
                      "type": [
                        "object",
                        "null"
                      ]
                    },
                    "seccompProfile": {
                      "additionalProperties": false,
                      "description": "SeccompProfile defines a pod/container's seccomp profile settings.\nOnly one profile source may be set.",
                      "properties": {
                        "localhostProfile": {
                          "description": "localhostProfile indicates a profile defined in a file on the node should be used.\nThe profile must be preconfigured on the node to work.\nMust be a descending path, relative to the kubelet's configured seccomp profile location.\nMust be set if type is \"Localhost\". Must NOT be set for any other type.",
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "type": {
                          "description": "type indicates which kind of seccomp profile will be applied.\nValid options are:\n\nLocalhost - a profile defined in a file on the node should be used.\nRuntimeDefault - the container runtime default profile should be used.\nUnconfined - no profile should be applied.",
                          "type": "string"
                        }
                      },
                      "required": [
                        "type"
                      ],
                      "type": [
                        "object",
                        "null"
                      ]
                    },
                    "supplementalGroups": {
                      "items": {
                        "format": "int64",
                        "type": "integer"
                      },
                      "type": [
                        "array",
                        "null"
                      ],
                      "x-kubernetes-list-type": "atomic"
                    }
                  },
                  "type": [
                    "object",
                    "null"
                  ]
                },
                "port": {
                  "description": "Port where the exporter will be listening for connections.",
                  "format": "int32",
                  "type": [
                    "integer",
                    "null"
                  ]
                },
                "priorityClassName": {
                  "description": "PriorityClassName to be used in the Pod.",
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "resources": {
                  "additionalProperties": false,
                  "description": "Resources describes the compute resource requirements.",
                  "properties": {
                    "limits": {
                      "additionalProperties": {
                        "oneOf": [
                          {
                            "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$",
                            "type": "string"
                          },
                          {
                            "type": "integer"
                          }
                        ],
                        "x-kubernetes-int-or-string": true
                      },
                      "description": "ResourceList is a set of (resource name, quantity) pairs.",
                      "type": [
                        "object",
                        "null"
                      ]
                    },
                    "requests": {
                      "additionalProperties": {
                        "oneOf": [
                          {
                            "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$",
                            "type": "string"
                          },
                          {
                            "type": "integer"
                          }
                        ],
                        "x-kubernetes-int-or-string": true
                      },
                      "description": "ResourceList is a set of (resource name, quantity) pairs.",
                      "type": [
                        "object",
                        "null"
                      ]
                    }
                  },
                  "type": [
                    "object",
                    "null"
                  ]
                },
                "securityContext": {
                  "additionalProperties": false,
                  "description": "SecurityContext holds container-level security attributes.",
                  "properties": {
                    "allowPrivilegeEscalation": {
                      "type": [
                        "boolean",
                        "null"
                      ]
                    },
                    "capabilities": {
                      "additionalProperties": false,
                      "description": "Adds and removes POSIX capabilities from running containers.",
                      "properties": {
                        "add": {
                          "description": "Added capabilities",
                          "items": {
                            "description": "Capability represent POSIX capabilities type",
                            "type": "string"
                          },
                          "type": [
                            "array",
                            "null"
                          ],
                          "x-kubernetes-list-type": "atomic"
                        },
                        "drop": {
                          "description": "Removed capabilities",
                          "items": {
                            "description": "Capability represent POSIX capabilities type",
                            "type": "string"
                          },
                          "type": [
                            "array",
                            "null"
                          ],
                          "x-kubernetes-list-type": "atomic"
                        }
                      },
                      "type": [
                        "object",
                        "null"
                      ]
                    },
                    "privileged": {
                      "type": [
                        "boolean",
                        "null"
                      ]
                    },
                    "readOnlyRootFilesystem": {
                      "type": [
                        "boolean",
                        "null"
                      ]
                    },
                    "runAsGroup": {
                      "format": "int64",
                      "type": [
                        "integer",
                        "null"
                      ]
                    },
                    "runAsNonRoot": {
                      "type": [
                        "boolean",
                        "null"
                      ]
                    },
                    "runAsUser": {
                      "format": "int64",
                      "type": [
                        "integer",
                        "null"
                      ]
                    }
                  },
                  "type": [
                    "object",
                    "null"
                  ]
                },
                "tolerations": {
                  "description": "Tolerations to be used in the Pod.",
                  "items": {
                    "additionalProperties": false,
                    "description": "The pod this Toleration is attached to tolerates any taint that matches\nthe triple \u003ckey,value,effect\u003e using the matching operator \u003coperator\u003e.",
                    "properties": {
                      "effect": {
                        "description": "Effect indicates the taint effect to match. Empty means match all taint effects.\nWhen specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute.",
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "key": {
                        "description": "Key is the taint key that the toleration applies to. Empty means match all taint keys.\nIf the key is empty, operator must be Exists; this combination means to match all values and all keys.",
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "operator": {
                        "description": "Operator represents a key's relationship to the value.\nValid operators are Exists and Equal. Defaults to Equal.\nExists is equivalent to wildcard for value, so that a pod can\ntolerate all taints of a particular category.",
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "tolerationSeconds": {
                        "description": "TolerationSeconds represents the period of time the toleration (which must be\nof effect NoExecute, otherwise this field is ignored) tolerates the taint. By default,\nit is not set, which means tolerate the taint forever (do not evict). Zero and\nnegative values will be treated as 0 (evict immediately) by the system.",
                        "format": "int64",
                        "type": [
                          "integer",
                          "null"
                        ]
                      },
                      "value": {
                        "description": "Value is the taint value the toleration matches to.\nIf the operator is Exists, the value should be empty, otherwise just a regular string.",
                        "type": [
                          "string",
                          "null"
                        ]
                      }
                    },
                    "type": "object"
                  },
                  "type": [
                    "array",
                    "null"
                  ]
                }
              },
              "type": [
                "object",
                "null"
              ]
            },
            "passwordSecretKeyRef": {
              "additionalProperties": false,
              "description": "PasswordSecretKeyRef is a reference to the password of the monitoring user used by the exporter.\nIf the referred Secret is labeled with \"k8s.mariadb.com/watch\", updates may be performed to the Secret in order to update the password.",
              "properties": {
                "generate": {
                  "default": false,
                  "description": "Generate indicates whether the Secret should be generated if the Secret referenced is not present.",
                  "type": [
                    "boolean",
                    "null"
                  ]
                },
                "key": {
                  "type": "string"
                },
                "name": {
                  "default": "",
                  "type": [
                    "string",
                    "null"
                  ]
                }
              },
              "required": [
                "key"
              ],
              "type": [
                "object",
                "null"
              ],
              "x-kubernetes-map-type": "atomic"
            },
            "serviceMonitor": {
              "additionalProperties": false,
              "description": "ServiceMonitor defines the ServiceMonior object.",
              "properties": {
                "interval": {
                  "description": "Interval for scraping metrics.",
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "jobLabel": {
                  "description": "JobLabel to add to the ServiceMonitor object.",
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "prometheusRelease": {
                  "description": "PrometheusRelease is the release label to add to the ServiceMonitor object.",
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "scrapeTimeout": {
                  "description": "ScrapeTimeout defines the timeout for scraping metrics.",
                  "type": [
                    "string",
                    "null"
                  ]
                }
              },
              "type": [
                "object",
                "null"
              ]
            },
            "username": {
              "description": "Username is the username of the monitoring user used by the exporter.",
              "type": [
                "string",
                "null"
              ]
            }
          },
          "type": [
            "object",
            "null"
          ]
        },
        "myCnf": {
          "description": "MyCnf allows to specify the my.cnf file mounted by Mariadb.\nUpdating this field will trigger an update to the Mariadb resource.",
          "type": [
            "string",
            "null"
          ]
        },
        "myCnfConfigMapKeyRef": {
          "additionalProperties": false,
          "description": "MyCnfConfigMapKeyRef is a reference to the my.cnf config file provided via a ConfigMap.\nIf not provided, it will be defaulted with a reference to a ConfigMap containing the MyCnf field.\nIf the referred ConfigMap is labeled with \"k8s.mariadb.com/watch\", an update to the Mariadb resource will be triggered when the ConfigMap is updated.",
          "properties": {
            "key": {
              "type": "string"
            },
            "name": {
              "default": "",
              "type": [
                "string",
                "null"
              ]
            }
          },
          "required": [
            "key"
          ],
          "type": [
            "object",
            "null"
          ],
          "x-kubernetes-map-type": "atomic"
        },
        "nodeSelector": {
          "additionalProperties": {
            "type": "string"
          },
          "description": "NodeSelector to be used in the Pod.",
          "type": [
            "object",
            "null"
          ]
        },
        "passwordHashSecretKeyRef": {
          "additionalProperties": false,
          "description": "PasswordHashSecretKeyRef is a reference to the password hash to be used by the initial User.\nIf the referred Secret is labeled with \"k8s.mariadb.com/watch\", updates may be performed to the Secret in order to update the password hash.",
          "properties": {
            "key": {
              "type": "string"
            },
            "name": {
              "default": "",
              "type": [
                "string",
                "null"
              ]
            }
          },
          "required": [
            "key"
          ],
          "type": [
            "object",
            "null"
          ],
          "x-kubernetes-map-type": "atomic"
        },
        "passwordPlugin": {
          "additionalProperties": false,
          "description": "PasswordPlugin is a reference to the password plugin and arguments to be used by the initial User.",
          "properties": {
            "pluginArgSecretKeyRef": {
              "additionalProperties": false,
              "description": "PluginArgSecretKeyRef is a reference to the arguments to be provided to the authentication plugin for the User.\nIf the referred Secret is labeled with \"k8s.mariadb.com/watch\", updates may be performed to the Secret in order to update the authentication plugin arguments.",
              "properties": {
                "key": {
                  "type": "string"
                },
                "name": {
                  "default": "",
                  "type": [
                    "string",
                    "null"
                  ]
                }
              },
              "required": [
                "key"
              ],
              "type": [
                "object",
                "null"
              ],
              "x-kubernetes-map-type": "atomic"
            },
            "pluginNameSecretKeyRef": {
              "additionalProperties": false,
              "description": "PluginNameSecretKeyRef is a reference to the authentication plugin to be used by the User.\nIf the referred Secret is labeled with \"k8s.mariadb.com/watch\", updates may be performed to the Secret in order to update the authentication plugin.",
              "properties": {
                "key": {
                  "type": "string"
                },
                "name": {
                  "default": "",
                  "type": [
                    "string",
                    "null"
                  ]
                }
              },
              "required": [
                "key"
              ],
              "type": [
                "object",
                "null"
              ],
              "x-kubernetes-map-type": "atomic"
            }
          },
          "type": [
            "object",
            "null"
          ]
        },
        "passwordSecretKeyRef": {
          "additionalProperties": false,
          "description": "PasswordSecretKeyRef is a reference to a Secret that contains the password to be used by the initial User.\nIf the referred Secret is labeled with \"k8s.mariadb.com/watch\", updates may be performed to the Secret in order to update the password.",
          "properties": {
            "generate": {
              "default": false,
              "description": "Generate indicates whether the Secret should be generated if the Secret referenced is not present.",
              "type": [
                "boolean",
                "null"
              ]
            },
            "key": {
              "type": "string"
            },
            "name": {
              "default": "",
              "type": [
                "string",
                "null"
              ]
            }
          },
          "required": [
            "key"
          ],
          "type": [
            "object",
            "null"
          ],
          "x-kubernetes-map-type": "atomic"
        },
        "podDisruptionBudget": {
          "additionalProperties": false,
          "description": "PodDisruptionBudget defines the budget for replica availability.",
          "properties": {
            "maxUnavailable": {
              "description": "MaxUnavailable defines the number of maximum unavailable Pods.",
              "oneOf": [
                {
                  "type": "string"
                },
                {
                  "type": "integer"
                },
                {
                  "type": "null"
                }
              ],
              "x-kubernetes-int-or-string": true
            },
            "minAvailable": {
              "description": "MinAvailable defines the number of minimum available Pods.",
              "oneOf": [
                {
                  "type": "string"
                },
                {
                  "type": "integer"
                },
                {
                  "type": "null"
                }
              ],
              "x-kubernetes-int-or-string": true
            }
          },
          "type": [
            "object",
            "null"
          ]
        },
        "podMetadata": {
          "additionalProperties": false,
          "description": "PodMetadata defines extra metadata for the Pod.",
          "properties": {
            "annotations": {
              "additionalProperties": {
                "type": "string"
              },
              "description": "Annotations to be added to children resources.",
              "type": [
                "object",
                "null"
              ]
            },
            "labels": {
              "additionalProperties": {
                "type": "string"
              },
              "description": "Labels to be added to children resources.",
              "type": [
                "object",
                "null"
              ]
            }
          },
          "type": [
            "object",
            "null"
          ]
        },
        "podSecurityContext": {
          "additionalProperties": false,
          "description": "SecurityContext holds pod-level security attributes and common container settings.",
          "properties": {
            "appArmorProfile": {
              "additionalProperties": false,
              "description": "AppArmorProfile defines a pod or container's AppArmor settings.",
              "properties": {
                "localhostProfile": {
                  "description": "localhostProfile indicates a profile loaded on the node that should be used.\nThe profile must be preconfigured on the node to work.\nMust match the loaded name of the profile.\nMust be set if and only if type is \"Localhost\".",
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "type": {
                  "description": "type indicates which kind of AppArmor profile will be applied.\nValid options are:\n  Localhost - a profile pre-loaded on the node.\n  RuntimeDefault - the container runtime's default profile.\n  Unconfined - no AppArmor enforcement.",
                  "type": "string"
                }
              },
              "required": [
                "type"
              ],
              "type": [
                "object",
                "null"
              ]
            },
            "fsGroup": {
              "format": "int64",
              "type": [
                "integer",
                "null"
              ]
            },
            "fsGroupChangePolicy": {
              "description": "PodFSGroupChangePolicy holds policies that will be used for applying fsGroup to a volume\nwhen volume is mounted.",
              "type": [
                "string",
                "null"
              ]
            },
            "runAsGroup": {
              "format": "int64",
              "type": [
                "integer",
                "null"
              ]
            },
            "runAsNonRoot": {
              "type": [
                "boolean",
                "null"
              ]
            },
            "runAsUser": {
              "format": "int64",
              "type": [
                "integer",
                "null"
              ]
            },
            "seLinuxOptions": {
              "additionalProperties": false,
              "description": "SELinuxOptions are the labels to be applied to the container",
              "properties": {
                "level": {
                  "description": "Level is SELinux level label that applies to the container.",
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "role": {
                  "description": "Role is a SELinux role label that applies to the container.",
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "type": {
                  "description": "Type is a SELinux type label that applies to the container.",
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "user": {
                  "description": "User is a SELinux user label that applies to the container.",
                  "type": [
                    "string",
                    "null"
                  ]
                }
              },
              "type": [
                "object",
                "null"
              ]
            },
            "seccompProfile": {
              "additionalProperties": false,
              "description": "SeccompProfile defines a pod/container's seccomp profile settings.\nOnly one profile source may be set.",
              "properties": {
                "localhostProfile": {
                  "description": "localhostProfile indicates a profile defined in a file on the node should be used.\nThe profile must be preconfigured on the node to work.\nMust be a descending path, relative to the kubelet's configured seccomp profile location.\nMust be set if type is \"Localhost\". Must NOT be set for any other type.",
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "type": {
                  "description": "type indicates which kind of seccomp profile will be applied.\nValid options are:\n\nLocalhost - a profile defined in a file on the node should be used.\nRuntimeDefault - the container runtime default profile should be used.\nUnconfined - no profile should be applied.",
                  "type": "string"
                }
              },
              "required": [
                "type"
              ],
              "type": [
                "object",
                "null"
              ]
            },
            "supplementalGroups": {
              "items": {
                "format": "int64",
                "type": "integer"
              },
              "type": [
                "array",
                "null"
              ],
              "x-kubernetes-list-type": "atomic"
            }
          },
          "type": [
            "object",
            "null"
          ]
        },
        "port": {
          "default": 3306,
          "description": "Port where the instances will be listening for connections.",
          "format": "int32",
          "type": [
            "integer",
            "null"
          ]
        },
        "primaryConnection": {
          "additionalProperties": false,
          "description": "PrimaryConnection defines a template to configure the primary Connection object.\nThis Connection provides the initial User access to the initial Database.\nIt will make use of the PrimaryService to route network traffic to the primary Pod.",
          "properties": {
            "healthCheck": {
              "additionalProperties": false,
              "description": "HealthCheck to be used in the Connection.",
              "properties": {
                "interval": {
                  "description": "Interval used to perform health checks.",
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "retryInterval": {
                  "description": "RetryInterval is the interval used to perform health check retries.",
                  "type": [
                    "string",
                    "null"
                  ]
                }
              },
              "type": [
                "object",
                "null"
              ]
            },
            "params": {
              "additionalProperties": {
                "type": "string"
              },
              "description": "Params to be used in the Connection.",
              "type": [
                "object",
                "null"
              ]
            },
            "port": {
              "description": "Port to connect to. If not provided, it defaults to the MariaDB port or to the first MaxScale listener.",
              "format": "int32",
              "type": [
                "integer",
                "null"
              ]
            },
            "secretName": {
              "description": "SecretName to be used in the Connection.",
              "type": [
                "string",
                "null"
              ]
            },
            "secretTemplate": {
              "additionalProperties": false,
              "description": "SecretTemplate to be used in the Connection.",
              "properties": {
                "databaseKey": {
                  "description": "DatabaseKey to be used in the Secret.",
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "format": {
                  "description": "Format to be used in the Secret.",
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "hostKey": {
                  "description": "HostKey to be used in the Secret.",
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "key": {
                  "description": "Key to be used in the Secret.",
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "metadata": {
                  "additionalProperties": false,
                  "description": "Metadata to be added to the Secret object.",
                  "properties": {
                    "annotations": {
                      "additionalProperties": {
                        "type": "string"
                      },
                      "description": "Annotations to be added to children resources.",
                      "type": [
                        "object",
                        "null"
                      ]
                    },
                    "labels": {
                      "additionalProperties": {
                        "type": "string"
                      },
                      "description": "Labels to be added to children resources.",
                      "type": [
                        "object",
                        "null"
                      ]
                    }
                  },
                  "type": [
                    "object",
                    "null"
                  ]
                },
                "passwordKey": {
                  "description": "PasswordKey to be used in the Secret.",
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "portKey": {
                  "description": "PortKey to be used in the Secret.",
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "usernameKey": {
                  "description": "UsernameKey to be used in the Secret.",
                  "type": [
                    "string",
                    "null"
                  ]
                }
              },
              "type": [
                "object",
                "null"
              ]
            },
            "serviceName": {
              "description": "ServiceName to be used in the Connection.",
              "type": [
                "string",
                "null"
              ]
            }
          },
          "type": [
            "object",
            "null"
          ]
        },
        "primaryService": {
          "additionalProperties": false,
          "description": "PrimaryService defines a template to configure the primary Service object.\nThe network traffic of this Service will be routed to the primary Pod.",
          "properties": {
            "allocateLoadBalancerNodePorts": {
              "description": "AllocateLoadBalancerNodePorts Service field.",
              "type": [
                "boolean",
                "null"
              ]
            },
            "externalTrafficPolicy": {
              "description": "ExternalTrafficPolicy Service field.",
              "type": [
                "string",
                "null"
              ]
            },
            "loadBalancerIP": {
              "description": "LoadBalancerIP Service field.",
              "type": [
                "string",
                "null"
              ]
            },
            "loadBalancerSourceRanges": {
              "description": "LoadBalancerSourceRanges Service field.",
              "items": {
                "type": "string"
              },
              "type": [
                "array",
                "null"
              ]
            },
            "metadata": {
              "additionalProperties": false,
              "description": "Metadata to be added to the Service metadata.",
              "properties": {
                "annotations": {
                  "additionalProperties": {
                    "type": "string"
                  },
                  "description": "Annotations to be added to children resources.",
                  "type": [
                    "object",
                    "null"
                  ]
                },
                "labels": {
                  "additionalProperties": {
                    "type": "string"
                  },
                  "description": "Labels to be added to children resources.",
                  "type": [
                    "object",
                    "null"
                  ]
                }
              },
              "type": [
                "object",
                "null"
              ]
            },
            "sessionAffinity": {
              "description": "SessionAffinity Service field.",
              "type": [
                "string",
                "null"
              ]
            },
            "type": {
              "default": "ClusterIP",
              "description": "Type is the Service type. One of `ClusterIP`, `NodePort` or `LoadBalancer`. If not defined, it defaults to `ClusterIP`.",
              "enum": [
                "ClusterIP",
                "NodePort",
                "LoadBalancer"
              ],
              "type": [
                "string",
                "null"
              ]
            }
          },
          "type": [
            "object",
            "null"
          ]
        },
        "priorityClassName": {
          "description": "PriorityClassName to be used in the Pod.",
          "type": [
            "string",
            "null"
          ]
        },
        "readinessProbe": {
          "additionalProperties": false,
          "description": "ReadinessProbe to be used in the Container.",
          "properties": {
            "exec": {
              "additionalProperties": false,
              "description": "Refer to the Kubernetes docs: https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.33/#execaction-v1-core.",
              "properties": {
                "command": {
                  "items": {
                    "type": "string"
                  },
                  "type": [
                    "array",
                    "null"
                  ],
                  "x-kubernetes-list-type": "atomic"
                }
              },
              "type": [
                "object",
                "null"
              ]
            },
            "failureThreshold": {
              "format": "int32",
              "type": [
                "integer",
                "null"
              ]
            },
            "httpGet": {
              "additionalProperties": false,
              "description": "Refer to the Kubernetes docs: https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.33/#httpgetaction-v1-core.",
              "properties": {
                "host": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "path": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "port": {
                  "oneOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "integer"
                    }
                  ],
                  "x-kubernetes-int-or-string": true
                },
                "scheme": {
                  "description": "URIScheme identifies the scheme used for connection to a host for Get actions",
                  "type": [
                    "string",
                    "null"
                  ]
                }
              },
              "required": [
                "port"
              ],
              "type": [
                "object",
                "null"
              ]
            },
            "initialDelaySeconds": {
              "format": "int32",
              "type": [
                "integer",
                "null"
              ]
            },
            "periodSeconds": {
              "format": "int32",
              "type": [
                "integer",
                "null"
              ]
            },
            "successThreshold": {
              "format": "int32",
              "type": [
                "integer",
                "null"
              ]
            },
            "tcpSocket": {
              "additionalProperties": false,
              "description": "Refer to the Kubernetes docs: https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.33/#tcpsocketaction-v1-core.",
              "properties": {
                "host": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "port": {
                  "oneOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "integer"
                    }
                  ],
                  "x-kubernetes-int-or-string": true
                }
              },
              "required": [
                "port"
              ],
              "type": [
                "object",
                "null"
              ]
            },
            "timeoutSeconds": {
              "format": "int32",
              "type": [
                "integer",
                "null"
              ]
            }
          },
          "type": [
            "object",
            "null"
          ]
        },
        "replicas": {
          "default": 1,
          "description": "Replicas indicates the number of desired instances.",
          "format": "int32",
          "type": [
            "integer",
            "null"
          ]
        },
        "replicasAllowEvenNumber": {
          "default": false,
          "description": "disables the validation check for an odd number of replicas.",
          "type": [
            "boolean",
            "null"
          ]
        },
        "replication": {
          "additionalProperties": false,
          "description": "Replication configures high availability via replication. This feature is still in alpha, use Galera if you are looking for a more production-ready HA.",
          "properties": {
            "enabled": {
              "description": "Enabled is a flag to enable Replication.",
              "type": [
                "boolean",
                "null"
              ]
            },
            "primary": {
              "additionalProperties": false,
              "description": "Primary is the replication configuration for the primary node.",
              "properties": {
                "automaticFailover": {
                  "description": "AutomaticFailover indicates whether the operator should automatically update PodIndex to perform an automatic primary failover.",
                  "type": [
                    "boolean",
                    "null"
                  ]
                },
                "automaticFailoverDelay": {
                  "description": "AutomaticFailoverDelay indicates the duration before performing an automatic primary failover. By default, no extra delay is added.",
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "podIndex": {
                  "description": "PodIndex is the StatefulSet index of the primary node. The user may change this field to perform a manual switchover.",
                  "type": [
                    "integer",
                    "null"
                  ]
                }
              },
              "type": [
                "object",
                "null"
              ]
            },
            "probesEnabled": {
              "description": "ProbesEnabled indicates to use replication specific liveness and readiness probes.\nThis probes check that the primary can receive queries and that the replica has the replication thread running.",
              "type": [
                "boolean",
                "null"
              ]
            },
            "replica": {
              "additionalProperties": false,
              "description": "ReplicaReplication is the replication configuration for the replica nodes.",
              "properties": {
                "connectionRetries": {
                  "description": "ConnectionRetries to be used when the replica connects to the primary.",
                  "type": [
                    "integer",
                    "null"
                  ]
                },
                "connectionTimeout": {
                  "description": "ConnectionTimeout to be used when the replica connects to the primary.",
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "gtid": {
                  "description": "Gtid indicates which Global Transaction ID should be used when connecting a replica to the master.\nSee: https://mariadb.com/kb/en/gtid/#using-current_pos-vs-slave_pos.",
                  "enum": [
                    "CurrentPos",
                    "SlavePos"
                  ],
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "replPasswordSecretKeyRef": {
                  "additionalProperties": false,
                  "description": "ReplPasswordSecretKeyRef provides a reference to the Secret to use as password for the replication user.",
                  "properties": {
                    "generate": {
                      "default": false,
                      "description": "Generate indicates whether the Secret should be generated if the Secret referenced is not present.",
                      "type": [
                        "boolean",
                        "null"
                      ]
                    },
                    "key": {
                      "type": "string"
                    },
                    "name": {
                      "default": "",
                      "type": [
                        "string",
                        "null"
                      ]
                    }
                  },
                  "required": [
                    "key"
                  ],
                  "type": [
                    "object",
                    "null"
                  ],
                  "x-kubernetes-map-type": "atomic"
                },
                "syncTimeout": {
                  "description": "SyncTimeout defines the timeout for a replica to be synced with the primary when performing a primary switchover.\nIf the timeout is reached, the replica GTID will be reset and the switchover will continue.",
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "waitPoint": {
                  "description": "WaitPoint defines whether the transaction should wait for ACK before committing to the storage engine.\nMore info: https://mariadb.com/kb/en/semisynchronous-replication/#rpl_semi_sync_master_wait_point.",
                  "enum": [
                    "AfterSync",
                    "AfterCommit"
                  ],
                  "type": [
                    "string",
                    "null"
                  ]
                }
              },
              "type": [
                "object",
                "null"
              ]
            },
            "syncBinlog": {
              "description": "SyncBinlog indicates after how many events the binary log is synchronized to the disk.\nThe default is 1, flushing the binary log to disk after every write, which trades off performance for consistency. See: https://mariadb.com/docs/server/ha-and-performance/standard-replication/replication-and-binary-log-system-variables#sync_binlog",
              "type": [
                "integer",
                "null"
              ]
            }
          },
          "type": [
            "object",
            "null"
          ]
        },
        "resources": {
          "additionalProperties": false,
          "description": "Resources describes the compute resource requirements.",
          "properties": {
            "limits": {
              "additionalProperties": {
                "oneOf": [
                  {
                    "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$",
                    "type": "string"
                  },
                  {
                    "type": "integer"
                  }
                ],
                "x-kubernetes-int-or-string": true
              },
              "description": "ResourceList is a set of (resource name, quantity) pairs.",
              "type": [
                "object",
                "null"
              ]
            },
            "requests": {
              "additionalProperties": {
                "oneOf": [
                  {
                    "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$",
                    "type": "string"
                  },
                  {
                    "type": "integer"
                  }
                ],
                "x-kubernetes-int-or-string": true
              },
              "description": "ResourceList is a set of (resource name, quantity) pairs.",
              "type": [
                "object",
                "null"
              ]
            }
          },
          "type": [
            "object",
            "null"
          ]
        },
        "rootEmptyPassword": {
          "description": "RootEmptyPassword indicates if the root password should be empty. Don't use this feature in production, it is only intended for development and test environments.",
          "type": [
            "boolean",
            "null"
          ]
        },
        "rootPasswordSecretKeyRef": {
          "additionalProperties": false,
          "description": "RootPasswordSecretKeyRef is a reference to a Secret key containing the root password.",
          "properties": {
            "generate": {
              "default": false,
              "description": "Generate indicates whether the Secret should be generated if the Secret referenced is not present.",
              "type": [
                "boolean",
                "null"
              ]
            },
            "key": {
              "type": "string"
            },
            "name": {
              "default": "",
              "type": [
                "string",
                "null"
              ]
            }
          },
          "required": [
            "key"
          ],
          "type": [
            "object",
            "null"
          ],
          "x-kubernetes-map-type": "atomic"
        },
        "secondaryConnection": {
          "additionalProperties": false,
          "description": "SecondaryConnection defines a template to configure the secondary Connection object.\nThis Connection provides the initial User access to the initial Database.\nIt will make use of the SecondaryService to route network traffic to the secondary Pods.",
          "properties": {
            "healthCheck": {
              "additionalProperties": false,
              "description": "HealthCheck to be used in the Connection.",
              "properties": {
                "interval": {
                  "description": "Interval used to perform health checks.",
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "retryInterval": {
                  "description": "RetryInterval is the interval used to perform health check retries.",
                  "type": [
                    "string",
                    "null"
                  ]
                }
              },
              "type": [
                "object",
                "null"
              ]
            },
            "params": {
              "additionalProperties": {
                "type": "string"
              },
              "description": "Params to be used in the Connection.",
              "type": [
                "object",
                "null"
              ]
            },
            "port": {
              "description": "Port to connect to. If not provided, it defaults to the MariaDB port or to the first MaxScale listener.",
              "format": "int32",
              "type": [
                "integer",
                "null"
              ]
            },
            "secretName": {
              "description": "SecretName to be used in the Connection.",
              "type": [
                "string",
                "null"
              ]
            },
            "secretTemplate": {
              "additionalProperties": false,
              "description": "SecretTemplate to be used in the Connection.",
              "properties": {
                "databaseKey": {
                  "description": "DatabaseKey to be used in the Secret.",
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "format": {
                  "description": "Format to be used in the Secret.",
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "hostKey": {
                  "description": "HostKey to be used in the Secret.",
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "key": {
                  "description": "Key to be used in the Secret.",
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "metadata": {
                  "additionalProperties": false,
                  "description": "Metadata to be added to the Secret object.",
                  "properties": {
                    "annotations": {
                      "additionalProperties": {
                        "type": "string"
                      },
                      "description": "Annotations to be added to children resources.",
                      "type": [
                        "object",
                        "null"
                      ]
                    },
                    "labels": {
                      "additionalProperties": {
                        "type": "string"
                      },
                      "description": "Labels to be added to children resources.",
                      "type": [
                        "object",
                        "null"
                      ]
                    }
                  },
                  "type": [
                    "object",
                    "null"
                  ]
                },
                "passwordKey": {
                  "description": "PasswordKey to be used in the Secret.",
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "portKey": {
                  "description": "PortKey to be used in the Secret.",
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "usernameKey": {
                  "description": "UsernameKey to be used in the Secret.",
                  "type": [
                    "string",
                    "null"
                  ]
                }
              },
              "type": [
                "object",
                "null"
              ]
            },
            "serviceName": {
              "description": "ServiceName to be used in the Connection.",
              "type": [
                "string",
                "null"
              ]
            }
          },
          "type": [
            "object",
            "null"
          ]
        },
        "secondaryService": {
          "additionalProperties": false,
          "description": "SecondaryService defines a template to configure the secondary Service object.\nThe network traffic of this Service will be routed to the secondary Pods.",
          "properties": {
            "allocateLoadBalancerNodePorts": {
              "description": "AllocateLoadBalancerNodePorts Service field.",
              "type": [
                "boolean",
                "null"
              ]
            },
            "externalTrafficPolicy": {
              "description": "ExternalTrafficPolicy Service field.",
              "type": [
                "string",
                "null"
              ]
            },
            "loadBalancerIP": {
              "description": "LoadBalancerIP Service field.",
              "type": [
                "string",
                "null"
              ]
            },
            "loadBalancerSourceRanges": {
              "description": "LoadBalancerSourceRanges Service field.",
              "items": {
                "type": "string"
              },
              "type": [
                "array",
                "null"
              ]
            },
            "metadata": {
              "additionalProperties": false,
              "description": "Metadata to be added to the Service metadata.",
              "properties": {
                "annotations": {
                  "additionalProperties": {
                    "type": "string"
                  },
                  "description": "Annotations to be added to children resources.",
                  "type": [
                    "object",
                    "null"
                  ]
                },
                "labels": {
                  "additionalProperties": {
                    "type": "string"
                  },
                  "description": "Labels to be added to children resources.",
                  "type": [
                    "object",
                    "null"
                  ]
                }
              },
              "type": [
                "object",
                "null"
              ]
            },
            "sessionAffinity": {
              "description": "SessionAffinity Service field.",
              "type": [
                "string",
                "null"
              ]
            },
            "type": {
              "default": "ClusterIP",
              "description": "Type is the Service type. One of `ClusterIP`, `NodePort` or `LoadBalancer`. If not defined, it defaults to `ClusterIP`.",
              "enum": [
                "ClusterIP",
                "NodePort",
                "LoadBalancer"
              ],
              "type": [
                "string",
                "null"
              ]
            }
          },
          "type": [
            "object",
            "null"
          ]
        },
        "securityContext": {
          "additionalProperties": false,
          "description": "SecurityContext holds security configuration that will be applied to a container.",
          "properties": {
            "allowPrivilegeEscalation": {
              "type": [
                "boolean",
                "null"
              ]
            },
            "capabilities": {
              "additionalProperties": false,
              "description": "Adds and removes POSIX capabilities from running containers.",
              "properties": {
                "add": {
                  "description": "Added capabilities",
                  "items": {
                    "description": "Capability represent POSIX capabilities type",
                    "type": "string"
                  },
                  "type": [
                    "array",
                    "null"
                  ],
                  "x-kubernetes-list-type": "atomic"
                },
                "drop": {
                  "description": "Removed capabilities",
                  "items": {
                    "description": "Capability represent POSIX capabilities type",
                    "type": "string"
                  },
                  "type": [
                    "array",
                    "null"
                  ],
                  "x-kubernetes-list-type": "atomic"
                }
              },
              "type": [
                "object",
                "null"
              ]
            },
            "privileged": {
              "type": [
                "boolean",
                "null"
              ]
            },
            "readOnlyRootFilesystem": {
              "type": [
                "boolean",
                "null"
              ]
            },
            "runAsGroup": {
              "format": "int64",
              "type": [
                "integer",
                "null"
              ]
            },
            "runAsNonRoot": {
              "type": [
                "boolean",
                "null"
              ]
            },
            "runAsUser": {
              "format": "int64",
              "type": [
                "integer",
                "null"
              ]
            }
          },
          "type": [
            "object",
            "null"
          ]
        },
        "service": {
          "additionalProperties": false,
          "description": "Service defines a template to configure the general Service object.\nThe network traffic of this Service will be routed to all Pods.",
          "properties": {
            "allocateLoadBalancerNodePorts": {
              "description": "AllocateLoadBalancerNodePorts Service field.",
              "type": [
                "boolean",
                "null"
              ]
            },
            "externalTrafficPolicy": {
              "description": "ExternalTrafficPolicy Service field.",
              "type": [
                "string",
                "null"
              ]
            },
            "loadBalancerIP": {
              "description": "LoadBalancerIP Service field.",
              "type": [
                "string",
                "null"
              ]
            },
            "loadBalancerSourceRanges": {
              "description": "LoadBalancerSourceRanges Service field.",
              "items": {
                "type": "string"
              },
              "type": [
                "array",
                "null"
              ]
            },
            "metadata": {
              "additionalProperties": false,
              "description": "Metadata to be added to the Service metadata.",
              "properties": {
                "annotations": {
                  "additionalProperties": {
                    "type": "string"
                  },
                  "description": "Annotations to be added to children resources.",
                  "type": [
                    "object",
                    "null"
                  ]
                },
                "labels": {
                  "additionalProperties": {
                    "type": "string"
                  },
                  "description": "Labels to be added to children resources.",
                  "type": [
                    "object",
                    "null"
                  ]
                }
              },
              "type": [
                "object",
                "null"
              ]
            },
            "sessionAffinity": {
              "description": "SessionAffinity Service field.",
              "type": [
                "string",
                "null"
              ]
            },
            "type": {
              "default": "ClusterIP",
              "description": "Type is the Service type. One of `ClusterIP`, `NodePort` or `LoadBalancer`. If not defined, it defaults to `ClusterIP`.",
              "enum": [
                "ClusterIP",
                "NodePort",
                "LoadBalancer"
              ],
              "type": [
                "string",
                "null"
              ]
            }
          },
          "type": [
            "object",
            "null"
          ]
        },
        "serviceAccountName": {
          "description": "ServiceAccountName is the name of the ServiceAccount to be used by the Pods.",
          "type": [
            "string",
            "null"
          ]
        },
        "servicePorts": {
          "description": "ServicePorts is the list of additional named ports to be added to the Services created by the operator.",
          "items": {
            "additionalProperties": false,
            "description": "Refer to the Kubernetes docs: https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.33/#serviceport-v1-core",
            "properties": {
              "name": {
                "type": "string"
              },
              "port": {
                "format": "int32",
                "type": "integer"
              }
            },
            "required": [
              "name",
              "port"
            ],
            "type": "object"
          },
          "type": [
            "array",
            "null"
          ]
        },
        "sidecarContainers": {
          "description": "SidecarContainers to be used in the Pod.",
          "items": {
            "additionalProperties": false,
            "description": "Container object definition.",
            "properties": {
              "args": {
                "description": "Args to be used in the Container.",
                "items": {
                  "type": "string"
                },
                "type": [
                  "array",
                  "null"
                ]
              },
              "command": {
                "description": "Command to be used in the Container.",
                "items": {
                  "type": "string"
                },
                "type": [
                  "array",
                  "null"
                ]
              },
              "env": {
                "description": "Env represents the environment variables to be injected in a container.",
                "items": {
                  "additionalProperties": false,
                  "description": "Refer to the Kubernetes docs: https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.33/#envvarsource-v1-core.",
                  "properties": {
                    "name": {
                      "description": "Name of the environment variable. Must be a C_IDENTIFIER.",
                      "type": "string"
                    },
                    "value": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "valueFrom": {
                      "additionalProperties": false,
                      "description": "Refer to the Kubernetes docs: https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.33/#envvarsource-v1-core.",
                      "properties": {
                        "configMapKeyRef": {
                          "additionalProperties": false,
                          "description": "Refer to the Kubernetes docs: https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.33/#configmapkeyselector-v1-core.",
                          "properties": {
                            "key": {
                              "type": "string"
                            },
                            "name": {
                              "default": "",
                              "type": [
                                "string",
                                "null"
                              ]
                            }
                          },
                          "required": [
                            "key"
                          ],
                          "type": [
                            "object",
                            "null"
                          ],
                          "x-kubernetes-map-type": "atomic"
                        },
                        "fieldRef": {
                          "additionalProperties": false,
                          "description": "Refer to the Kubernetes docs: https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.33/#objectfieldselector-v1-core.",
                          "properties": {
                            "apiVersion": {
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "fieldPath": {
                              "type": "string"
                            }
                          },
                          "required": [
                            "fieldPath"
                          ],
                          "type": [
                            "object",
                            "null"
                          ],
                          "x-kubernetes-map-type": "atomic"
                        },
                        "secretKeyRef": {
                          "additionalProperties": false,
                          "description": "Refer to the Kubernetes docs: https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.33/#secretkeyselector-v1-core.",
                          "properties": {
                            "key": {
                              "type": "string"
                            },
                            "name": {
                              "default": "",
                              "type": [
                                "string",
                                "null"
                              ]
                            }
                          },
                          "required": [
                            "key"
                          ],
                          "type": [
                            "object",
                            "null"
                          ],
                          "x-kubernetes-map-type": "atomic"
                        }
                      },
                      "type": [
                        "object",
                        "null"
                      ]
                    }
                  },
                  "required": [
                    "name"
                  ],
                  "type": "object"
                },
                "type": [
                  "array",
                  "null"
                ]
              },
              "image": {
                "description": "Image name to be used by the container. The supported format is `\u003cimage\u003e:\u003ctag\u003e`.",
                "type": "string"
              },
              "imagePullPolicy": {
                "description": "ImagePullPolicy is the image pull policy. One of `Always`, `Never` or `IfNotPresent`. If not defined, it defaults to `IfNotPresent`.",
                "enum": [
                  "Always",
                  "Never",
                  "IfNotPresent"
                ],
                "type": [
                  "string",
                  "null"
                ]
              },
              "name": {
                "description": "Name to be given to the container.",
                "type": [
                  "string",
                  "null"
                ]
              },
              "resources": {
                "additionalProperties": false,
                "description": "Resources describes the compute resource requirements.",
                "properties": {
                  "limits": {
                    "additionalProperties": {
                      "oneOf": [
                        {
                          "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$",
                          "type": "string"
                        },
                        {
                          "type": "integer"
                        }
                      ],
                      "x-kubernetes-int-or-string": true
                    },
                    "description": "ResourceList is a set of (resource name, quantity) pairs.",
                    "type": [
                      "object",
                      "null"
                    ]
                  },
                  "requests": {
                    "additionalProperties": {
                      "oneOf": [
                        {
                          "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$",
                          "type": "string"
                        },
                        {
                          "type": "integer"
                        }
                      ],
                      "x-kubernetes-int-or-string": true
                    },
                    "description": "ResourceList is a set of (resource name, quantity) pairs.",
                    "type": [
                      "object",
                      "null"
                    ]
                  }
                },
                "type": [
                  "object",
                  "null"
                ]
              },
              "volumeMounts": {
                "description": "VolumeMounts to be used in the Container.",
                "items": {
                  "additionalProperties": false,
                  "description": "Refer to the Kubernetes docs: https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.33/#volumemount-v1-core.",
                  "properties": {
                    "mountPath": {
                      "type": "string"
                    },
                    "name": {
                      "description": "This must match the Name of a Volume.",
                      "type": "string"
                    },
                    "readOnly": {
                      "type": [
                        "boolean",
                        "null"
                      ]
                    },
                    "subPath": {
                      "type": [
                        "string",
                        "null"
                      ]
                    }
                  },
                  "required": [
                    "mountPath",
                    "name"
                  ],
                  "type": "object"
                },
                "type": [
                  "array",
                  "null"
                ]
              }
            },
            "required": [
              "image"
            ],
            "type": "object"
          },
          "type": [
            "array",
            "null"
          ]
        },
        "startupProbe": {
          "additionalProperties": false,
          "description": "StartupProbe to be used in the Container.",
          "properties": {
            "exec": {
              "additionalProperties": false,
              "description": "Refer to the Kubernetes docs: https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.33/#execaction-v1-core.",
              "properties": {
                "command": {
                  "items": {
                    "type": "string"
                  },
                  "type": [
                    "array",
                    "null"
                  ],
                  "x-kubernetes-list-type": "atomic"
                }
              },
              "type": [
                "object",
                "null"
              ]
            },
            "failureThreshold": {
              "format": "int32",
              "type": [
                "integer",
                "null"
              ]
            },
            "httpGet": {
              "additionalProperties": false,
              "description": "Refer to the Kubernetes docs: https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.33/#httpgetaction-v1-core.",
              "properties": {
                "host": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "path": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "port": {
                  "oneOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "integer"
                    }
                  ],
                  "x-kubernetes-int-or-string": true
                },
                "scheme": {
                  "description": "URIScheme identifies the scheme used for connection to a host for Get actions",
                  "type": [
                    "string",
                    "null"
                  ]
                }
              },
              "required": [
                "port"
              ],
              "type": [
                "object",
                "null"
              ]
            },
            "initialDelaySeconds": {
              "format": "int32",
              "type": [
                "integer",
                "null"
              ]
            },
            "periodSeconds": {
              "format": "int32",
              "type": [
                "integer",
                "null"
              ]
            },
            "successThreshold": {
              "format": "int32",
              "type": [
                "integer",
                "null"
              ]
            },
            "tcpSocket": {
              "additionalProperties": false,
              "description": "Refer to the Kubernetes docs: https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.33/#tcpsocketaction-v1-core.",
              "properties": {
                "host": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "port": {
                  "oneOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "integer"
                    }
                  ],
                  "x-kubernetes-int-or-string": true
                }
              },
              "required": [
                "port"
              ],
              "type": [
                "object",
                "null"
              ]
            },
            "timeoutSeconds": {
              "format": "int32",
              "type": [
                "integer",
                "null"
              ]
            }
          },
          "type": [
            "object",
            "null"
          ]
        },
        "storage": {
          "additionalProperties": false,
          "description": "Storage defines the storage options to be used for provisioning the PVCs mounted by MariaDB.",
          "properties": {
            "ephemeral": {
              "description": "Ephemeral indicates whether to use ephemeral storage in the PVCs. It is only compatible with non HA MariaDBs.",
              "type": [
                "boolean",
                "null"
              ]
            },
            "resizeInUseVolumes": {
              "description": "ResizeInUseVolumes indicates whether the PVCs can be resized. The 'StorageClassName' used should have 'allowVolumeExpansion' set to 'true' to allow resizing.\nIt defaults to true.",
              "type": [
                "boolean",
                "null"
              ]
            },
            "size": {
              "description": "Size of the PVCs to be mounted by MariaDB. Required if not provided in 'VolumeClaimTemplate'. It supersedes the storage size specified in 'VolumeClaimTemplate'.",
              "oneOf": [
                {
                  "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$",
                  "type": "string"
                },
                {
                  "type": "integer"
                },
                {
                  "type": "null"
                }
              ],
              "x-kubernetes-int-or-string": true
            },
            "storageClassName": {
              "description": "StorageClassName to be used to provision the PVCS. It supersedes the 'StorageClassName' specified in 'VolumeClaimTemplate'.\nIf not provided, the default 'StorageClass' configured in the cluster is used.",
              "type": [
                "string",
                "null"
              ]
            },
            "volumeClaimTemplate": {
              "additionalProperties": false,
              "description": "VolumeClaimTemplate provides a template to define the PVCs.",
              "properties": {
                "accessModes": {
                  "items": {
                    "type": "string"
                  },
                  "type": [
                    "array",
                    "null"
                  ],
                  "x-kubernetes-list-type": "atomic"
                },
                "metadata": {
                  "additionalProperties": false,
                  "description": "Metadata to be added to the PVC metadata.",
                  "properties": {
                    "annotations": {
                      "additionalProperties": {
                        "type": "string"
                      },
                      "description": "Annotations to be added to children resources.",
                      "type": [
                        "object",
                        "null"
                      ]
                    },
                    "labels": {
                      "additionalProperties": {
                        "type": "string"
                      },
                      "description": "Labels to be added to children resources.",
                      "type": [
                        "object",
                        "null"
                      ]
                    }
                  },
                  "type": [
                    "object",
                    "null"
                  ]
                },
                "resources": {
                  "additionalProperties": false,
                  "description": "VolumeResourceRequirements describes the storage resource requirements for a volume.",
                  "properties": {
                    "limits": {
                      "additionalProperties": {
                        "oneOf": [
                          {
                            "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$",
                            "type": "string"
                          },
                          {
                            "type": "integer"
                          }
                        ],
                        "x-kubernetes-int-or-string": true
                      },
                      "description": "Limits describes the maximum amount of compute resources allowed.\nMore info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/",
                      "type": [
                        "object",
                        "null"
                      ]
                    },
                    "requests": {
                      "additionalProperties": {
                        "oneOf": [
                          {
                            "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$",
                            "type": "string"
                          },
                          {
                            "type": "integer"
                          }
                        ],
                        "x-kubernetes-int-or-string": true
                      },
                      "description": "Requests describes the minimum amount of compute resources required.\nIf Requests is omitted for a container, it defaults to Limits if that is explicitly specified,\notherwise to an implementation-defined value. Requests cannot exceed Limits.\nMore info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/",
                      "type": [
                        "object",
                        "null"
                      ]
                    }
                  },
                  "type": [
                    "object",
                    "null"
                  ]
                },
                "selector": {
                  "additionalProperties": false,
                  "description": "A label selector is a label query over a set of resources. The result of matchLabels and\nmatchExpressions are ANDed. An empty label selector matches all objects. A null\nlabel selector matches no objects.",
                  "properties": {
                    "matchExpressions": {
                      "description": "matchExpressions is a list of label selector requirements. The requirements are ANDed.",
                      "items": {
                        "additionalProperties": false,
                        "description": "A label selector requirement is a selector that contains values, a key, and an operator that\nrelates the key and values.",
                        "properties": {
                          "key": {
                            "description": "key is the label key that the selector applies to.",
                            "type": "string"
                          },
                          "operator": {
                            "description": "operator represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists and DoesNotExist.",
                            "type": "string"
                          },
                          "values": {
                            "description": "values is an array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. This array is replaced during a strategic\nmerge patch.",
                            "items": {
                              "type": "string"
                            },
                            "type": [
                              "array",
                              "null"
                            ],
                            "x-kubernetes-list-type": "atomic"
                          }
                        },
                        "required": [
                          "key",
                          "operator"
                        ],
                        "type": "object"
                      },
                      "type": [
                        "array",
                        "null"
                      ],
                      "x-kubernetes-list-type": "atomic"
                    },
                    "matchLabels": {
                      "additionalProperties": {
                        "type": "string"
                      },
                      "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels\nmap is equivalent to an element of matchExpressions, whose key field is \"key\", the\noperator is \"In\", and the values array contains only \"value\". The requirements are ANDed.",
                      "type": [
                        "object",
                        "null"
                      ]
                    }
                  },
                  "type": [
                    "object",
                    "null"
                  ],
                  "x-kubernetes-map-type": "atomic"
                },
                "storageClassName": {
                  "type": [
                    "string",
                    "null"
                  ]
                }
              },
              "type": [
                "object",
                "null"
              ]
            },
            "waitForVolumeResize": {
              "description": "WaitForVolumeResize indicates whether to wait for the PVCs to be resized before marking the MariaDB object as ready. This will block other operations such as cluster recovery while the resize is in progress.\nIt defaults to true.",
              "type": [
                "boolean",
                "null"
              ]
            }
          },
          "type": [
            "object",
            "null"
          ]
        },
        "suspend": {
          "default": false,
          "description": "Suspend indicates whether the current resource should be suspended or not.\nThis can be useful for maintenance, as disabling the reconciliation prevents the operator from interfering with user operations during maintenance activities.",
          "type": [
            "boolean",
            "null"
          ]
        },
        "timeZone": {
          "description": "TimeZone sets the default timezone. If not provided, it defaults to SYSTEM and the timezone data is not loaded.",
          "type": [
            "string",
            "null"
          ]
        },
        "tls": {
          "additionalProperties": false,
          "description": "TLS defines the PKI to be used with MariaDB.",
          "properties": {
            "clientCASecretRef": {
              "additionalProperties": false,
              "description": "ClientCASecretRef is a reference to a Secret containing the client certificate authority keypair. It is used to establish trust and issue client certificates.\nOne of:\n- Secret containing both the 'ca.crt' and 'ca.key' keys. This allows you to bring your own CA to Kubernetes to issue certificates.\n- Secret containing only the 'ca.crt' in order to establish trust. In this case, either clientCertSecretRef or clientCertIssuerRef fields must be provided.\nIf not provided, a self-signed CA will be provisioned to issue the client certificate.",
              "properties": {
                "name": {
                  "default": "",
                  "type": [
                    "string",
                    "null"
                  ]
                }
              },
              "type": [
                "object",
                "null"
              ]
            },
            "clientCertIssuerRef": {
              "additionalProperties": false,
              "description": "ClientCertIssuerRef is a reference to a cert-manager issuer object used to issue the client certificate. cert-manager must be installed previously in the cluster.\nIt is mutually exclusive with clientCertSecretRef.\nBy default, the Secret field 'ca.crt' provisioned by cert-manager will be added to the trust chain. A custom trust bundle may be specified via clientCASecretRef.",
              "properties": {
                "group": {
                  "description": "Group of the resource being referred to.",
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "kind": {
                  "description": "Kind of the resource being referred to.",
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "name": {
                  "description": "Name of the resource being referred to.",
                  "type": "string"
                }
              },
              "required": [
                "name"
              ],
              "type": [
                "object",
                "null"
              ]
            },
            "clientCertSecretRef": {
              "additionalProperties": false,
              "description": "ClientCertSecretRef is a reference to a TLS Secret containing the client certificate.\nIt is mutually exclusive with clientCertIssuerRef.",
              "properties": {
                "name": {
                  "default": "",
                  "type": [
                    "string",
                    "null"
                  ]
                }
              },
              "type": [
                "object",
                "null"
              ]
            },
            "enabled": {
              "description": "Enabled indicates whether TLS is enabled, determining if certificates should be issued and mounted to the MariaDB instance.\nIt is enabled by default.",
              "type": [
                "boolean",
                "null"
              ]
            },
            "galeraSSTEnabled": {
              "description": "GaleraSSTEnabled determines whether Galera SST connections should use TLS.\nIt disabled by default.",
              "type": [
                "boolean",
                "null"
              ]
            },
            "required": {
              "description": "Required specifies whether TLS must be enforced for all connections.\nUser TLS requirements take precedence over this.\nIt disabled by default.",
              "type": [
                "boolean",
                "null"
              ]
            },
            "serverCASecretRef": {
              "additionalProperties": false,
              "description": "ServerCASecretRef is a reference to a Secret containing the server certificate authority keypair. It is used to establish trust and issue server certificates.\nOne of:\n- Secret containing both the 'ca.crt' and 'ca.key' keys. This allows you to bring your own CA to Kubernetes to issue certificates.\n- Secret containing only the 'ca.crt' in order to establish trust. In this case, either serverCertSecretRef or serverCertIssuerRef must be provided.\nIf not provided, a self-signed CA will be provisioned to issue the server certificate.",
              "properties": {
                "name": {
                  "default": "",
                  "type": [
                    "string",
                    "null"
                  ]
                }
              },
              "type": [
                "object",
                "null"
              ]
            },
            "serverCertIssuerRef": {
              "additionalProperties": false,
              "description": "ServerCertIssuerRef is a reference to a cert-manager issuer object used to issue the server certificate. cert-manager must be installed previously in the cluster.\nIt is mutually exclusive with serverCertSecretRef.\nBy default, the Secret field 'ca.crt' provisioned by cert-manager will be added to the trust chain. A custom trust bundle may be specified via serverCASecretRef.",
              "properties": {
                "group": {
                  "description": "Group of the resource being referred to.",
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "kind": {
                  "description": "Kind of the resource being referred to.",
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "name": {
                  "description": "Name of the resource being referred to.",
                  "type": "string"
                }
              },
              "required": [
                "name"
              ],
              "type": [
                "object",
                "null"
              ]
            },
            "serverCertSecretRef": {
              "additionalProperties": false,
              "description": "ServerCertSecretRef is a reference to a TLS Secret containing the server certificate.\nIt is mutually exclusive with serverCertIssuerRef.",
              "properties": {
                "name": {
                  "default": "",
                  "type": [
                    "string",
                    "null"
                  ]
                }
              },
              "type": [
                "object",
                "null"
              ]
            }
          },
          "type": [
            "object",
            "null"
          ]
        },
        "tolerations": {
          "description": "Tolerations to be used in the Pod.",
          "items": {
            "additionalProperties": false,
            "description": "The pod this Toleration is attached to tolerates any taint that matches\nthe triple \u003ckey,value,effect\u003e using the matching operator \u003coperator\u003e.",
            "properties": {
              "effect": {
                "description": "Effect indicates the taint effect to match. Empty means match all taint effects.\nWhen specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute.",
                "type": [
                  "string",
                  "null"
                ]
              },
              "key": {
                "description": "Key is the taint key that the toleration applies to. Empty means match all taint keys.\nIf the key is empty, operator must be Exists; this combination means to match all values and all keys.",
                "type": [
                  "string",
                  "null"
                ]
              },
              "operator": {
                "description": "Operator represents a key's relationship to the value.\nValid operators are Exists and Equal. Defaults to Equal.\nExists is equivalent to wildcard for value, so that a pod can\ntolerate all taints of a particular category.",
                "type": [
                  "string",
                  "null"
                ]
              },
              "tolerationSeconds": {
                "description": "TolerationSeconds represents the period of time the toleration (which must be\nof effect NoExecute, otherwise this field is ignored) tolerates the taint. By default,\nit is not set, which means tolerate the taint forever (do not evict). Zero and\nnegative values will be treated as 0 (evict immediately) by the system.",
                "format": "int64",
                "type": [
                  "integer",
                  "null"
                ]
              },
              "value": {
                "description": "Value is the taint value the toleration matches to.\nIf the operator is Exists, the value should be empty, otherwise just a regular string.",
                "type": [
                  "string",
                  "null"
                ]
              }
            },
            "type": "object"
          },
          "type": [
            "array",
            "null"
          ]
        },
        "topologySpreadConstraints": {
          "description": "TopologySpreadConstraints to be used in the Pod.",
          "items": {
            "additionalProperties": false,
            "description": "Refer to the Kubernetes docs: https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.33/#topologyspreadconstraint-v1-core.",
            "properties": {
              "labelSelector": {
                "additionalProperties": false,
                "description": "A label selector is a label query over a set of resources. The result of matchLabels and\nmatchExpressions are ANDed. An empty label selector matches all objects. A null\nlabel selector matches no objects.",
                "properties": {
                  "matchExpressions": {
                    "description": "matchExpressions is a list of label selector requirements. The requirements are ANDed.",
                    "items": {
                      "additionalProperties": false,
                      "description": "A label selector requirement is a selector that contains values, a key, and an operator that\nrelates the key and values.",
                      "properties": {
                        "key": {
                          "description": "key is the label key that the selector applies to.",
                          "type": "string"
                        },
                        "operator": {
                          "description": "operator represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists and DoesNotExist.",
                          "type": "string"
                        },
                        "values": {
                          "description": "values is an array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. This array is replaced during a strategic\nmerge patch.",
                          "items": {
                            "type": "string"
                          },
                          "type": [
                            "array",
                            "null"
                          ],
                          "x-kubernetes-list-type": "atomic"
                        }
                      },
                      "required": [
                        "key",
                        "operator"
                      ],
                      "type": "object"
                    },
                    "type": [
                      "array",
                      "null"
                    ],
                    "x-kubernetes-list-type": "atomic"
                  },
                  "matchLabels": {
                    "additionalProperties": {
                      "type": "string"
                    },
                    "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels\nmap is equivalent to an element of matchExpressions, whose key field is \"key\", the\noperator is \"In\", and the values array contains only \"value\". The requirements are ANDed.",
                    "type": [
                      "object",
                      "null"
                    ]
                  }
                },
                "type": [
                  "object",
                  "null"
                ],
                "x-kubernetes-map-type": "atomic"
              },
              "matchLabelKeys": {
                "items": {
                  "type": "string"
                },
                "type": [
                  "array",
                  "null"
                ]
              },
              "maxSkew": {
                "format": "int32",
                "type": "integer"
              },
              "minDomains": {
                "format": "int32",
                "type": [
                  "integer",
                  "null"
                ]
              },
              "nodeAffinityPolicy": {
                "description": "NodeInclusionPolicy defines the type of node inclusion policy",
                "type": [
                  "string",
                  "null"
                ]
              },
              "nodeTaintsPolicy": {
                "description": "NodeInclusionPolicy defines the type of node inclusion policy",
                "type": [
                  "string",
                  "null"
                ]
              },
              "topologyKey": {
                "type": "string"
              },
              "whenUnsatisfiable": {
                "type": "string"
              }
            },
            "required": [
              "maxSkew",
              "topologyKey",
              "whenUnsatisfiable"
            ],
            "type": "object"
          },
          "type": [
            "array",
            "null"
          ]
        },
        "updateStrategy": {
          "additionalProperties": false,
          "description": "UpdateStrategy defines how a MariaDB resource is updated.",
          "properties": {
            "autoUpdateDataPlane": {
              "description": "AutoUpdateDataPlane indicates whether the Galera data-plane version (agent and init containers) should be automatically updated based on the operator version. It defaults to false.\nUpdating the operator will trigger updates on all the MariaDB instances that have this flag set to true. Thus, it is recommended to progressively set this flag after having updated the operator.",
              "type": [
                "boolean",
                "null"
              ]
            },
            "rollingUpdate": {
              "additionalProperties": false,
              "description": "RollingUpdate defines parameters for the RollingUpdate type.",
              "properties": {
                "maxUnavailable": {
                  "description": "The maximum number of pods that can be unavailable during the update.\nValue can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%).\nAbsolute number is calculated from percentage by rounding up. This can not be 0.\nDefaults to 1. This field is alpha-level and is only honored by servers that enable the\nMaxUnavailableStatefulSet feature. The field applies to all pods in the range 0 to\nReplicas-1. That means if there is any unavailable pod in the range 0 to Replicas-1, it\nwill be counted towards MaxUnavailable.",
                  "oneOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "integer"
                    },
                    {
                      "type": "null"
                    }
                  ],
                  "x-kubernetes-int-or-string": true
                },
                "partition": {
                  "description": "Partition indicates the ordinal at which the StatefulSet should be partitioned\nfor updates. During a rolling update, all pods from ordinal Replicas-1 to\nPartition are updated. All pods from ordinal Partition-1 to 0 remain untouched.\nThis is helpful in being able to do a canary based deployment. The default value is 0.",
                  "format": "int32",
                  "type": [
                    "integer",
                    "null"
                  ]
                }
              },
              "type": [
                "object",
                "null"
              ]
            },
            "type": {
              "default": "ReplicasFirstPrimaryLast",
              "description": "Type defines the type of updates. One of `ReplicasFirstPrimaryLast`, `RollingUpdate` or `OnDelete`. If not defined, it defaults to `ReplicasFirstPrimaryLast`.",
              "enum": [
                "ReplicasFirstPrimaryLast",
                "RollingUpdate",
                "OnDelete",
                "Never"
              ],
              "type": [
                "string",
                "null"
              ]
            }
          },
          "type": [
            "object",
            "null"
          ]
        },
        "username": {
          "description": "Username is the initial username to be created by the operator once MariaDB is ready.\nThe initial User will have ALL PRIVILEGES in the initial Database.",
          "type": [
            "string",
            "null"
          ]
        },
        "volumeMounts": {
          "description": "VolumeMounts to be used in the Container.",
          "items": {
            "additionalProperties": false,
            "description": "Refer to the Kubernetes docs: https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.33/#volumemount-v1-core.",
            "properties": {
              "mountPath": {
                "type": "string"
              },
              "name": {
                "description": "This must match the Name of a Volume.",
                "type": "string"
              },
              "readOnly": {
                "type": [
                  "boolean",
                  "null"
                ]
              },
              "subPath": {
                "type": [
                  "string",
                  "null"
                ]
              }
            },
            "required": [
              "mountPath",
              "name"
            ],
            "type": "object"
          },
          "type": [
            "array",
            "null"
          ]
        },
        "volumes": {
          "description": "Volumes to be used in the Pod.",
          "items": {
            "additionalProperties": false,
            "description": "Refer to the Kubernetes docs: https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.33/#volume-v1-core.",
            "properties": {
              "configMap": {
                "additionalProperties": false,
                "description": "Refer to the Kubernetes docs: https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.33/#configmapvolumesource-v1-core.",
                "properties": {
                  "defaultMode": {
                    "format": "int32",
                    "type": [
                      "integer",
                      "null"
                    ]
                  },
                  "name": {
                    "default": "",
                    "type": [
                      "string",
                      "null"
                    ]
                  }
                },
                "type": [
                  "object",
                  "null"
                ]
              },
              "csi": {
                "additionalProperties": false,
                "description": "Refer to the Kubernetes docs: https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.33/#csivolumesource-v1-core.",
                "properties": {
                  "driver": {
                    "type": "string"
                  },
                  "fsType": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "nodePublishSecretRef": {
                    "additionalProperties": false,
                    "description": "Refer to the Kubernetes docs: https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.33/#localobjectreference-v1-core.",
                    "properties": {
                      "name": {
                        "default": "",
                        "type": [
                          "string",
                          "null"
                        ]
                      }
                    },
                    "type": [
                      "object",
                      "null"
                    ]
                  },
                  "readOnly": {
                    "type": [
                      "boolean",
                      "null"
                    ]
                  },
                  "volumeAttributes": {
                    "additionalProperties": {
                      "type": "string"
                    },
                    "type": [
                      "object",
                      "null"
                    ]
                  }
                },
                "required": [
                  "driver"
                ],
                "type": [
                  "object",
                  "null"
                ]
              },
              "emptyDir": {
                "additionalProperties": false,
                "description": "Refer to the Kubernetes docs: https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.33/#emptydirvolumesource-v1-core.",
                "properties": {
                  "medium": {
                    "description": "StorageMedium defines ways that storage can be allocated to a volume.",
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "sizeLimit": {
                    "oneOf": [
                      {
                        "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$",
                        "type": "string"
                      },
                      {
                        "type": "integer"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "x-kubernetes-int-or-string": true
                  }
                },
                "type": [
                  "object",
                  "null"
                ]
              },
              "hostPath": {
                "additionalProperties": false,
                "description": "Refer to the Kubernetes docs: https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.33/#hostpathvolumesource-v1-core",
                "properties": {
                  "path": {
                    "type": "string"
                  },
                  "type": {
                    "type": [
                      "string",
                      "null"
                    ]
                  }
                },
                "required": [
                  "path"
                ],
                "type": [
                  "object",
                  "null"
                ]
              },
              "name": {
                "type": "string"
              },
              "nfs": {
                "additionalProperties": false,
                "description": "Refer to the Kubernetes docs: https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.33/#nfsvolumesource-v1-core.",
                "properties": {
                  "path": {
                    "type": "string"
                  },
                  "readOnly": {
                    "type": [
                      "boolean",
                      "null"
                    ]
                  },
                  "server": {
                    "type": "string"
                  }
                },
                "required": [
                  "path",
                  "server"
                ],
                "type": [
                  "object",
                  "null"
                ]
              },
              "persistentVolumeClaim": {
                "additionalProperties": false,
                "description": "Refer to the Kubernetes docs: https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.33/#persistentvolumeclaimvolumesource-v1-core.",
                "properties": {
                  "claimName": {
                    "type": "string"
                  },
                  "readOnly": {
                    "type": [
                      "boolean",
                      "null"
                    ]
                  }
                },
                "required": [
                  "claimName"
                ],
                "type": [
                  "object",
                  "null"
                ]
              },
              "secret": {
                "additionalProperties": false,
                "description": "Refer to the Kubernetes docs: https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.33/#secretvolumesource-v1-core.",
                "properties": {
                  "defaultMode": {
                    "format": "int32",
                    "type": [
                      "integer",
                      "null"
                    ]
                  },
                  "secretName": {
                    "type": [
                      "string",
                      "null"
                    ]
                  }
                },
                "type": [
                  "object",
                  "null"
                ]
              }
            },
            "required": [
              "name"
            ],
            "type": "object"
          },
          "type": [
            "array",
            "null"
          ]
        }
      },
      "type": "object",
      "x-kubernetes-validations": [
        {
          "message": "An odd number of MariaDB instances (mariadb.spec.replicas) is required to avoid split brain situations. Use 'mariadb.spec.replicasAllowEvenNumber: true' to disable this validation.",
          "rule": "self.replicas %2 == 1 || self.replicasAllowEvenNumber"
        }
      ]
    },
    "status": {
      "additionalProperties": false,
      "description": "MariaDBStatus defines the observed state of MariaDB",
      "properties": {
        "conditions": {
          "description": "Conditions for the Mariadb object.",
          "items": {
            "additionalProperties": false,
            "description": "Condition contains details for one aspect of the current state of this API Resource.",
            "properties": {
              "lastTransitionTime": {
                "description": "lastTransitionTime is the last time the condition transitioned from one status to another.\nThis should be when the underlying condition changed.  If that is not known, then using the time when the API field changed is acceptable.",
                "format": "date-time",
                "type": "string"
              },
              "message": {
                "description": "message is a human readable message indicating details about the transition.\nThis may be an empty string.",
                "maxLength": 32768,
                "type": "string"
              },
              "observedGeneration": {
                "description": "observedGeneration represents the .metadata.generation that the condition was set based upon.\nFor instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date\nwith respect to the current state of the instance.",
                "format": "int64",
                "minimum": 0,
                "type": [
                  "integer",
                  "null"
                ]
              },
              "reason": {
                "description": "reason contains a programmatic identifier indicating the reason for the condition's last transition.\nProducers of specific condition types may define expected values and meanings for this field,\nand whether the values are considered a guaranteed API.\nThe value should be a CamelCase string.\nThis field may not be empty.",
                "maxLength": 1024,
                "minLength": 1,
                "pattern": "^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$",
                "type": "string"
              },
              "status": {
                "description": "status of the condition, one of True, False, Unknown.",
                "enum": [
                  "True",
                  "False",
                  "Unknown"
                ],
                "type": "string"
              },
              "type": {
                "description": "type of condition in CamelCase or in foo.example.com/CamelCase.",
                "maxLength": 316,
                "pattern": "^([a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*/)?(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])$",
                "type": "string"
              }
            },
            "required": [
              "lastTransitionTime",
              "message",
              "reason",
              "status",
              "type"
            ],
            "type": "object"
          },
          "type": [
            "array",
            "null"
          ]
        },
        "currentPrimary": {
          "description": "CurrentPrimary is the primary Pod.",
          "type": [
            "string",
            "null"
          ]
        },
        "currentPrimaryFailingSince": {
          "description": "CurrentPrimaryFailingSince is the timestamp of the moment when the primary became not ready.",
          "format": "date-time",
          "type": [
            "string",
            "null"
          ]
        },
        "currentPrimaryPodIndex": {
          "description": "CurrentPrimaryPodIndex is the primary Pod index.",
          "type": [
            "integer",
            "null"
          ]
        },
        "defaultVersion": {
          "description": "DefaultVersion is the MariaDB version used by the operator when it cannot infer the version\nfrom spec.image. This can happen if the image uses a digest (e.g. sha256) instead\nof a version tag.",
          "type": [
            "string",
            "null"
          ]
        },
        "galeraRecovery": {
          "additionalProperties": false,
          "description": "GaleraRecovery is the Galera recovery current state.",
          "properties": {
            "bootstrap": {
              "additionalProperties": false,
              "description": "Bootstrap indicates when and in which Pod the cluster bootstrap process has been performed.",
              "properties": {
                "pod": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "time": {
                  "format": "date-time",
                  "type": [
                    "string",
                    "null"
                  ]
                }
              },
              "type": [
                "object",
                "null"
              ]
            },
            "podsRestarted": {
              "description": "PodsRestarted that the Pods have been restarted after the cluster bootstrap.",
              "type": [
                "boolean",
                "null"
              ]
            },
            "recovered": {
              "additionalProperties": {
                "additionalProperties": false,
                "properties": {
                  "seqno": {
                    "type": "integer"
                  },
                  "uuid": {
                    "type": "string"
                  }
                },
                "required": [
                  "seqno",
                  "uuid"
                ],
                "type": "object"
              },
              "description": "State is a per Pod representation of the sequence recovery process.",
              "type": [
                "object",
                "null"
              ]
            },
            "state": {
              "additionalProperties": {
                "additionalProperties": false,
                "properties": {
                  "safeToBootstrap": {
                    "type": "boolean"
                  },
                  "seqno": {
                    "type": "integer"
                  },
                  "uuid": {
                    "type": "string"
                  },
                  "version": {
                    "type": "string"
                  }
                },
                "required": [
                  "safeToBootstrap",
                  "seqno",
                  "uuid",
                  "version"
                ],
                "type": "object"
              },
              "description": "State is a per Pod representation of the Galera state file (grastate.dat).",
              "type": [
                "object",
                "null"
              ]
            }
          },
          "type": [
            "object",
            "null"
          ]
        },
        "replicas": {
          "description": "Replicas indicates the number of current instances.",
          "format": "int32",
          "type": [
            "integer",
            "null"
          ]
        },
        "replicationStatus": {
          "additionalProperties": {
            "type": "string"
          },
          "description": "ReplicationStatus is the replication current state for each Pod.",
          "type": [
            "object",
            "null"
          ]
        },
        "tls": {
          "additionalProperties": false,
          "description": "TLS aggregates the status of the certificates used by the MariaDB instance.",
          "properties": {
            "caBundle": {
              "description": "CABundle is the status of the Certificate Authority bundle.",
              "items": {
                "additionalProperties": false,
                "description": "CertificateStatus represents the current status of a TLS certificate.",
                "properties": {
                  "issuer": {
                    "description": "Issuer is the issuer of the current certificate.",
                    "type": "string"
                  },
                  "notAfter": {
                    "description": "NotAfter indicates that the certificate is not valid after the given date.",
                    "format": "date-time",
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "notBefore": {
                    "description": "NotBefore indicates that the certificate is not valid before the given date.",
                    "format": "date-time",
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "subject": {
                    "description": "Subject is the subject of the current certificate.",
                    "type": "string"
                  }
                },
                "required": [
                  "issuer",
                  "subject"
                ],
                "type": "object"
              },
              "type": [
                "array",
                "null"
              ]
            },
            "clientCert": {
              "additionalProperties": false,
              "description": "ClientCert is the status of the client certificate.",
              "properties": {
                "issuer": {
                  "description": "Issuer is the issuer of the current certificate.",
                  "type": "string"
                },
                "notAfter": {
                  "description": "NotAfter indicates that the certificate is not valid after the given date.",
                  "format": "date-time",
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "notBefore": {
                  "description": "NotBefore indicates that the certificate is not valid before the given date.",
                  "format": "date-time",
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "subject": {
                  "description": "Subject is the subject of the current certificate.",
                  "type": "string"
                }
              },
              "required": [
                "issuer",
                "subject"
              ],
              "type": [
                "object",
                "null"
              ]
            },
            "serverCert": {
              "additionalProperties": false,
              "description": "ServerCert is the status of the server certificate.",
              "properties": {
                "issuer": {
                  "description": "Issuer is the issuer of the current certificate.",
                  "type": "string"
                },
                "notAfter": {
                  "description": "NotAfter indicates that the certificate is not valid after the given date.",
                  "format": "date-time",
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "notBefore": {
                  "description": "NotBefore indicates that the certificate is not valid before the given date.",
                  "format": "date-time",
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "subject": {
                  "description": "Subject is the subject of the current certificate.",
                  "type": "string"
                }
              },
              "required": [
                "issuer",
                "subject"
              ],
              "type": [
                "object",
                "null"
              ]
            }
          },
          "type": [
            "object",
            "null"
          ]
        }
      },
      "type": [
        "object",
        "null"
      ]
    }
  },
  "required": [
    "spec"
  ],
  "type": "object"
}