-
Notifications
You must be signed in to change notification settings - Fork 423
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
0ce8c8a to
1e17495
Compare
be46ed4 to
d10aecd
Compare
|
moving to draft. some strange errors pop up. Investigating. |
|
/test all |
b7a09dc to
bcfb633
Compare
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
|
4cadc05 to
1736b49
Compare
Signed-off-by: Mangirdas Judeikis <[email protected]> On-behalf-of: @SAP [email protected]
|
/retest |
|
/lgtm We know the limitations, but it's better than the alternatives. And the limitations don't seem to be very serious. |
|
LGTM label has been added. Git tree hash: 2ddcde036236088f0320e92a0d243108434f2132
|
|
For my own understanding: For just resolving the cluster ID to the workspace path, one could (like the syncagent does) simply also claim logicalclusters, right? /approve |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: xrstf The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Yeah you said that already in the ticket. Nevermind. ^^ |
|
/retest |
1 similar comment
|
/retest |
|
@mjudeikis: The following test failed, say
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here. |
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