Skip to content

Conversation

@augustoribeiro
Copy link

@augustoribeiro augustoribeiro commented Jan 21, 2026

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 augustoribeiro requested a review from a team as a code owner January 21, 2026 10:03
@dosubot dosubot bot added size:S This PR changes 10-29 lines, ignoring generated files. enhancement New feature or request labels Jan 21, 2026
…if set

Signed-off-by: augusto.ribeiro <augusto.ribeiro@cloudkitchens.com>
Signed-off-by: augustoribeiro <augusto.mcc@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request size:S This PR changes 10-29 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant