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
Render of multiline string breaks pretty yaml printing in certain cases #5344
Comments
More cases. Works OK:
Fails:
Workaround is to add trim either in include statement or in the template definition itself:
Or:
|
1 task
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Before proceeding
Version
1.2.204
How to reproduce
Define a manifest with string-value as multiline yaml which contains empty string with number of spaces more than identation level:
Note that after
hello: world
there is 5 spaces, while identation of string value yaml is 4 spaces.Result
Run
werf render
(orwerf helm template .helm
):stringkey
value is no more multiline string.Expected result
Running vanilla
helm template .helm
does not break multiline representation ofstringkey
:Additional information
No response
The text was updated successfully, but these errors were encountered: