Skip to content

Use standardized format for upstream names in HTTP/gRPC callouts #61

Open

Description

@PiotrSikora

Right now, the upstream name used inside plugin must match configured upstream name in the host, but we don't provide any recommendations around its format, which makes this feature less portable than it could be.

As such, I suggest that we standardize on URI's scheme://authority (e.g. https://www.google.com or udp://1.2.3.4:53) as the upstream name... although that doesn't allow configuration of TLS client certificates, etc.

Note: There is an undocumented behavior in Envoy that allows passing xDS proto with cluster configuration in place of the upstream name, which breaks the security properties of the sandbox, but that's not something supported per existing specification and it shouldn't be used.

cc @kyessenov

Activity

  1. added this to the v0.3.0 milestone on Jul 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions