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

Option to configure Prometheus, ClickHouse and Postgres with Secret or ConfigMap #1

Open
Jamesits opened this issue Dec 17, 2024 · 0 comments

Comments

@Jamesits
Copy link

Current custom resource implementation only allow setting Prometheus, ClickHouse and Postgres credentials with plain text strings embedded in the CR. Is it possible that we support referencing these credentials from Secret or ConfigMap?

Using the legacy helm chart I can do this:

resource "helm_release" "coroot" {
  name      = "coroot"
  namespace = "coroot"

  repository = "https://coroot.github.io/helm-charts"
  chart      = "coroot"

  atomic          = true
  cleanup_on_fail = true

  set {
    name  = "corootCE.env[0].name"
    value = "PG_CONNECTION_STRING"
  }
  set {
    name  = "corootCE.env[0].valueFrom.secretKeyRef.name"
    value = "postgres"
  }
  set {
    name  = "corootCE.env[0].valueFrom.secretKeyRef.key"
    value = "PG_CONNECTION_STRING"
  }
}
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

No branches or pull requests

1 participant