Hi Flux team,
After upgrading to Flux v2.8.0 (containing helm-controller v1.5.0) our HelmRelease has started failing with:
Helm install failed for release foo-system/foo with chart [email protected]+c494f9f11838: error merging manifests: parsing foo/templates/rbac.yaml: invalid document separator: ---apiVersion: v1
This stops when reverting to Flux < v2.8.0 (helm-controller v1.4.x) and I cannot reproduce with helm template or helm upgrade (Helm v4.1.0).
If I had to speculate this looks like maybe you started dropping/trimming the comments Helm adds between manifests to save bytes/space but are erroneously clipping the last newline? I.e. output should look like:
...
---
apiVersion: v1
...
not
...
---apiVersion: v1
...
Happy to provide more details as needed.
Thank you for all your work and continued support for Flux!
Hi Flux team,
After upgrading to Flux v2.8.0 (containing helm-controller v1.5.0) our HelmRelease has started failing with:
This stops when reverting to Flux < v2.8.0 (helm-controller v1.4.x) and I cannot reproduce with
helm templateorhelm upgrade(Helm v4.1.0).If I had to speculate this looks like maybe you started dropping/trimming the comments Helm adds between manifests to save bytes/space but are erroneously clipping the last newline? I.e. output should look like:
not
Happy to provide more details as needed.
Thank you for all your work and continued support for Flux!