-
Notifications
You must be signed in to change notification settings - Fork 35
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
CRD API groups should be a domain name #113
Comments
Good point @scothis , I now remember I did get this feedback at Red Hat when we were planning to move to |
@arthurdm @scothis I feel this implies that the ServiceBinding CRD portability isn't truly possible unless the API gets adopted by a SIG, given that we shouldn't be shipping an implementation with the API group We've, at least for now, pivoted to a consistent
You know what I'm getting at.. ;) |
hey @sbose78 - if the spec proposed a duck type for In other words, a CR would be deemed spec compliant if it supported the exact syntax (not equivalent syntax) proposed by the spec's For example, scope the spec's duck type to be something like [1]. The @scothis - this idea would mean the spec is then free from the requirement of not having a domain apiVerison. [1]
|
There are a lot of valid domain names. |
In essence, this suggestion would gut any notion of portability. Duck types are interfaces. You can read and update a resource based on an interface, but you cannot create an instance directly from an interface. A concrete resource inherently requires more information than an interface provides. |
I think that's only true if you want to go beyond what the duck type interface provides. As a user, I just need to know what Example 1
Example 2 (ported by just changing the
|
I have created a separate issue to track SIG proposal #116 |
@arthurdm If I'm shipping a component that needs to create a |
I was thinking that a query for |
I see what you mean, Scott 👍 |
An intelligent client/controller could do that, but it's a high burden to place on users. Applying static yaml wouldn't work. |
ya - I definitely agree that having a static yaml that we can just apply to any spec compliant framework offers the easiest user experience. I think though, having the ability to duck type the In a lot of CI/CD pipelines there's already token substitutions (for things like image name, env vars, etc), so I think it's very reasonable to also have a token for |
overall though, I do agree with @scothis' points about the added burden this puts on the |
I think we can use a domain managed by 2 or 3 individuals for now. If this spec becomes part of Kubernetes through some SIG, probably we can release the I have registered My original idea for the domain was to use it as a website for the spec. I think we can use the same domain for the website and API group domain. |
thanks so much @baijum! this will be a good thing to discuss in the next hangout. I also own the https://github.com/servicebinding GH org, so that could be a potential new home for the code. One of the biggest questions is who will pay for the costs of the domain? I am interested in hearing if others know the way this has worked for other communities. In terms of admins to manage, the current admins for this spec repo are @nebhale and myself, so that's maybe a good starting set where we can add a Red Hat representative to it. |
Don't we need service.binding ? |
While this came up in our VMware review and is definitely something that needs to be addressed, I’m loath to make this change now, with another potential Kubernetes-domain change later (we’re already on our second one and a fourth makes me queasy). Instead, I’d like to consider this a “pre-1.0” requirement, but explore the Kubernetes-SIG angle a bit more before we make any change. If we get to the end and don’t find a SIG home, one of our domains makes sense, but let’s not jump there immediately. |
API pre-review checklist: https://github.com/kubernetes/community/blob/master/sig-architecture/api-review-process.md#mechanics |
I would propose to use the API group name as
Later we can ask for a separate API group for the proposed mappings (#145), Let me know your thoughts! |
|
The Kubernetes API Review Process has a bullet point like this:
@jhvhs Does that mean it will always be the (The discussion in the PR kubernetes/community#3875 looks like that to me) |
Since it's under the "Voluntary" heading, I take these points to mean that |
I think it's free for all "SIG sponsored" projects. |
Based on the last community call discussion, Red Hat's open-source program office has registered the I would suggest using a subdomain ( |
|
+1
I would prefer to increment the version to |
#185 bumps the current version to |
SIG Architecture API Conventions:
service.binding
is not a domain, and it's certainly not a domain that we control.Changing the API Version is a major breaking change that while not impossible, is difficult to manage gracefully. We should address this concern before 1.0.
Buying a domain opens up questions around who actually own the domain, and implicitly the project. Getting adopted by a K8s SIG would alleviate the need to buy a domain, as we could roll up under
*.k8s.io
.The text was updated successfully, but these errors were encountered: