Y
Hacker News
new
|
ask
|
show
|
jobs
by
IshKebab
340 days ago
If YAML is a foot-gun, templated YAML is a face-cannon.
1 comments
9dev
339 days ago
I never understood why people didn’t serialize from JSON if they run a transformation step on the YAML anyway. Read JSON, alter in your favorite language, dump YAML as the last step, deploy. Instant prevention of a lot of sadness.
Yet somehow, all we have is YAML templating?
link
stackskipton
339 days ago
Kubectl will handle JSON without converting it to YAML. So if you are doing this, then just do kubectl apply -f deployment.json
link
thayne
335 days ago
So why doesn't helm output to json instead of yaml, and avoid all the problems with significant whitespace?
link
Finster
330 days ago
crickets
link
Yet somehow, all we have is YAML templating?