Re:Why the fuck are we templating YAML? (2019)
by elicox on Tuesday January 23, 2024 @06:21AM
(#39101965)
For me, environmental variables are super simple and remove all the complexity of these configuration files.
[ Parent
| on HN ]
Re:Why the fuck are we templating YAML? (2019)
by throwaway143829 on Tuesday January 23, 2024 @06:30AM
(#39102035)
The article is mostly talking about things like Helm charts for kubernetes, which aren't possible to define as env vars.
Re:Why the fuck are we templating YAML? (2019)
by simiones on Tuesday January 23, 2024 @06:36AM
(#39102090)
Except when you need anything more complex than a string or an array of strings, when they become entirely useless.
There is not a single even slightly complex piece of software that uses exclusively env vars for configuration. Even bash or vim have config files, this is not some new idea.
Re:Why the fuck are we templating YAML? (2019)
by planede on Tuesday January 23, 2024 @06:55AM
(#39102228)
Hang on there, array of strings? Environment variables can't handle that either without quirks.
Re:Why the fuck are we templating YAML? (2019)
by simiones on Tuesday January 23, 2024 @12:04PM
(#39106106)
Oops, you're right, even that is too advanced...
Re:Why the fuck are we templating YAML? (2019)
by j4yav on Tuesday January 23, 2024 @06:31AM
(#39102049)
How do you make sure all the right variants of all the environment variables are in the right place(s)?
Re:Why the fuck are we templating YAML? (2019)
by Kichererbsen on Tuesday January 23, 2024 @06:29AM
(#39102026)
you can't really check them into source code though, right?
Re:Why the fuck are we templating YAML? (2019)
by zer00eyz on Tuesday January 23, 2024 @07:02AM
(#39102286)
I swear this is how we got docker containers... some ruby dev who abused env vars and a SA who was sick of his shit breaking on every roll out and hearing "but it works for me"...
And now installable software is a fucking unicorn!
( This week I keep running into go apps that can be installed from source or as straight down load, with docker as well. Been a breath of fresh air)