g
it looks like for deploy helm actions the path for varfiles is not correct when the helm chart is referenced by
source.repository.url
. it checks within .garden/sources/actions/… instead it should check from my point of view relative to the garden.yaml action file How to reproduce: garden.yml
Copy code
yaml
apiVersion: garden.io/v1
kind: Project
name: redis
environments:
  - name: local
    variables:
      baseHostname: redis.local.demo.garden
providers:
  - name: local-kubernetes
    environments: [local]
variables:
  userId: ${kebabCase(local.username)}
redis.garden.yml
Copy code
yaml
kind: Deploy
description: Redis service for queueing votes before they are aggregated
type: helm
name: redis
varfiles:
  - ./.env
source:
  repository: 
    url: https://github.com/bitnami/charts#main
spec:
  chart:
    path: bitnami/redis
  values:
    auth:
      enabled: false
.env
Copy code
TEST=test
Already opened a bug ticket: https://github.com/garden-io/garden/issues/6146 and now also a PR 🫣 https://github.com/garden-io/garden/pull/6147
same issue not only for varfiles, also for valueFiles
c
Thanks for reproting the issues and creating the PR, @gentle-umbrella-55872 ! 👍 I'll take a closer look soon, and will help you to wrap up the PR.
g
awesome 🙂 varfiles issue is solved and merged. for valuefiles i opened now another PR 😉 https://github.com/garden-io/garden/pull/6156