Open HaleyACS opened 2 years ago
Did you try to set the following values when deploying:
mariadb:
persistence:
enabled: true
existingClaim: "mailu-storage"
subPath: "mariadb"
From Bitnami chart configuration: (use under the mariadb
key in your mailu values.yaml file)
https://github.com/bitnami/charts/blob/e381d4b4ec846778711ebd305735165e5680ab4d/bitnami/mariadb/values.yaml#L432-L442
Didn´t test it. will do so today.
This causes the cluster deployment to hang, as the DB will be the first to grab the pv claim. So all pods not requiring disk access will come up + mariadb, but all others will hand.
Describe the bug When using a single PVC for persistent data in mailu-helm chart, the mariadb data directory should also be in under that directory.
Environment k3s on ubuntu server 22.04
Additional context persistence configuration is:
The pvc definition used is:
The data storage for mariadb should show up under /data/mailu/mysql|mariadb|postgresql