Skip to content
Merged
Show file tree
Hide file tree
Changes from all 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 @@ -610,7 +610,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 @@ -810,7 +810,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 @@ -240,7 +240,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 @@ -80,7 +80,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 @@ -157,7 +157,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 @@ -212,7 +212,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 @@ -197,7 +197,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 @@ -303,7 +303,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 @@ -869,7 +869,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 @@ -879,7 +879,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: 6 additions & 12 deletions api/envoy/api/v3alpha/cds.proto
Original file line number Diff line number Diff line change
Expand Up @@ -449,9 +449,9 @@ message Cluster {
google.protobuf.Duration max_interval = 2 [(validate.rules).duration = {gt {nanos: 1000000}}];
}

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

reserved "tls_context";
reserved "tls_context", "extension_protocol_options";

// Configuration to use different transport sockets for different endpoints.
// The entry of *envoy.transport_socket* in the
Expand Down Expand Up @@ -595,12 +595,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 @@ -794,13 +788,13 @@ message Cluster {
// type LoadBalancingPolicy that specifies the child policy.
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 @@ -234,15 +234,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 @@ -77,11 +77,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 @@ -151,14 +151,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 @@ -19,7 +19,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 @@ -28,8 +30,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 @@ -198,15 +198,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 @@ -161,7 +156,9 @@ message VirtualHost {
// <envoy_api_msg_api.v3alpha.route.HeaderMatcher>`.
// [#next-free-field: 17]
message Route {
reserved 6;
reserved 6, 8;

reserved "per_filter_config";

// Name for the route.
string name = 14;
Expand Down Expand Up @@ -192,13 +189,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 @@ -251,7 +241,9 @@ message Route {
message WeightedCluster {
// [#next-free-field: 11]
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 @@ -299,13 +291,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 @@ -820,21 +805,25 @@ message RouteAction {
// [#next-free-field: 11]
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/bootstrap/v3alpha/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ api_proto_package(
"//envoy/api/v3alpha/auth:pkg",
"//envoy/api/v3alpha/core:pkg",
"//envoy/config/metrics/v3alpha:pkg",
"//envoy/config/overload/v2alpha:pkg",
"//envoy/config/overload/v3alpha:pkg",
"//envoy/config/trace/v3alpha:pkg",
],
)
4 changes: 2 additions & 2 deletions api/envoy/config/bootstrap/v3alpha/bootstrap.proto
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import "envoy/api/v3alpha/core/base.proto";
import "envoy/api/v3alpha/core/config_source.proto";
import "envoy/api/v3alpha/lds.proto";
import "envoy/config/metrics/v3alpha/stats.proto";
import "envoy/config/overload/v2alpha/overload.proto";
import "envoy/config/overload/v3alpha/overload.proto";
import "envoy/config/trace/v3alpha/trace.proto";

import "google/protobuf/duration.proto";
Expand Down Expand Up @@ -126,7 +126,7 @@ message Bootstrap {
Admin admin = 12;

// Optional overload manager configuration.
overload.v2alpha.OverloadManager overload_manager = 15;
overload.v3alpha.OverloadManager overload_manager = 15;

// Enable :ref:`stats for event dispatcher <operations_performance>`, defaults to false.
// Note that this records a value for each iteration of the event loop on every thread. This
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
Loading