logoalt Hacker News

9devyesterday at 10:46 AM1 replyview on HN

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?


Replies

stackskiptonyesterday at 2:40 PM

Kubectl will handle JSON without converting it to YAML. So if you are doing this, then just do kubectl apply -f deployment.json