-
Notifications
You must be signed in to change notification settings - Fork 897
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
Unable to serve multiple Composite apiVersions at the same time #3928
Comments
Is this helpful and/or relevant @AaronME? #2608 (comment) |
@jbw976 I don't believe so. That ticket appears to be discussing the ability to force In our case, we explicitly want to support both versions while we test the new version. And we want to allow users to dictate when they "opt-in" to the new version. |
Here's how it should work. Apologies if you already know all this - CRD versioning is unintuitive and none of it was obvious to me at first so I like to make sure folks are on the same page.
This isn't supported - I'm guessing this is where things are falling apart. Unfortunately I think it might not be possible to support this, because our XR controllers can't pick and choose which version of the XR they operate on.
They should also exist at |
@AaronME could you elaborate a little on why you're introducing a new version? On the surface this doesn't seem like it would need a new XR version, and would instead only need new Compositions. I would only be introducing a new XR version if I needed to make a breaking schema change to my XR (e.g. add a new required field). |
We are, in fact, making some breaking changes as we move ahead. New features and "lessons learned" are being included in the shift to official-providers. We believed that gating them behind a version would allow us to freely update the schema during testing without surprising users familiar with the old version. To clarify:
This means that anyone who wants the new version must change both the Version and the CompositionRef, since the default composition for Do I have this right? |
I believe #2762 (comment) is the ultimate answer to my issue. Thanks, @negz! |
What happened?
I'm currently running several databases on version
v1
of a composite. I would like to makev2alpha1
available without disablingv1
. (The specific case is to support migrating compositions to theofficial-providers
from Upbound).My case includes being able to test both versions in my CI pipeline, where both will need to be deployed to a control plane to test behavior.
Considering that only one version may be referenceable, and that compositions must match a referenceable version, it is unclear how to support multiple versions on the same control plane.
How can we reproduce it?
v2alpha1
:What environment did it happen in?
Crossplane version:
The text was updated successfully, but these errors were encountered: