Skip to content
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

api: add metadata and attribute options for ext-proc #3247

Closed
wants to merge 6 commits into from

Conversation

guydc
Copy link
Contributor

@guydc guydc commented Apr 22, 2024

What this PR does / why we need it:
Many Envoy extension are inherently capable of interaction with context attributes and dynamic metadata:

Attributes provide HTTP extensions with additional context (e.g. TCP, TLS and XDS attributes) that can be relevant inputs for the extension logic. Additionally, extensions may rely on well-know dynamic metadata emitted by previous filters, such as verified JWT subject and issuer. Finally, extensions may emit dynamic metadata that will be consumed by other extensions, access logs, etc.

For out-of-process extensions like ext-proc, Envoy must be explicitly configured to allow access to attributes and metadata and define the scope of access.

This API will allow users to define:

  • Which attributes are sent to the external processor as context
  • Which Dynamic Metadata namespaces are sent to the external processor as context
  • Which Dynamic Metadata namespaces the external process can emit metadata to

Which issue(s) this PR fixes:
Relates to #3170

@guydc guydc requested a review from a team as a code owner April 22, 2024 19:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant