percona-server-mongodb-operator icon indicating copy to clipboard operation
percona-server-mongodb-operator copied to clipboard

Allow adding more initContainers and their securityContext

Open jadolg opened this issue 8 months ago • 0 comments

Proposal

Currently, only the mongo-init initContainer is run. In order to tune mongodb a bit further I think It'd be good to have a way to configure extra initContainers and their securityContext.

Use-Case

I would like to be able to modify the tcp_keepalive of my service. In order to do so, I need to spawn a privileged initContainer changing this configuration. See https://www.mongodb.com/docs/kubernetes-operator/v1.25/tutorial/modify-resource-image/#tune-mongodb-kubernetes-resource-docker-images-with-an-initcontainer

Is this a feature you are interested in implementing yourself?

Maybe

Anything else?

No response

jadolg avatar Jun 19 '24 09:06 jadolg