-
Notifications
You must be signed in to change notification settings - Fork 271
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
outbound: Preserve opaqueness on unknown endpoints (#1617)
The outbound stack only honors opaqueness when the profile response clearly indicates that the target is a known endpoint or logical service. This ignores the case when the target is unknown but the target port is in the default opaque ports list, in which case the profile response has no metadata except for the opaqueness setting. This change handles this case explicitly and adds a test for the `switch_logical` stack to ensure that these profile responses are honored. Fixes linkerd/linkerd2#8273 Signed-off-by: Oliver Gould <ver@buoyant.io>
- Loading branch information
Showing
3 changed files
with
64 additions
and
10 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