Install MongoDB Operator with cluster-wide permissions?

I would like to be able to install the MongoDB Operator as a cluster-wide service so that I can create any number of MongoDB clusters in different namespaces. I’ve tried converting the RBAC and CRDs to use Cluster level roles, bindings and types but the operator does not appear to create any cluster outside of the namespace it was deployed in. Is it possible to use the operator from other namespaces?

2 Likes

Hello @acceleratxr ,

thank you for your request.

For now our MongoDB Operator does not support cluster-wide mode. We have it in our roadmap here: [K8SPSMDB-203] Add support for cluster-wide operators - Percona JIRA

What do you see as the main problem to run an operator per namespace?

1 Like