-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Fix issues with --disable-agent
and --egress-selector-mode=pod|cluster
#7331
Conversation
Codecov ReportPatch coverage has no change and project coverage change:
📣 This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more Additional details and impacted files@@ Coverage Diff @@
## master #7331 +/- ##
==========================================
+ Coverage 9.82% 19.34% +9.52%
==========================================
Files 147 81 -66
Lines 10845 5449 -5396
==========================================
- Hits 1065 1054 -11
+ Misses 9558 4173 -5385
Partials 222 222
Flags with carried forward coverage won't be shown. Click here to find out more.
... and 66 files with indirect coverage changes Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report in Codecov by Sentry. |
76af32c
to
80d68b4
Compare
--disable-agent
and --egress-selector-mode=pod|cluster
Don't set up the agent tunnel authorizer on agentless servers, and warn when agentless servers won't have a way to reach in-cluster endpoints. Signed-off-by: Brad Davidson <[email protected]>
80d68b4
to
e23431b
Compare
Signed-off-by: Brad Davidson <[email protected]>
Several places in the code used a 5-second retry loop to wait on Runtime.Core to be set. This caused a race condition where OnChange handlers could be added after the Wrangler shared informers were already started. When this happened, the handlers were never called because the shared informers they relied upon were not started. Fix that by requiring anything that waits on Runtime.Core to run from a cluster controller startup hook that is guaranteed to be called before the shared informers are started, instead of just firing it off in a goroutine that retries until it is set. Signed-off-by: Brad Davidson <[email protected]>
Signed-off-by: Brad Davidson <[email protected]>
e23431b
to
57b517f
Compare
Proposed Changes
Improve egress selector handling on agentless servers
Types of Changes
bugfix
Verification
See linked issues
Testing
Yes, added one
Linked Issues
--disable-agent
still attempt to run agent tunnel authorizer #7329--egress-selector-mode=cluster|pod
are broken #7332User-Facing Change
Further Comments