Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion source/extensions/filters/http/peer_metadata/filter.h
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ using ::Envoy::Extensions::Filters::Common::Expr::CelStateType;
struct HeaderValues {
const Http::LowerCaseString ExchangeMetadataHeader{"x-envoy-peer-metadata"};
const Http::LowerCaseString ExchangeMetadataHeaderId{"x-envoy-peer-metadata-id"};
const Http::LowerCaseString ExchangeMetadataOriginNetwork{"x-istio-origin-network"};
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should we keep istio here?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Talking with @ilrudie, I don't think it's actually necessary since we're only using this in the hbone tunnel (vs. things like envoy-peer-metadata that are inserted into the user's http request). We're also using the x- prefix so there's no spec we're violating

const Http::LowerCaseString ExchangeMetadataOriginNetwork{"x-forwarded-network"};
};

using Headers = ConstSingleton<HeaderValues>;
Expand Down