redhat-cop / namespace-configuration-operator

The namespace-configuration-operator helps keeping configurations related to Users, Groups and Namespaces aligned with one of more policies specified as a CRs
Apache License 2.0
204 stars 55 forks source link

Dynamic watch #12

Closed raffaelespazzoli closed 5 years ago

raffaelespazzoli commented 5 years ago

this PR adds a watcher on the created objects so that they cannot be modified. the implementation seems stable, although more tests are always welcome. my only concern is that this approach opens a connection per managed object. I couldn't find a way to create multiplexed connection as a normal operator would do. Suggestions for improvement are welcome.