Isn’t this something that Tini solves? Really easy to add to compose services with “init: true”
Not sure how this will fare IRL in k8s as I haven’t much experience there. It’s still silly that this is the default behavior where you need something like Tini, but I digress.