Skip to content

bug: langfuse.salt value issue when deploying helm chart with Terragrunt #368

Description

@smcllw

Describe the bug

Hello,
i'm currently in the process of deploying langfuse with terragrunt/opentofu/helm.

i'm getting the following error despite hard coding the salt value or using a kubernetes secret

execution error at (langfuse/templates/worker/deployment.yaml:72:16): no 
valid value, secretKeyRef, fieldRef, or resourceFieldRef provided for langfuse.salt

deploying the helm chart with helm worked fine, but this seems to not work when using the helm provider in opentofu/terragrunt.

To reproduce

run terragrunt plan

Chart version and values.yaml configuration

chart version: 1.5.34
helm version: 3.2.0
OpenTofu v1.12.2
terragrunt version 1.0.8

resource "helm_release" "langfuse" {
  name = var.project.name
  repository = "https://langfuse.github.io/langfuse-k8s"
  chart = "langfuse"
  namespace = data.kubernetes_namespace_v1.namespace.metadata[0].name
  version = var.helm-version
  create_namespace = true

  values = [ 
    yamlencode({
      langfuse: {    
        salt:{
          # value: data.vault_generic_secret.langfuse.data["salt"]
          secretKeyRef:{
            name: "salt"
            key: "salt"
        }
        }
 etc etc...

Kubernetes Status

No response

Logs

No response

Additional information

No response

Are you interested to contribute a fix for this bug?

Yes

Metadata

Metadata

Assignees

Labels

Type

No type

Fields

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