New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Double escape backward slash with HELMFILE_V1MODE=true
#1079
Comments
I guess helmfile does some unmarshall-marshal process with yaml. I kinda reproduced this here https://go.dev/play/p/bHQbbYDBBo-. It isn't clear, if this is something of expected goccy/go-yaml behavior and whether it can be adjusted on helmfile side. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Not stale. (i hate this bot) |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Not stale. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Not stale. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Not stale. |
I hit this bump too. +1 Really appreciate someone's addressing this problem |
Operating system
MacOS 14.0
Helmfile Version
v0.157.0
Helm Version
v3.13.1
Bug description
With
HELMFILE_V1MODE=true HELMFILE_GOCCY_GOYAML=false helmfile template | grep css -A5 -B5
result is okay:With
HELMFILE_V1MODE=true HELMFILE_GOCCY_GOYAML=true helmfile template | grep css -A5 -B5
result is not okay, double escape\\.
is generated:I wasn't able to find how wrap or escape this string to avoid double escaping and preserve single slash. I tried single quotes, double quotes and go template literals like:
to no avail.
Example helmfile.yaml
It's
helmfile.yaml.gotmpl
Error message you've seen (if any)
None
Steps to reproduce
See
Bug description
example helmfileWorking Helmfile Version
v0
Relevant discussion
#656
The text was updated successfully, but these errors were encountered: