-
Notifications
You must be signed in to change notification settings - Fork 34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adding annotation to help discovery #9
Conversation
CC @sbose78 |
Thanks, reading. |
I was thinking we need to have this information at a higher level, example, at the bundle level? Of course, if a bundle doesn't exist for a CRD, then it could be at the CRD level. |
interesting @sbose78 - do you have some examples of the bundles and how we could annotate them? |
Haven't got around thinking this through yet, thinking out aloud:
And, then we encourage every "developer service" irrespective of where they come from to have binding metadata in it in the form of CSV descriptions and/or CRD annotations. Usage
|
my concern with placing this in a higher level is that these services may have not been provisioned yet. In other words, you need a Unless we're saying that we want to list all possible (present and future) bindable services, and |
Yeah, that's what odo does today with service classes. We should support this at CSV, CRD and the CR level as well - however, the initial step in a lot of tools would be "Show me the subset of developer services available for provisioning" . |
cool, that's what I was missing. I do wonder though, how that will be actually done in terms of implementation. From what I can tell service catalog was based on open broker, so it has a prescribed way for provisioning. Our service binding spec consciously stayed away from defining how to provision services, so do we have a gap in terms of what For example, we have nothing in the spec equivalent to:
|
Correct, it was based on open broker. No, we are good, we don't have a gap, we should happily stay away from provisioning :) Here's how the flow should look like:
Our effort in this PR is to guide users in discovering the right services which after provisioning, developers would want their apps to bind to. |
sounds good - thanks for the clarifications @sbose78. I will happily let the tools figure out provisioning. :D So to summarize the changes we can do in this PR for the different ways to become discoverable:
looks good? |
Let me get to this, again. |
@sbose78 - I have simplified the PR based on the suggestions above. ready for review. |
Looks good! Could you mark this as 'experimental' please? I'm in the process of defining it out side of the context of binding too and things might change and I will ensure this stays in sync. If there are things being tracked for RC2, let's have this tracked please. |
This PR adds an annotation into bindable resources, allowing tools to quickly discover them and making it easy to create ServiceBinding CRs.