incubator-devlake-helm-chart
incubator-devlake-helm-chart copied to clipboard
No values passed from helm chart for pgsql
I'm trying to add a helm deployment via terraform provider
With the postgres external option set, it does not appear to have the values passed from the helm chart; stops on checking database - from the statefulset devlake-lake:
initContainers": [
{
"name": "waiting-database-ready",
"image": "alpine:3.16",
"command": [
"sh",
"-c",
"until nc -z -w 2 ; do\n echo wait for database ready ...\n sleep 2\ndone\necho database is ready\n"
],
"resources": {},
Using the section
....
pgsql: {
useExternal: true,
externalServer: "postgres.${var.domain_name}",
username: "devlake",
password: data.aws_secretsmanager_secret_version.postgres.secret_string,
database: "devlake"
},
option: {
database: "pgsql"
},
....
Could be that the values are passed to the initi container in the chart?
@IronCore864 please take a look
Postgresql option is disabled and not supported for the moment. Please @IronCore864 correct me if I'm wrong. @ashwilson may I suggest using MySQL?
@JorgeGar yes, exactly, postgresql option is disabled and not supported for the moment. It used to be supported for a period, but the time cost on it was too high, so disabled
But is postgres itself supported in devlake?
@Split174 devlake itself supports pg, but not the grafana dashboards, they were all designed based on MySQL syntax