upstream: allow custom extension protocol options (#4098)

Allows extension protocols to specify custom options.

*Risk Level*: low, ignored by existing protocols
*Testing*: unit tests
*Docs Changes*: inline
*Release Notes*: n/a

Signed-off-by: Stephan Zuercher <stephan@turbinelabs.io>

Mirrored from https://github.com/envoyproxy/envoy @ 3e15c94901f7ce5ebca671e451efceec8053da86
pull/620/head
data-plane-api(CircleCI) 6 years ago
parent 2589094979
commit 034c84cb7d
  1. 8
      envoy/api/v2/cds.proto

@ -46,7 +46,7 @@ service ClusterDiscoveryService {
// [#protodoc-title: Clusters]
// Configuration for a single upstream cluster.
// [#comment:next free field: 35]
// [#comment:next free field: 36]
message Cluster {
// Supplies the name of the cluster which must be unique across all clusters.
// The cluster name is used when emitting
@ -226,6 +226,12 @@ message Cluster {
// connections to happen over plain text.
core.Http2ProtocolOptions http2_protocol_options = 14;
// The extension_protocol_options field is used to provide extension-specific protocol options
// for upstream connections. The key should match the extension filter name, such as
// "envoy.filters.network.thrift_proxy". See the extension's documentation for details on
// specific options.
map<string, google.protobuf.Struct> extension_protocol_options = 35;
reserved 15;
// If the DNS refresh rate is specified and the cluster type is either

Loading…
Cancel
Save