-
Notifications
You must be signed in to change notification settings - Fork 424
Add path annotation to apibindings #3691
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
base: main
Are you sure you want to change the base?
Add path annotation to apibindings #3691
Conversation
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
0ce8c8a to
1e17495
Compare
be46ed4 to
d10aecd
Compare
|
moving to draft. some strange errors pop up. Investigating. |
|
/test all |
b7a09dc to
bcfb633
Compare
Signed-off-by: Mangirdas Judeikis <[email protected]> On-behalf-of: @SAP [email protected]
bcfb633 to
4cadc05
Compare
|
/retest |
|
Another approach would be to:
Maybe this divides the responsibilities a bit better? But it may be that I'm missing some knowledge about why it is done like that in the first place :P |
|
Also, existing APIBindings are not updated right? Is that a problem? |
So my code is attempting to do option 2: And it still gets updated/added once a logical cluster is added and the next resync/ status update. |
|
I agree 👍 /lgtm |
|
LGTM label has been added. Git tree hash: ce0a2111a22aca51e986c418f7d76cd7090bf820
|
Summary
This adds path annotation to apibindings. APIbindings are accessible via VirtualWorkspaces. This means providers will be able to resolve the canonical path and cluster more easily.
Caveat: there is a race condition with logicalcluster. But it resolves quite quickly due to the binding handshake, which is followed by the update. Not ideal, but the alternatives (the ones I could think of) were even more hacky.
What Type of PR Is This?
/kind feature
Related Issue(s)
Fixes #3673
Release Notes