From b0d06bd127ebf81c1657761db34ef94f153d24ad Mon Sep 17 00:00:00 2001 From: j37hr0 Date: Fri, 10 Apr 2026 20:06:20 +1200 Subject: [PATCH] choose replication mode --- .../databases/mariadb-operator/cluster/mariadb.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/infrastructure/databases/mariadb-operator/cluster/mariadb.yaml b/infrastructure/databases/mariadb-operator/cluster/mariadb.yaml index 931b6c6..24caef1 100644 --- a/infrastructure/databases/mariadb-operator/cluster/mariadb.yaml +++ b/infrastructure/databases/mariadb-operator/cluster/mariadb.yaml @@ -6,6 +6,11 @@ metadata: spec: replicas: 3 +replication: + enabled: true + primary: + automaticFailover: true + rootPasswordSecretKeyRef: name: mariadb-root key: password