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
20 stars 22 forks source link

static label for all generated resources #164

Closed jeffvance closed 5 years ago

jeffvance commented 5 years ago

Always add a static label of the form bucket-provisioner:<provisioner-name> to the OB, OBC, Secret and Configmap. kubectl get obc,secret,cm --all-namespaces -l bucket-provisioner will show all bucket related resources for all provisioners.

Note: since label values are limited to alphanumeric + "-", "_", "." and provisioner names (label value) can contain "/", the slash is replaced by a "-".

Signed-off-by: jeffvance jeff.h.vance@gmail.com

@guymguym @copejon