Helmfile releases define a chart and a version. For those of you who use a single helmfile across multiple environments (dev/prod for example), how are you managing your chart between environments? As an example, dev and prod might both use
chartA at version
0.1.0. When
chartA is updated by the chart maintainer to
0.1.1, you may want to test
0.1.1 on dev but not on prod. How do you handle this case? One possible solution is using go templates in the helmfile.yaml, i.e.
- name: my-release
namespace: my-namespace
chart: chartA
{{ if prod }}
version: 0.1.0
{{ else }
version: 0.1.1
{{ end }}
(it is not valid syntax, but you get the idea)
Does anyone use a solution other than that? If so, can you describe your solution?