-
Notifications
You must be signed in to change notification settings - Fork 5.8k
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(hydrator): don't get cluster or API versions for hydrator #21985
fix(hydrator): don't get cluster or API versions for hydrator #21985
Conversation
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
❌ Preview Environment deleted from BunnyshellAvailable commands (reply to this comment):
|
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #21985 +/- ##
==========================================
+ Coverage 55.73% 56.68% +0.95%
==========================================
Files 342 342
Lines 57080 57823 +743
==========================================
+ Hits 31811 32775 +964
+ Misses 22633 22421 -212
+ Partials 2636 2627 -9 ☔ View full report in Codecov by Sentry. |
700b6ca
to
4aba937
Compare
I added a test, but the test was more tech debt than it was worth (a bunch of mocks, etc.). The GetRepoObjs function needs to be refactored. For now, I've tested the fix in an Intuit instance and confirmed with @agaudreault. |
/cherry-pick release-2.14 |
Cherry-pick failed with |
…oj#21985) Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
Cherry-picking to 2.14 here: #22038 |
#22038) Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
…oj#21985) Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com> Signed-off-by: Harshit-Bajpai <Harshit.Bajpai@skyscanner.net>
…oj#21985) Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
…oj#21985) Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com> Signed-off-by: kingbj0429 <kingbj0429@lunit.io>
The hydrator doesn't use the k8s server or API versions, so we shouldn't try to get them.
This fixes a bug where hydration on one shard might not have access to a cluster for an app that's destined for a cluster being handled by another shard.
Fixes #21986