Skip to content
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

Fix #631: helm - remove new lines from resulting yaml when using conditionals #632

Merged
merged 1 commit into from
Sep 30, 2021

Conversation

jkremser
Copy link
Member

As described in here, by adding the dash right after the double curly braces it will chomp whitespaces on the left (including new lines) so this should fix the unnecessary new lines in the rendered yamls (if the things are not enabled)

Signed-off-by: Jirka Kremser [email protected]

Copy link
Member

@ytsarev ytsarev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice catch

@jkremser jkremser merged commit b366250 into k8gb-io:master Sep 30, 2021
@jkremser jkremser deleted the helm-new-lines branch September 30, 2021 13:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants