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?
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:
Using the section
Could be that the values are passed to the initi container in the chart?