passbolt / charts-passbolt

Helm charts to run Passbolt on Kubernetes. No strings attached charts to run the open source password manager for teams!
https://passbolt.com
GNU Affero General Public License v3.0
41 stars 27 forks source link

Access denied errors for secondary MariaDB server #15

Closed MTSym closed 1 year ago

MTSym commented 1 year ago

After solving the PVC error I encountered an additional error regarding Access denied for user 'root'@'localhost' occured during the startup phase of the secondary database server.

It seems that the locked chart version of mariadb does not like it if you either change the "root" password or use a different storage backend than local-path.

By upgrading the chart to version 11.5.6 I was able to resolve this Issue for me.

If you want to reproduce the Issue try to changing mariadb.auth.rootPassword and mariadb.secondary.persistence.storageClass.

For the storage class I am using ceph-rbd-sc so a RBD ceph backend. Please not that trying this with a Ceph-FS backend also does not work but that is due to the MariaDB chart being unable to handle the storage backend.