You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We have some use cases where rendering helm charts with overridden values causes helm to produce warnings on stderr, but otherwise finishes successfully. We use the helm.RenderTemplate() method to perform this rendering. Unfortunately, the method only supports returning the combined stdout+stderr and this causes our subsequent UnmarshalK8SYaml() call to fail because the text is no longer valid YAML.
It would be nice if the method could be called while keeping the two output streams separated. A couple of ideas are to either create a second method that works this way, or perhaps passing an option to the current method to allow this behavior.
The text was updated successfully, but these errors were encountered:
That's a good point. Is returning stderr ever useful with the RenderTemplate method? Or is that just a bug, and only stdout should be returned? A PR to improve/fix this is very welcome!
We have some use cases where rendering helm charts with overridden values causes helm to produce warnings on stderr, but otherwise finishes successfully. We use the helm.RenderTemplate() method to perform this rendering. Unfortunately, the method only supports returning the combined stdout+stderr and this causes our subsequent UnmarshalK8SYaml() call to fail because the text is no longer valid YAML.
It would be nice if the method could be called while keeping the two output streams separated. A couple of ideas are to either create a second method that works this way, or perhaps passing an option to the current method to allow this behavior.
The text was updated successfully, but these errors were encountered: