Template Strings in varfiles are not evaluated
# 🌱|help-and-getting-started
c
Hi there, I have a varfile as a dot env files: garden.env ---- url=https://app.${var.userId}.${environment.name}.example.com -- with a garden.yaml -- apiVersion: garden.io/v1 kind: Project name: myproject defaultEnvironment: "local" environments: - name: local varfile: garden.env __ and I use it in a pod manifest -- spec: manifests: - apiVersion: v1 kind: ConfigMap metadata: name: config data: $merge: ${var} LOG_LEVEL: info -- I would expect that the variable substituted, but it still shows up as url=https://app.${var.userId}.${environment.name}.example.com This has worked before, but now doesn't- garden version: 0.13.53 Could some one please help me debug this issue?
Looks like this was fixed here: https://github.com/garden-io/garden/pull/6844 can someone confirm? Thanks
f
Hi @clean-xylophone-53539 , yes this was fixed by the PR you referenced. You can verify that your project works as expected by updating to the latest garden version 0.13.54 https://github.com/garden-io/garden/releases/tag/0.13.54
5 Views