Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow adding more initContainers and their securityContext #1577

Open
jadolg opened this issue Jun 19, 2024 · 0 comments
Open

Allow adding more initContainers and their securityContext #1577

jadolg opened this issue Jun 19, 2024 · 0 comments

Comments

@jadolg
Copy link

jadolg commented Jun 19, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant