-
Notifications
You must be signed in to change notification settings - Fork 87
updating the sidecar config with local clusters #437
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
updating the sidecar config with local clusters #437
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #437 +/- ##
==========================================
+ Coverage 75.78% 75.89% +0.10%
==========================================
Files 73 73
Lines 12510 12686 +176
==========================================
+ Hits 9481 9628 +147
- Misses 2512 2536 +24
- Partials 517 522 +5 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
| } | ||
| // We skip the self namespace as the sidecar in the identity's namespace | ||
| // already has ./* in its egress host | ||
| if namespace == identityNamespace { |
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.
What about for istio-system?
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.
- istio-system/* is already there in default sidecar
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.
I meant when istio-system has a client
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.
We are not exporting the incluster DRs and VSs for services in istio-system NS
|
|
||
| // For each client namespace, we will update the sidecar with the cluster local services | ||
| for _, clientNamespace := range clientNamepaces { | ||
| cachedSidecar := rc.SidecarController.SidecarCache.Get(common.GetWorkloadSidecarName(), clientNamespace) |
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.
Nil checks here
updating the sidecar config with local clusters