#@ load("@ytt:data", "data")

#@ app = data.values.application
---
apiVersion: vendir.k14s.io/v1alpha1
kind: Config
directories:
  - path: #@ "charts/" + app.name
    contents:
      - path: .
        git:
          url: #@ app.gitUrl
          ref: #@ app.gitRef
        newRootPath: #@ app.chartPath
        lazy: true
