-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Add e2e test for proxy baggage-based metadata discovery + fixes #6798
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
Merged
istio-testing
merged 17 commits into
istio:master
from
krinkinmu:experimental-ambient-multicluster-telemetry3
Jan 29, 2026
+323
−18
Merged
Changes from all commits
Commits
Show all changes
17 commits
Select commit
Hold shift + click to select a range
c3f2fed
Include myself, Steven and Gustavo as owners of the experimental-ambi…
krinkinmu 134b886
Add Baggage metadata propagation (#6776)
keithmattix f30751d
Introduce new filters discovering peer metadata from baggage header (…
krinkinmu b3d7820
Baggage discovery (#6779)
grnmeira 1ef97e3
Add locality to proxy metadata (#6780)
keithmattix bb3bb1c
Drop app labels from baggage and propagate principal (#6791)
krinkinmu 2c1835e
Fix some test compilation errors
keithmattix 40cbdc0
Merge remote-tracking branch 'upstream/master' into experimental-ambi…
krinkinmu 06f723f
Merge upstream/master and resolve merge conflicts
krinkinmu 421be48
Missed one
krinkinmu cbcb7ff
Fixed a wrong one
krinkinmu 98c83df
Merge master branch and resolve merge conflicts properly (#6795)
krinkinmu 5c4e694
Merge branch 'master' into experimental-ambient-multicluster-telemetry
keithmattix 56e2936
Add e2e test for proxy baggage-based metadata discovery + fixes
krinkinmu c4d128b
Merge remote-tracking branch 'upstream/experimental-ambient-multiclus…
krinkinmu 4eb10d1
Fix formatting
krinkinmu 7bb96a9
Merge remote-tracking branch 'upstream/master' into experimental-ambi…
krinkinmu File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,12 @@ | ||
| - name: waypoint_peer_metadata | ||
| typed_config: | ||
| "@type": type.googleapis.com/udpa.type.v1.TypedStruct | ||
| type_url: type.googleapis.com/io.istio.http.peer_metadata.Config | ||
| value: | ||
| downstream_discovery: | ||
| - baggage: {} | ||
| downstream_propagation: | ||
| - baggage: {} | ||
| upstream_discovery: | ||
| - upstream_filter_state: | ||
| peer_metadata_key: upstream_peer |
This file contains hidden or 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,12 @@ | ||
| - name: envoy.filters.http.header_mutation | ||
| typed_config: | ||
| "@type": type.googleapis.com/udpa.type.v1.TypedStruct | ||
| type_url: type.googleapis.com/envoy.extensions.filters.http.header_mutation.v3.HeaderMutation | ||
| value: | ||
| mutations: | ||
| response_mutations: | ||
| - append: | ||
| header: | ||
| key: "request-baggage" | ||
| value: "%FILTER_STATE(io.istio.baggage:PLAIN)%" | ||
| append_action: OVERWRITE_IF_EXISTS_OR_ADD |
This file contains hidden or 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| - name: upstream_peer_metadata | ||
| typed_config: | ||
| "@type": type.googleapis.com/udpa.type.v1.TypedStruct | ||
| type_url: type.googleapis.com/envoy.extensions.network_filters.peer_metadata.UpstreamConfig | ||
| value: {} |
This file contains hidden or 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,29 @@ | ||
| name: internal_outbound | ||
| use_original_dst: false | ||
| internal_listener: {} | ||
| listener_filters: | ||
| - name: set_dst_address | ||
| typed_config: | ||
| "@type": type.googleapis.com/udpa.type.v1.TypedStruct | ||
| type_url: type.googleapis.com/envoy.extensions.filters.listener.original_dst.v3.OriginalDst | ||
| filter_chains: | ||
| - filters: | ||
| - name: envoy.filters.network.peer_metadata | ||
| typed_config: | ||
| "@type": type.googleapis.com/udpa.type.v1.TypedStruct | ||
| type_url: type.googleapis.com/envoy.extensions.network_filters.peer_metadata.Config | ||
| value: | ||
| baggage_key: "io.istio.baggage" | ||
| - name: connect_originate | ||
| typed_config: | ||
| "@type": type.googleapis.com/envoy.extensions.filters.network.tcp_proxy.v3.TcpProxy | ||
| stat_prefix: connect_originate | ||
| cluster: original_dst | ||
| tunneling_config: | ||
| hostname: "%DOWNSTREAM_LOCAL_ADDRESS%" | ||
| propagate_response_headers: true | ||
| headers_to_add: | ||
| - header: | ||
| key: "baggage" | ||
| value: "%FILTER_STATE(io.istio.baggage:PLAIN)%" | ||
| append_action: OVERWRITE_IF_EXISTS_OR_ADD |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
nit: We should note that because we don't use HBONE to the client, there's no source principal (which is expected)