Skip to content
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

Migration strategy for URNs whose group name changes #298

Closed
hausdorff opened this issue Nov 26, 2018 · 3 comments
Closed

Migration strategy for URNs whose group name changes #298

hausdorff opened this issue Nov 26, 2018 · 3 comments
Assignees
Labels
kind/engineering Work that is not visible to an external user resolution/fixed This issue was fixed

Comments

@hausdorff
Copy link
Contributor

The Kubernetes OpenAPI spec regularly changes the names of groups, e.g., apiregistration -> apiregistration.k8s.io. This is unfortunate because it causes us to change our URNs.

We should develop an aliasing strategy so that we can keep URNs up-to-date without breaking everyone using them.

A couple options off the top of my head:

  • Maintain a table of mappings from group name -> "URN group name", and keep emitting the latter. I really do not like making the URNs having a different form from the k8s API, though.
  • Find a way to do aliasing in the engine itself, maybe? So the engine would understand both apiregistration and apiregistration.k8s.io, but we could mark the former as deprecated, or something.

cc @lukehoban @lblackstone

@hausdorff hausdorff added this to the 0.20 milestone Nov 26, 2018
@hausdorff hausdorff self-assigned this Nov 26, 2018
@hausdorff hausdorff modified the milestones: 0.20, 0.22 Dec 18, 2018
@lukehoban lukehoban removed this from the 0.22 milestone Apr 12, 2019
@pgavlin
Copy link
Member

pgavlin commented Jul 12, 2019

Is this solved with aliases?

@hausdorff
Copy link
Contributor Author

This very likely can be solved with aliases. We still have to hook this up in the SDK. But, this happens sufficiently rarely (and will continue to be more rare as time goes on) that it's probably not worth doing in Q3.

@lukehoban lukehoban assigned lblackstone and unassigned hausdorff Nov 27, 2019
@lukehoban
Copy link
Member

@lblackstone Is there anything remaining to do here?

@infin8x infin8x added kind/engineering Work that is not visible to an external user p2 and removed kind/debt labels Jul 10, 2021
@lblackstone lblackstone added the resolution/fixed This issue was fixed label Jul 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/engineering Work that is not visible to an external user resolution/fixed This issue was fixed
Projects
None yet
Development

No branches or pull requests

5 participants