-
Notifications
You must be signed in to change notification settings - Fork 1
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
Add trigger in callbacks to request resource updates #3
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks good to me, but if we want to use this in our fork I don't think we need sotw changes - it would make it harder to merge upstream changes later.
Also, looks like upstream won't accept something like this, but we can try.
I can remove the sotw part. To upstream we can ask again Alec as in this case it doesn't break the public api, though it's far more of a workaround than a decent thing |
fd0f4b4
to
1651730
Compare
1651730
to
f68994a
Compare
f68994a
to
53e2c2c
Compare
Some context on the new commit: Sadly when a node does connect to a new control-plane, it first sends a CDS req then a CLA/eds one.
Now that we don't send the resources for no reason each time, our workaround is no longer working This commit is therefore changing a bit the definition of the watch (I believe for the better, though the naming is now kind of funky). The stream state for a given type can now be created without a watch, and the part "what the client should know" can be set prior to a watch being opened. |
Now opened on the datadog fork |
No description provided.