Skip to content
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions api/envoy/api/v2/cds.proto
Original file line number Diff line number Diff line change
Expand Up @@ -611,7 +611,7 @@ message Cluster {
// 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;
map<string, google.protobuf.Struct> extension_protocol_options = 35 [deprecated = true];

// 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
Expand Down Expand Up @@ -808,7 +808,7 @@ message LoadBalancingPolicy {

// Optional config for the LB policy.
// No more than one of these two fields may be populated.
google.protobuf.Struct config = 2;
google.protobuf.Struct config = 2 [deprecated = true];

google.protobuf.Any typed_config = 3;
}
Expand Down
2 changes: 1 addition & 1 deletion api/envoy/api/v2/core/base.proto
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ message TransportSocket {
// Implementation specific configuration which depends on the implementation being instantiated.
// See the supported transport socket implementations for further documentation.
oneof config_type {
google.protobuf.Struct config = 2;
google.protobuf.Struct config = 2 [deprecated = true];

google.protobuf.Any typed_config = 3;
}
Expand Down
2 changes: 1 addition & 1 deletion api/envoy/api/v2/core/grpc_service.proto
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ message GrpcService {
string name = 1;

oneof config_type {
google.protobuf.Struct config = 2;
google.protobuf.Struct config = 2 [deprecated = true];

google.protobuf.Any typed_config = 3;
}
Expand Down
2 changes: 1 addition & 1 deletion api/envoy/api/v2/core/health_check.proto
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ message HealthCheck {
// A custom health checker specific configuration which depends on the custom health checker
// being instantiated. See :api:`envoy/config/health_checker` for reference.
oneof config_type {
google.protobuf.Struct config = 2;
google.protobuf.Struct config = 2 [deprecated = true];

google.protobuf.Any typed_config = 3;
}
Expand Down
4 changes: 2 additions & 2 deletions api/envoy/api/v2/listener/listener.proto
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ message Filter {
// Filter specific configuration which depends on the filter being
// instantiated. See the supported filters for further documentation.
oneof config_type {
google.protobuf.Struct config = 2;
google.protobuf.Struct config = 2 [deprecated = true];

google.protobuf.Any typed_config = 4;
}
Expand Down Expand Up @@ -201,7 +201,7 @@ message ListenerFilter {
// Filter specific configuration which depends on the filter being instantiated.
// See the supported filters for further documentation.
oneof config_type {
google.protobuf.Struct config = 2;
google.protobuf.Struct config = 2 [deprecated = true];

google.protobuf.Any typed_config = 3;
}
Expand Down
10 changes: 5 additions & 5 deletions api/envoy/api/v2/route/route.proto
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ message VirtualHost {
// *envoy.buffer* for the HTTP buffer filter. Use of this field is filter
// specific; see the :ref:`HTTP filter documentation <config_http_filters>`
// for if and how it is utilized.
map<string, google.protobuf.Struct> per_filter_config = 12;
map<string, google.protobuf.Struct> per_filter_config = 12 [deprecated = true];

// The per_filter_config field can be used to provide virtual host-specific
// configurations for filters. The key should match the filter name, such as
Expand Down Expand Up @@ -192,7 +192,7 @@ message Route {
// *envoy.buffer* for the HTTP buffer filter. Use of this field is filter
// specific; see the :ref:`HTTP filter documentation <config_http_filters>` for
// if and how it is utilized.
map<string, google.protobuf.Struct> per_filter_config = 8;
map<string, google.protobuf.Struct> per_filter_config = 8 [deprecated = true];

// The per_filter_config field can be used to provide route-specific
// configurations for filters. The key should match the filter name, such as
Expand Down Expand Up @@ -293,7 +293,7 @@ message WeightedCluster {
// *envoy.buffer* for the HTTP buffer filter. Use of this field is filter
// specific; see the :ref:`HTTP filter documentation <config_http_filters>`
// for if and how it is utilized.
map<string, google.protobuf.Struct> per_filter_config = 8;
map<string, google.protobuf.Struct> per_filter_config = 8 [deprecated = true];

// The per_filter_config field can be used to provide weighted cluster-specific
// configurations for filters. The key should match the filter name, such as
Expand Down Expand Up @@ -849,7 +849,7 @@ message RetryPolicy {
string name = 1 [(validate.rules).string = {min_bytes: 1}];

oneof config_type {
google.protobuf.Struct config = 2;
google.protobuf.Struct config = 2 [deprecated = true];

google.protobuf.Any typed_config = 3;
}
Expand All @@ -859,7 +859,7 @@ message RetryPolicy {
string name = 1 [(validate.rules).string = {min_bytes: 1}];

oneof config_type {
google.protobuf.Struct config = 2;
google.protobuf.Struct config = 2 [deprecated = true];

google.protobuf.Any typed_config = 3;
}
Expand Down
18 changes: 7 additions & 11 deletions api/envoy/api/v3alpha/cds.proto
Original file line number Diff line number Diff line change
Expand Up @@ -446,7 +446,9 @@ message Cluster {
google.protobuf.Duration max_interval = 2 [(validate.rules).duration = {gt {nanos: 1000000}}];
}

reserved 12, 15;
reserved 12, 15, 35;

reserved "extension_protocol_options";

// Configuration to use different transport sockets for different endpoints.
// The entry of *envoy.transport_socket* in the
Expand Down Expand Up @@ -601,12 +603,6 @@ 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;

// 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
Expand Down Expand Up @@ -797,13 +793,13 @@ message Cluster {
// [#proto-status: experimental]
message LoadBalancingPolicy {
message Policy {
reserved 2;

reserved "config";

// Required. The name of the LB policy.
string name = 1;

// Optional config for the LB policy.
// No more than one of these two fields may be populated.
google.protobuf.Struct config = 2;

google.protobuf.Any typed_config = 3;
}

Expand Down
6 changes: 4 additions & 2 deletions api/envoy/api/v3alpha/core/base.proto
Original file line number Diff line number Diff line change
Expand Up @@ -221,15 +221,17 @@ message AsyncDataSource {
// empty, a default transport socket implementation and configuration will be
// chosen based on the platform and existence of tls_context.
message TransportSocket {
reserved 2;

reserved "config";

// The name of the transport socket to instantiate. The name must match a supported transport
// socket implementation.
string name = 1 [(validate.rules).string = {min_bytes: 1}];

// Implementation specific configuration which depends on the implementation being instantiated.
// See the supported transport socket implementations for further documentation.
oneof config_type {
google.protobuf.Struct config = 2;

google.protobuf.Any typed_config = 3;
}
}
Expand Down
6 changes: 4 additions & 2 deletions api/envoy/api/v3alpha/core/grpc_service.proto
Original file line number Diff line number Diff line change
Expand Up @@ -75,11 +75,13 @@ message GrpcService {
}

message MetadataCredentialsFromPlugin {
reserved 2;

reserved "config";

string name = 1;

oneof config_type {
google.protobuf.Struct config = 2;

google.protobuf.Any typed_config = 3;
}
}
Expand Down
6 changes: 4 additions & 2 deletions api/envoy/api/v3alpha/core/health_check.proto
Original file line number Diff line number Diff line change
Expand Up @@ -141,14 +141,16 @@ message HealthCheck {

// Custom health check.
message CustomHealthCheck {
reserved 2;

reserved "config";

// The registered name of the custom health checker.
string name = 1 [(validate.rules).string = {min_bytes: 1}];

// A custom health checker specific configuration which depends on the custom health checker
// being instantiated. See :api:`envoy/config/health_checker` for reference.
oneof config_type {
google.protobuf.Struct config = 2;

google.protobuf.Any typed_config = 3;
}
}
Expand Down
12 changes: 7 additions & 5 deletions api/envoy/api/v3alpha/listener/listener.proto
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,9 @@ import "validate/validate.proto";
// Listener :ref:`configuration overview <config_listeners>`

message Filter {
reserved 3;
reserved 3, 2;

reserved "config";

// The name of the filter to instantiate. The name must match a
// :ref:`supported filter <config_network_filters>`.
Expand All @@ -29,8 +31,6 @@ message Filter {
// Filter specific configuration which depends on the filter being
// instantiated. See the supported filters for further documentation.
oneof config_type {
google.protobuf.Struct config = 2;

google.protobuf.Any typed_config = 4;
}
}
Expand Down Expand Up @@ -192,15 +192,17 @@ message FilterChain {
}

message ListenerFilter {
reserved 2;

reserved "config";

// The name of the filter to instantiate. The name must match a
// :ref:`supported filter <config_listener_filters>`.
string name = 1 [(validate.rules).string = {min_bytes: 1}];

// Filter specific configuration which depends on the filter being instantiated.
// See the supported filters for further documentation.
oneof config_type {
google.protobuf.Struct config = 2;

google.protobuf.Any typed_config = 3;
}
}
45 changes: 17 additions & 28 deletions api/envoy/api/v3alpha/route/route.proto
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,9 @@ message VirtualHost {
ALL = 2;
}

reserved 9;
reserved 9, 12;

reserved "per_filter_config";

// The logical name of the virtual host. This is used when emitting certain
// statistics but is not relevant for routing.
Expand Down Expand Up @@ -112,13 +114,6 @@ message VirtualHost {
// Indicates that the virtual host has a CORS policy.
CorsPolicy cors = 8;

// The per_filter_config field can be used to provide virtual host-specific
// configurations for filters. The key should match the filter name, such as
// *envoy.buffer* for the HTTP buffer filter. Use of this field is filter
// specific; see the :ref:`HTTP filter documentation <config_http_filters>`
// for if and how it is utilized.
map<string, google.protobuf.Struct> per_filter_config = 12;

// The per_filter_config field can be used to provide virtual host-specific
// configurations for filters. The key should match the filter name, such as
// *envoy.buffer* for the HTTP buffer filter. Use of this field is filter
Expand Down Expand Up @@ -156,7 +151,9 @@ message VirtualHost {
// <envoy_api_msg_route.HeaderMatcher>`.
// [#comment:next free field: 15]
message Route {
reserved 6;
reserved 6, 8;

reserved "per_filter_config";

// Name for the route.
string name = 14;
Expand Down Expand Up @@ -187,13 +184,6 @@ message Route {
// Decorator for the matched route.
Decorator decorator = 5;

// The per_filter_config field can be used to provide route-specific
// configurations for filters. The key should match the filter name, such as
// *envoy.buffer* for the HTTP buffer filter. Use of this field is filter
// specific; see the :ref:`HTTP filter documentation <config_http_filters>` for
// if and how it is utilized.
map<string, google.protobuf.Struct> per_filter_config = 8;

// The per_filter_config field can be used to provide route-specific
// configurations for filters. The key should match the filter name, such as
// *envoy.buffer* for the HTTP buffer filter. Use of this field is filter
Expand Down Expand Up @@ -241,7 +231,9 @@ message Route {
// [#comment:next free field: 11]
message WeightedCluster {
message ClusterWeight {
reserved 7;
reserved 7, 8;

reserved "per_filter_config";

// Name of the upstream cluster. The cluster must exist in the
// :ref:`cluster manager configuration <config_cluster_manager>`.
Expand Down Expand Up @@ -288,13 +280,6 @@ message WeightedCluster {
// through the enclosing :ref:`envoy_api_msg_route.RouteAction`.
repeated string response_headers_to_remove = 6;

// The per_filter_config field can be used to provide weighted cluster-specific
// configurations for filters. The key should match the filter name, such as
// *envoy.buffer* for the HTTP buffer filter. Use of this field is filter
// specific; see the :ref:`HTTP filter documentation <config_http_filters>`
// for if and how it is utilized.
map<string, google.protobuf.Struct> per_filter_config = 8;

// The per_filter_config field can be used to provide weighted cluster-specific
// configurations for filters. The key should match the filter name, such as
// *envoy.buffer* for the HTTP buffer filter. Use of this field is filter
Expand Down Expand Up @@ -798,21 +783,25 @@ message RouteAction {
// [#comment:next free field: 10]
message RetryPolicy {
message RetryPriority {
reserved 2;

reserved "config";

string name = 1 [(validate.rules).string = {min_bytes: 1}];

oneof config_type {
google.protobuf.Struct config = 2;

google.protobuf.Any typed_config = 3;
}
}

message RetryHostPredicate {
reserved 2;

reserved "config";

string name = 1 [(validate.rules).string = {min_bytes: 1}];

oneof config_type {
google.protobuf.Struct config = 2;

google.protobuf.Any typed_config = 3;
}
}
Expand Down
2 changes: 1 addition & 1 deletion api/envoy/config/filter/accesslog/v2/accesslog.proto
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ message AccessLog {
// #. "envoy.tcp_grpc_access_log": :ref:`TcpGrpcAccessLogConfig
// <envoy_api_msg_config.accesslog.v2.TcpGrpcAccessLogConfig>`
oneof config_type {
google.protobuf.Struct config = 3;
google.protobuf.Struct config = 3 [deprecated = true];

google.protobuf.Any typed_config = 4;
}
Expand Down
6 changes: 4 additions & 2 deletions api/envoy/config/filter/accesslog/v3alpha/accesslog.proto
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@ import "validate/validate.proto";
// [#protodoc-title: Common access log types]

message AccessLog {
reserved 3;

reserved "config";

// The name of the access log implementation to instantiate. The name must
// match a statically registered access log. Current built-in loggers include:
//
Expand All @@ -39,8 +43,6 @@ message AccessLog {
// #. "envoy.tcp_grpc_access_log": :ref:`TcpGrpcAccessLogConfig
// <envoy_api_msg_config.accesslog.v3alpha.TcpGrpcAccessLogConfig>`
oneof config_type {
google.protobuf.Struct config = 3;

google.protobuf.Any typed_config = 4;
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -597,7 +597,7 @@ message HttpFilter {
// Filter specific configuration which depends on the filter being instantiated. See the supported
// filters for further documentation.
oneof config_type {
google.protobuf.Struct config = 2;
google.protobuf.Struct config = 2 [deprecated = true];

google.protobuf.Any typed_config = 4;
}
Expand Down
Loading