plugin-barman-cloud icon indicating copy to clipboard operation
plugin-barman-cloud copied to clipboard

Adding command line option to watch a single namespace

Open augustoribeiro opened this issue 10 months ago • 0 comments

Currently barman-cloud-plugin wants to watch resources cluster-wide. I would like it to allow for more restrictive rbac, like allowing it to only watch the target namespace where Clusters are actually provisioned.

This PR adds the --watch-namespace command line option which restricts the reconciler to a single namespace.

Tested this change in a development cluster. I am happy to write some integration test if somebody points me on how I should do that.

This is my first time contributing, if this submission is missing something feel free to comment

augustoribeiro avatar Jan 21 '26 10:01 augustoribeiro