kube-object-storage / lib-bucket-provisioner

Library for the dynamic provisioning of object store buckets to be used by object store providers.
Apache License 2.0
21 stars 22 forks source link

Allow for namespace scoped provisioner #160

Closed copejon closed 5 years ago

copejon commented 5 years ago

Honor the NewProvisioner() parameter list by making use of the namespace parameter if provided.

If no namespace is given, the informers are generated as cluster scoped, as they have been. If a namespace is provided, the informers are scoped to that namespace. The result of course is that the controller will only monitor OBCs in the given namespace.

This change is backward compatible.

Signed-off-by: Jon Cope jcope@redhat.com

jeffvance commented 5 years ago

lgtm