helm icon indicating copy to clipboard operation
helm copied to clipboard

Wrong database name in Nextcloud initContainer

Open GillesMocellin opened this issue 3 years ago • 3 comments

In the deployment template, here: https://github.com/nextcloud/helm/blob/master/charts/nextcloud/templates/deployment.yaml#L274

The commands are using %s-mariadb or %s-postgresql. Why not use the variable ${MYSQL_HOST} and ${POSTGRESQL_HOST} ?

I tried a deployment with a primary/secondary MariaDB cluster, and the host should then be nextcloud-mariadb-primary instead of nextcloud-mariadb.

GillesMocellin avatar Jan 06 '22 16:01 GillesMocellin