Hi, what is the best solution for
• sharing
templates between multiple Helmfiles in different repos, and
• sharing a
default set of releases with dependencies between eachother, and
• retaining the ability to
override/change one or more of those releases (i.e. no sub-helmfile usage, since sub-helmfiles don’t get exposed to their parent) ?
All I could come up with so far is this, which seems a bit hacky:
{{ $_ := exec "git" (list "clone" "--depth=1" "<https://github.com/myorg/common.git>") }}
hooks:
- events: ["cleanup"]
showlogs: true
command: "rm"
args: ["-rf", "common"]
bases:
- common/environments.yaml
---
{{ tpl (readFile "common/templates.yaml") . }}
releases:
{{ tpl (readFile "common/releases.yaml") . }}