mongodb / helm-charts

Apache License 2.0
99 stars 92 forks source link

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

Closed danielcoman closed 4 months ago

danielcoman commented 5 months 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 5 months 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.