Operating system
Recreated on Debian trixie and MacOS something something
Helmfile Version
1.4.3
Helm Version
v3.18.6
Bug description
When setting an --output-dir-template in helmfile template, the files written will contain the content from before the --post-renderer helm processing. The--post-renderer still gets run with no input. Any ouput from it is written to stdout and ignored by helmfile.
This is most appearant when you set up a mutating filter. The provided sample repo includes one that deletes all the helm output and replaces it with a blank namespace.
Example helmfile.yaml
Almost any valid helmfile.yaml can be used to create this.
repositories:
- name: prometheus-community
url: https://prometheus-community.github.io/helm-charts
releases:
- name: prom-norbac-ubuntu
namespace: prometheus
chart: prometheus-community/prometheus
Error message you've seen (if any)
N/A (No error message)
Steps to reproduce
http://github.com/javajawa/helmfile-2515
Working Helmfile Version
Unknown. This was found whilst implementing a feature locally, so I do not know if this is a regression.
Operating system
Recreated on Debian trixie and MacOS something something
Helmfile Version
1.4.3
Helm Version
v3.18.6
Bug description
When setting an
--output-dir-templateinhelmfile template, the files written will contain the content from before the--post-rendererhelm processing. The--post-rendererstill gets run with no input. Any ouput from it is written to stdout and ignored byhelmfile.This is most appearant when you set up a mutating filter. The provided sample repo includes one that deletes all the helm output and replaces it with a blank namespace.
Example helmfile.yaml
Almost any valid
helmfile.yamlcan be used to create this.Error message you've seen (if any)
N/A (No error message)
Steps to reproduce
http://github.com/javajawa/helmfile-2515
Working Helmfile Version
Unknown. This was found whilst implementing a feature locally, so I do not know if this is a regression.