Closed dani-CO-CN closed 10 months ago
Thanks for reporting this! I'll be sure to include this in an upcoming version.
I've just completed most of the work on the upcoming version and took another look at this. It looks like it's not something I can easily solve though :( As soon as the underlying Helm Go code touches the values it automatically sorts the keys and the original order is lost. Because in Go the order of dict keys is considered irrelevant there's no proper (default) way available to keep the ordering.
Hey you guys should checkout this helm issue and this medium article discussed in the helm issue
Holy... that is one gnarly way to solve the issue. My mind is blown.
Yep... that is a huge find, thank you! I will add this to the next version for sure
Details
What steps did you take and what happened:
use the app-template with the env vars:
This will lead to a e.g. deployment with:
Env var sorting breaks dependent environment variables of kubernetes.
What did you expect to happen:
Don't change the order of env vars.
Anything else you would like to add:
Additional Information: