-
Notifications
You must be signed in to change notification settings - Fork 382
Add a namespaced version of ServiceBroker, ServiceClass, and ServicePlan #1200
Comments
From #1233: Right now brokers, classes and plans are global, meaning they are cluster-wide and are not scoped to a particular namespace. There are going to be times when people will want things localized to a namespace. We need to consider how we'll support these. Some notes:
marking this a v0.1.0 since I think we need to discuss and make sure we don't need changes before beta. Of the ones listed above I think the "Global Instances" one might need to be addressed before beta because if we prepend the word "Local" to Broker/Class/Plan to indicate they're NS-specific, then perhaps our current ServiceInstance should be LocalServiceInstance too? -- If we do support global instances I wonder how we'll create bindings/creds. I believe that secrets are bound to namespaces, so that might mean that to get the creds for a global instance we'd need to bind it to a namespace. While that may be necessary from an ACL perspective in Kube, it seems to defeat the purpose of a "global" instance. Although, having a "global" resource could mean that you're doing admin (cluster-wide) type of stuff anyway, so perhaps there won't be the notion of bindings/creds at all for these types of services. The ACL side of it will be done via the OriginatingIdentity header on the provision request. Just wondering.... |
We discussed the naming of resources re: this problem in the SIG Arch meeting on Sept 28, 2017. The consensus was that the cluster-scoped resources should be called Cluster*. Created #1288 for this |
Closing since #1288 should cover it |
yea I guess so |
For the record, for anyone watching - we do not intend for this to block the beta, we are only interested in ensuring that we have a good forward-compatible design. |
Having this feature would be very useful for us. We need it for namespaced integration testing of various usage scenarios. Both for OSB providers and for Instance/Binding consumers. |
I've started a proposal on this, hope to have it for review Jan 29th 2018. |
This PR adds the new ServicePlan type and updates the API surface and pkg/registry accordingly. Part of the add namespaced resources issue kubernetes-retired#1200.
This PR introduces the new ServicePlan type, along with supporting changes to expose in the API. Part of kubernetes-retired#1200
This PR introduces the new ServicePlan type, along with supporting changes to expose in the API. Part of kubernetes-retired#1200
* Adding ServicePlan (namespaced plans) API This PR introduces the new ServicePlan type, along with supporting changes to expose in the API. Part of #1200 * Adding ServicePlan (namespaced plans) API This PR introduces the new ServicePlan type, along with supporting changes to expose in the API. Part of #1200 * Updated to make codegen happen * Fixed merge issue
@eriknelson has #dibs on impl with lots of PRs merged and in-progress |
/close |
I have had a number of interested parties asking for namespaced versions of
ServiceBroker
,ServiceClass
andServicePlan
. I think this is perfectly valid and would be similar to what CF does (global and org-scoped brokers). We should consider this for the second beta release, but it is NOT a 0.1.0 item.The text was updated successfully, but these errors were encountered: