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.
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.