Masterminds / sprig

Useful template functions for Go templates.
http://masterminds.github.io/sprig/
MIT License
4.25k stars 436 forks source link

Feature request: add toYaml/fromYaml functions #358

Open alexbde opened 1 year ago

alexbde commented 1 year ago

Experiencing the sprig library as a great tool set so far, I was a bit surprised there are no toYaml/fromYaml functions in here. It would be great to have them analogous to the Helm implementation.

I'm not a go developer, but I could try to create a PR similar to #223 if you feel comfortable with the general idea of adding toYaml/fromYaml functions :)

yebolenko commented 1 year ago

any update on this?

yebolenko commented 1 year ago

any update on this ? many developer are waiting for this feature.

42atomys commented 4 months ago

Hello everyone 👋,

I wanted to let you know that this issue has been addressed in the fork of this project at go-sprout/sprout. The fix has been implemented starting from version v0.4.0.

For those looking for a solution, I recommend checking out the latest releases of the fork. This should help address the issue discussed in this thread.

Thank you!