Exchange MariaDB Bitnami Helm Chart with MariaDB Community Operator - #57
Exchange MariaDB Bitnami Helm Chart with MariaDB Community Operator#57MartinWeise wants to merge 5 commits into
Conversation
- Remove the Bitnami Galera Chart - Add the MariaDB Community Operator Signed-off-by: Martin Weise <martin.weise@tuwien.ac.at>
Signed-off-by: Martin Weise <martin.weise@tuwien.ac.at>
Signed-off-by: Martin Weise <martin.weise@tuwien.ac.at>
maxlastglance
left a comment
There was a problem hiding this comment.
Helm lint/template läuft durch, also auf YAML-Ebene wirkt es nicht kaputt, aber ich glaube da sind ein paar Runtime-Themen drin, die wir vor dem Merge fixen sollten.
Hauptpunkt: Ich sehe nicht, dass für 'data-db' die 'dbrepo' Datenbank noch angelegt wird. Es gibt ein Database CR für metadata-db, aber kein entsprechendes für data-db, während der readonly Grant weiterhin auf database: "dbrepo" zeigt. Ich würde erwarten, dass der Grant dann fehlschlägt oder hängen bleibt, außer der Operator legt die DB implizit an.
Außerdem verwenden die SQL Jobs in metadata-db-sqljob.yaml zwar metadata-db, aber als User.Values.datadb.rootUser.user. Mit den Defaults geht das, weil beides root ist, aber sobald jemand den Metadata-DB-User separat überschreibt, bricht es. Das sollte vermutlich .Values.metadatadb.rootUser.user sein, oder?
Signed-off-by: Martin Weise <martin.weise@tuwien.ac.at>
I added the database
Thanks, I fixed that so it uses the correct |
Description
This PR implements #56 by replacing the Bitnami MariaDB Galera Chart with the MariaDB Community Operator. This is expected to benefit long-term stability of the Metadata/Data-DBs and increase cloud-nativeness of the deployment.
This PR also shifts both Metadata/Data-DBs from a Multi-Master architecture to a more resilient Primary/Read-Replica architecture (=only 1 master).
Type of Change
Related Issue
Closes #56
Checklist
Additional Notes
None.