I want to inject an init container into some pods. I know how to specify init containers in a pod's spec, but I don't want to do that directly because these sidecars are invisible to my engineers.

I don't want to go through the complexity of developing my own mutating web hook or operator, so does anyone know of a good package/service that can help?

2 Answers 2


Tumblr and Salesforce have open sourced their generic injectors:

Both of these should fit your simple use case but offer a lot more.


Answering my own question here. Eventually, I went with OpenKruise, which is a pretty simple but cool open-source framework for, amongst other things, creating a centralised way of managing sidecars and init-containers in a cluster, without needing to concern application developers.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.