helm
helm copied to clipboard
Wrong database name in Nextcloud initContainer
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
.