Skip to content

Use CDS metadata to populate headers via the UPSTREAM_METADATA variable #2184

@zuercher

Description

@zuercher

In addition to EDS endpoint metadata, there is CDS cluster metadata. The UPSTREAM_METADATA variable (see #2179) should check both locations for metadata, preferring EDS metadata over CDS metadata when both have matching keys. See also discussion in envoyproxy/data-plane-api#335.

At a high level, this requires plumbing the CDS metadata through from the API (probably via Upstream::ClusterInfo and its implementation) and then modifying the formatter in router/header_formatter.cc.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementFeature requests. Not bugs or questions.help wantedNeeds help!

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions