Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No values passed from helm chart for pgsql #148

Open
ashwilson opened this issue Jun 27, 2023 · 5 comments
Open

No values passed from helm chart for pgsql #148

ashwilson opened this issue Jun 27, 2023 · 5 comments

Comments

@ashwilson
Copy link

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?

@klesh
Copy link
Contributor

klesh commented Jun 28, 2023

@IronCore864 please take a look

@JorgeGar
Copy link
Contributor

Postgresql option is disabled and not supported for the moment. Please @IronCore864 correct me if I'm wrong.
@ashwilson may I suggest using MySQL?

@ZhangNing10
Copy link
Contributor

@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

@Split174
Copy link

But is postgres itself supported in devlake?

@klesh
Copy link
Contributor

klesh commented Aug 15, 2023

@Split174 devlake itself supports pg, but not the grafana dashboards, they were all designed based on MySQL syntax

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants