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
In my mind all three configmaps should look the same, but when you do a helm template command with this setup the test2 confimap has an extra blank new line. This new line once pushed to kubernetes then screws up kubernetes output to yaml format.
I am going to guess that the whitespace deletion has a bug in it with this setup, since in test3 just adding some text before the range removes any extra whitespace. Or I might be missing something simple.
The text was updated successfully, but these errors were encountered:
burkempers
changed the title
Range inside of a include adds extra newline
Range inside of an include adds extra newline
Nov 22, 2023
There seems to be a bug with range inside of an include. It is a little hard to explain, so here is my test setup.
values.yaml:
_helpers.tpl :
cm.yaml :
In my mind all three configmaps should look the same, but when you do a helm template command with this setup the test2 confimap has an extra blank new line. This new line once pushed to kubernetes then screws up kubernetes output to yaml format.
I am going to guess that the whitespace deletion has a bug in it with this setup, since in test3 just adding some text before the range removes any extra whitespace. Or I might be missing something simple.
The text was updated successfully, but these errors were encountered: