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

P1 - API func to assess SC for bucketName #85

Closed copejon closed 5 years ago

copejon commented 5 years ago

We need to normalize brown vs greenfield detection. In docs (I think) we specify that a StorageClass should have a parameter containing a bucket name. If defined, the request is assumed to be brownfield. This isn't an honored part of the API contract though. Instead, provisioners have to duplicate the key name in code.

Fix this by adding an API call to check storage classes for brown vs green field cases.

copejon commented 5 years ago

60 fixes