Skip to content

MongoDB Operator

A Kubernetes Operator that creates users and databases in existing MongoDB clusters based on a custom resource.

Based on the resource name, a secret is created that contains the dynamically generated database name, username and password.

When the operator is installed in a cluster, a database can be requested with a MongoDB resource as shown on the usage page.

The MongoDB Operator is tested with MongoDB and DocumentDB.