Skip to content

This repo implements Envoy proxy's ext-authz to demonstrate routing to upstream endpoints.

License

Notifications You must be signed in to change notification settings

srinandan/envoy-extensions

Repository files navigation

envoy-extensions

This repo demostrates two patterns to extend Envoy to add custom logic before sending the request to the actual upstream application.

Patterns

Pattern 1 - External Authorization (ext_authz filter)

This pattern leverages the ext_authz filter in Envoy to callout to an external service.

Routing Pattern1

The external service can:

  1. Implement custom rules for authorization

  2. Implement routing changes

  3. Access the payload (but not modify it) - upto a limit specified in the Envoy configuration

See more here

Pattern 2 - Envoy chaining (aka Envoy "sandwich")

This pattern leverages two logical Envoy proxies sandwiched between custom code/logic.

Routing Pattern2

The middle proxy can:

  1. Implment routing changes.

  2. Full access to the payload to transform/modify.

See more here


Support

This is not an officially supported Google product

About

This repo implements Envoy proxy's ext-authz to demonstrate routing to upstream endpoints.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published