This repository has been archived by the owner on Feb 9, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 93
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add flag to control source/origin lookups when destination.service is…
… istio ingress (#1349) Automatic merge from submit-queue Add flag to control source/origin lookups when destination.service is istio ingress As noted in istio/istio#879, the source information that the Mixer receives (`source.ip` values) are problematic for attempting to lookup (in-cluster). This PR addresses provides a workaround for compounding that issue within Mixer by preventing lookup of source/origin information in the kubernetes adapter when `destination.service == ingress.istio-system.svc.cluster.local`. This behavior is configurable, through options in the config params passed into the adapter builder. This PR also cleans up a related bit of the kubernetes adapter behavior related to handling and generation of IP_ADDRESS values. As noted in istio/old_mixerclient_repo#112 (and also in istio/proxy#483), handling of IP_ADDRESS values is completely inconsistent throughout Istio. The changes here remove any inconsistencies on the part of the kubernetes adapter. It also fixes the incorrect IP-related config in `testdata/configroot`. **Release note**: ```release-note-none NONE ```
- Loading branch information
1 parent
c2c6b0a
commit 20fbea5
Showing
6 changed files
with
143 additions
and
66 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
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
Oops, something went wrong.