▲ | do_not_redeem 14 hours ago | ||||||||||||||||||||||
Not entirely a fair comparison, but here. Can you honestly tell me you'd take the yaml over the shell script? (If you've never had to use Helm, I envy you. And if you have, I genuinely look forward to you showing me an easier way to do this, since it would make my life easier.) ------------------------------------- Shell script:
Multiple ports:
Easy and concise.------------------------------------- Kubernetes (disclaimer: untested, obviously)
Multiple ports:
| |||||||||||||||||||||||
▲ | PittleyDunkin 3 hours ago | parent | next [-] | ||||||||||||||||||||||
I don't know why on earth you'd use mustache with yaml, but the unmustached yaml is much more readable. The reviewer doesn't even need to know iptables. (Which is good; i've only ever worked with nftables (which has the same issue of leaning in to serializing tables as commands) and pf.) Concision is not working in your favor here. | |||||||||||||||||||||||
▲ | threeseed 11 hours ago | parent | prev [-] | ||||||||||||||||||||||
I would take the YAML any day. Because if one of those iptables fails above you're in an inconsistent state. Also if I want to swap from iptables to something like Istio then it's basically the same YAML. | |||||||||||||||||||||||
|