forked from istio/istio
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
autoregistration: allow bootstrap node to override locality
During testing of VM autoregistration, we discovered that it is not possible to override the WorkloadGroup template's locality from the bootstrap node locality. The core issue is that istiod initializes the proxy struct from the bootstrap node before passing it to the autoregistration controller; however, the node's locality is not set on the proxy at that time. This is fixed by passing the bootstrap node along to autoregistration code in addition to the proxy. Change-Id: Id9b1d2f0cc5d2cf9416670c26b0a490d302ea039 Reviewed-on: https://gerrit.musta.ch/c/public/istio/+/1391 Reviewed-by: Weibo He <weibo.he@airbnb.com> Reviewed-by: Jungho Ahn <jungho.ahn@airbnb.com>
- Loading branch information
Showing
3 changed files
with
50 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters