mongodb / helm-charts

Apache License 2.0
82 stars 85 forks source link

atlas-operator chart install requires cluster admin role when using watchNamespaces #330

Open danielcoman opened 4 days ago

danielcoman commented 4 days ago

Our use case requires installing the operator in a common namespace without cluster-admin permissions. Each watched namespace has its Role and RoleBinding created separately by that namespace admin. The current chart requires permission in the operator namespace and all the watch namespaces.

We'd like the ability to specify if the Role and RoleBinding for the watchNamespaces would be created.

helderjs commented 3 days ago

Hi @danielcoman,

Thank you for your contribution. I have incorporated your PR in our operator to test and validate existing behavior was not affected. See https://github.com/mongodb/mongodb-atlas-kubernetes/pull/1668

Being everything good we will merge your changes.