Skip to content

No values passed from helm chart for pgsql #148

@ashwilson

Description

@ashwilson

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions