Skip to content

Commit a33ce64

Browse files
committed
update to 1.20.1
1 parent 013ee36 commit a33ce64

File tree

376 files changed

+6682
-18638
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

376 files changed

+6682
-18638
lines changed

API_SHAS

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,13 @@
22
# copied from https://github.com/envoyproxy/java-control-plane/blob/main/tools/API_SHAS
33

44
# envoy (source: SHA from https://github.com/envoyproxy/envoy)
5-
ENVOY_SHA="5c801b25cae04f06bf48248c90e87d623d7a6283" # Jan 11, 2021 (v1.17.0)
5+
ENVOY_SHA="ea23f47b27464794980c05ab290a3b73d801405e" # Nov 30, 2021 (v1.20.1)
66

7-
# dependencies (source: https://github.com/envoyproxy/envoy/blob/5c801b25cae04f06bf48248c90e87d623d7a6283/api/bazel/repository_locations.bzl)
7+
# dependencies (source: https://github.com/envoyproxy/envoy/blob/ea23f47b27464794980c05ab290a3b73d801405e/api/bazel/repository_locations.bzl)
88
GOOGLEAPIS_SHA="82944da21578a53b74e547774cf62ed31a05b841" # Dec 2, 2019
9-
PGV_GIT_SHA="872b28c457822ed9c2a5405da3c33f386ac0e86f" # Jan 5, 2021
10-
PROMETHEUS_SHA="60555c9708c786597e6b07bf846d0dc5c2a46f54" # Jun 23, 2020
11-
OPENCENSUS_VERSION="0.3.0"
12-
UDPA_SHA="cc1b757b3eddccaaaf0743cbb107742bb7e3ee4f" # Dec 11, 2020
9+
PGV_VERSION="0.6.1" # Apr 26, 2021
10+
PROMETHEUS_SHA="147c58e9608a4f9628b53b6cc863325ca746f63a" # Jun 07, 2021
11+
OPENCENSUS_VERSION="0.3.0" # Jul 21, 2020
12+
OPENTELEMETRY_VERSION="0.9.0" # May 12, 2021
13+
XDS_SHA="cb28da3451f158a947dfc45090fe92b07b243bc1"
14+

build.sbt

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import scala.sys.process._
22
import scalapb.compiler.Version.scalapbVersion
33

44
ThisBuild / organization := "io.github.jamiees2"
5-
ThisBuild / version := s"1.17.0"
5+
ThisBuild / version := s"1.20.1"
66

77
ThisBuild / description := "ScalaPB generated bindings for Envoy"
88

@@ -27,11 +27,6 @@ Compile / packageSrc / mappings ++= {
2727
files.map { f => (f, f.relativeTo(base).get.getPath) }
2828
}
2929

30-
lazy val fetchSources = taskKey[Unit]("Downloads the sources for the build (from the envoyproxy-java-control-plane repo)")
31-
fetchSources := {
32-
s"./fetch-sources.sh" !
33-
}
34-
3530
lazy val updateApi = taskKey[Unit]("Downloads the API sources (from the envoy repo)")
3631
updateApi := {
3732
s"./update-api.sh" !

src/main/protobuf/envoy/admin/v3/clusters.proto

Lines changed: 18 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ message Clusters {
2929
}
3030

3131
// Details an individual cluster's current status.
32-
// [#next-free-field: 7]
32+
// [#next-free-field: 8]
3333
message ClusterStatus {
3434
option (udpa.annotations.versioning).previous_message_type = "envoy.admin.v2alpha.ClusterStatus";
3535

@@ -41,10 +41,10 @@ message ClusterStatus {
4141

4242
// The success rate threshold used in the last interval.
4343
// If
44-
// :ref:`outlier_detection.split_external_local_origin_errors<envoy_api_field_config.cluster.v3.OutlierDetection.split_external_local_origin_errors>`
44+
// :ref:`outlier_detection.split_external_local_origin_errors<envoy_v3_api_field_config.cluster.v3.OutlierDetection.split_external_local_origin_errors>`
4545
// is *false*, all errors: externally and locally generated were used to calculate the threshold.
4646
// If
47-
// :ref:`outlier_detection.split_external_local_origin_errors<envoy_api_field_config.cluster.v3.OutlierDetection.split_external_local_origin_errors>`
47+
// :ref:`outlier_detection.split_external_local_origin_errors<envoy_v3_api_field_config.cluster.v3.OutlierDetection.split_external_local_origin_errors>`
4848
// is *true*, only externally generated errors were used to calculate the threshold.
4949
// The threshold is used to eject hosts based on their success rate. See
5050
// :ref:`Cluster outlier detection <arch_overview_outlier_detection>` documentation for details.
@@ -64,7 +64,7 @@ message ClusterStatus {
6464
// The success rate threshold used in the last interval when only locally originated failures were
6565
// taken into account and externally originated errors were treated as success.
6666
// This field should be interpreted only when
67-
// :ref:`outlier_detection.split_external_local_origin_errors<envoy_api_field_config.cluster.v3.OutlierDetection.split_external_local_origin_errors>`
67+
// :ref:`outlier_detection.split_external_local_origin_errors<envoy_v3_api_field_config.cluster.v3.OutlierDetection.split_external_local_origin_errors>`
6868
// is *true*. The threshold is used to eject hosts based on their success rate.
6969
// See :ref:`Cluster outlier detection <arch_overview_outlier_detection>` documentation for
7070
// details.
@@ -80,6 +80,9 @@ message ClusterStatus {
8080

8181
// :ref:`Circuit breaking <arch_overview_circuit_break>` settings of the cluster.
8282
config.cluster.v3.CircuitBreakers circuit_breakers = 6;
83+
84+
// Observability name of the cluster.
85+
string observability_name = 7;
8386
}
8487

8588
// Current state of a particular host.
@@ -98,10 +101,10 @@ message HostStatus {
98101

99102
// Request success rate for this host over the last calculated interval.
100103
// If
101-
// :ref:`outlier_detection.split_external_local_origin_errors<envoy_api_field_config.cluster.v3.OutlierDetection.split_external_local_origin_errors>`
104+
// :ref:`outlier_detection.split_external_local_origin_errors<envoy_v3_api_field_config.cluster.v3.OutlierDetection.split_external_local_origin_errors>`
102105
// is *false*, all errors: externally and locally generated were used in success rate
103106
// calculation. If
104-
// :ref:`outlier_detection.split_external_local_origin_errors<envoy_api_field_config.cluster.v3.OutlierDetection.split_external_local_origin_errors>`
107+
// :ref:`outlier_detection.split_external_local_origin_errors<envoy_v3_api_field_config.cluster.v3.OutlierDetection.split_external_local_origin_errors>`
105108
// is *true*, only externally generated errors were used in success rate calculation.
106109
// See :ref:`Cluster outlier detection <arch_overview_outlier_detection>` documentation for
107110
// details.
@@ -124,7 +127,7 @@ message HostStatus {
124127
// interval when only locally originated errors are taken into account and externally originated
125128
// errors were treated as success.
126129
// This field should be interpreted only when
127-
// :ref:`outlier_detection.split_external_local_origin_errors<envoy_api_field_config.cluster.v3.OutlierDetection.split_external_local_origin_errors>`
130+
// :ref:`outlier_detection.split_external_local_origin_errors<envoy_v3_api_field_config.cluster.v3.OutlierDetection.split_external_local_origin_errors>`
128131
// is *true*.
129132
// See :ref:`Cluster outlier detection <arch_overview_outlier_detection>` documentation for
130133
// details.
@@ -139,7 +142,7 @@ message HostStatus {
139142
}
140143

141144
// Health status for a host.
142-
// [#next-free-field: 7]
145+
// [#next-free-field: 9]
143146
message HostHealthStatus {
144147
option (udpa.annotations.versioning).previous_message_type =
145148
"envoy.admin.v2alpha.HostHealthStatus";
@@ -160,6 +163,13 @@ message HostHealthStatus {
160163
// The host has not yet been health checked.
161164
bool pending_active_hc = 6;
162165

166+
// The host should be excluded from panic, spillover, etc. calculations because it was explicitly
167+
// taken out of rotation via protocol signal and is not meant to be routed to.
168+
bool excluded_via_immediate_hc_fail = 7;
169+
170+
// The host failed active HC due to timeout.
171+
bool active_hc_timeout = 8;
172+
163173
// Health status as reported by EDS. Note: only HEALTHY and UNHEALTHY are currently supported
164174
// here.
165175
// [#comment:TODO(mrice32): pipe through remaining EDS health status possibilities.]

src/main/protobuf/envoy/admin/v3/config_dump.proto

Lines changed: 112 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,31 @@ option (udpa.annotations.file_status).package_version_status = ACTIVE;
1717

1818
// [#protodoc-title: ConfigDump]
1919

20+
// Resource status from the view of a xDS client, which tells the synchronization
21+
// status between the xDS client and the xDS server.
22+
enum ClientResourceStatus {
23+
// Resource status is not available/unknown.
24+
UNKNOWN = 0;
25+
26+
// Client requested this resource but hasn't received any update from management
27+
// server. The client will not fail requests, but will queue them until update
28+
// arrives or the client times out waiting for the resource.
29+
REQUESTED = 1;
30+
31+
// This resource has been requested by the client but has either not been
32+
// delivered by the server or was previously delivered by the server and then
33+
// subsequently removed from resources provided by the server. For more
34+
// information, please refer to the :ref:`"Knowing When a Requested Resource
35+
// Does Not Exist" <xds_protocol_resource_not_existed>` section.
36+
DOES_NOT_EXIST = 2;
37+
38+
// Client received this resource and replied with ACK.
39+
ACKED = 3;
40+
41+
// Client received this resource and replied with NACK.
42+
NACKED = 4;
43+
}
44+
2045
// The :ref:`/config_dump <operations_admin_interface_config_dump>` admin endpoint uses this wrapper
2146
// message to maintain and serve arbitrary configuration information from any component in Envoy.
2247
message ConfigDump {
@@ -28,11 +53,13 @@ message ConfigDump {
2853
// The following configurations are currently supported and will be dumped in the order given
2954
// below:
3055
//
31-
// * *bootstrap*: :ref:`BootstrapConfigDump <envoy_api_msg_admin.v3.BootstrapConfigDump>`
32-
// * *clusters*: :ref:`ClustersConfigDump <envoy_api_msg_admin.v3.ClustersConfigDump>`
33-
// * *endpoints*: :ref:`EndpointsConfigDump <envoy_api_msg_admin.v3.EndpointsConfigDump>`
34-
// * *listeners*: :ref:`ListenersConfigDump <envoy_api_msg_admin.v3.ListenersConfigDump>`
35-
// * *routes*: :ref:`RoutesConfigDump <envoy_api_msg_admin.v3.RoutesConfigDump>`
56+
// * *bootstrap*: :ref:`BootstrapConfigDump <envoy_v3_api_msg_admin.v3.BootstrapConfigDump>`
57+
// * *clusters*: :ref:`ClustersConfigDump <envoy_v3_api_msg_admin.v3.ClustersConfigDump>`
58+
// * *endpoints*: :ref:`EndpointsConfigDump <envoy_v3_api_msg_admin.v3.EndpointsConfigDump>`
59+
// * *listeners*: :ref:`ListenersConfigDump <envoy_v3_api_msg_admin.v3.ListenersConfigDump>`
60+
// * *scoped_routes*: :ref:`ScopedRoutesConfigDump <envoy_v3_api_msg_admin.v3.ScopedRoutesConfigDump>`
61+
// * *routes*: :ref:`RoutesConfigDump <envoy_v3_api_msg_admin.v3.RoutesConfigDump>`
62+
// * *secrets*: :ref:`SecretsConfigDump <envoy_v3_api_msg_admin.v3.SecretsConfigDump>`
3663
//
3764
// EDS Configuration will only be dumped by using parameter `?include_eds`
3865
//
@@ -49,13 +76,18 @@ message UpdateFailureState {
4976
"envoy.admin.v2alpha.UpdateFailureState";
5077

5178
// What the component configuration would have been if the update had succeeded.
79+
// This field may not be populated by xDS clients due to storage overhead.
5280
google.protobuf.Any failed_configuration = 1;
5381

5482
// Time of the latest failed update attempt.
5583
google.protobuf.Timestamp last_update_attempt = 2;
5684

5785
// Details about the last failed update attempt.
5886
string details = 3;
87+
88+
// This is the version of the rejected resource.
89+
// [#not-implemented-hide:]
90+
string version_info = 4;
5991
}
6092

6193
// This message describes the bootstrap configuration that Envoy was started with. This includes
@@ -96,7 +128,7 @@ message ListenersConfigDump {
96128
"envoy.admin.v2alpha.ListenersConfigDump.DynamicListenerState";
97129

98130
// This is the per-resource version information. This version is currently taken from the
99-
// :ref:`version_info <envoy_api_field_service.discovery.v3.DiscoveryResponse.version_info>` field at the time
131+
// :ref:`version_info <envoy_v3_api_field_service.discovery.v3.DiscoveryResponse.version_info>` field at the time
100132
// that the listener was loaded. In the future, discrete per-listener versions may be supported
101133
// by the API.
102134
string version_info = 1;
@@ -109,7 +141,7 @@ message ListenersConfigDump {
109141
}
110142

111143
// Describes a dynamically loaded listener via the LDS API.
112-
// [#next-free-field: 6]
144+
// [#next-free-field: 7]
113145
message DynamicListener {
114146
option (udpa.annotations.versioning).previous_message_type =
115147
"envoy.admin.v2alpha.ListenersConfigDump.DynamicListener";
@@ -134,10 +166,17 @@ message ListenersConfigDump {
134166
DynamicListenerState draining_state = 4;
135167

136168
// Set if the last update failed, cleared after the next successful update.
169+
// The *error_state* field contains the rejected version of this particular
170+
// resource along with the reason and timestamp. For successfully updated or
171+
// acknowledged resource, this field should be empty.
137172
UpdateFailureState error_state = 5;
173+
174+
// The client status of this resource.
175+
// [#not-implemented-hide:]
176+
ClientResourceStatus client_status = 6;
138177
}
139178

140-
// This is the :ref:`version_info <envoy_api_field_service.discovery.v3.DiscoveryResponse.version_info>` in the
179+
// This is the :ref:`version_info <envoy_v3_api_field_service.discovery.v3.DiscoveryResponse.version_info>` in the
141180
// last processed LDS discovery response. If there are only static bootstrap listeners, this field
142181
// will be "".
143182
string version_info = 1;
@@ -169,12 +208,13 @@ message ClustersConfigDump {
169208
}
170209

171210
// Describes a dynamically loaded cluster via the CDS API.
211+
// [#next-free-field: 6]
172212
message DynamicCluster {
173213
option (udpa.annotations.versioning).previous_message_type =
174214
"envoy.admin.v2alpha.ClustersConfigDump.DynamicCluster";
175215

176216
// This is the per-resource version information. This version is currently taken from the
177-
// :ref:`version_info <envoy_api_field_service.discovery.v3.DiscoveryResponse.version_info>` field at the time
217+
// :ref:`version_info <envoy_v3_api_field_service.discovery.v3.DiscoveryResponse.version_info>` field at the time
178218
// that the cluster was loaded. In the future, discrete per-cluster versions may be supported by
179219
// the API.
180220
string version_info = 1;
@@ -184,9 +224,20 @@ message ClustersConfigDump {
184224

185225
// The timestamp when the Cluster was last updated.
186226
google.protobuf.Timestamp last_updated = 3;
227+
228+
// Set if the last update failed, cleared after the next successful update.
229+
// The *error_state* field contains the rejected version of this particular
230+
// resource along with the reason and timestamp. For successfully updated or
231+
// acknowledged resource, this field should be empty.
232+
// [#not-implemented-hide:]
233+
UpdateFailureState error_state = 4;
234+
235+
// The client status of this resource.
236+
// [#not-implemented-hide:]
237+
ClientResourceStatus client_status = 5;
187238
}
188239

189-
// This is the :ref:`version_info <envoy_api_field_service.discovery.v3.DiscoveryResponse.version_info>` in the
240+
// This is the :ref:`version_info <envoy_v3_api_field_service.discovery.v3.DiscoveryResponse.version_info>` in the
190241
// last processed CDS discovery response. If there are only static bootstrap clusters, this field
191242
// will be "".
192243
string version_info = 1;
@@ -225,12 +276,13 @@ message RoutesConfigDump {
225276
google.protobuf.Timestamp last_updated = 2;
226277
}
227278

279+
// [#next-free-field: 6]
228280
message DynamicRouteConfig {
229281
option (udpa.annotations.versioning).previous_message_type =
230282
"envoy.admin.v2alpha.RoutesConfigDump.DynamicRouteConfig";
231283

232284
// This is the per-resource version information. This version is currently taken from the
233-
// :ref:`version_info <envoy_api_field_service.discovery.v3.DiscoveryResponse.version_info>` field at the time that
285+
// :ref:`version_info <envoy_v3_api_field_service.discovery.v3.DiscoveryResponse.version_info>` field at the time that
234286
// the route configuration was loaded.
235287
string version_info = 1;
236288

@@ -239,6 +291,17 @@ message RoutesConfigDump {
239291

240292
// The timestamp when the Route was last updated.
241293
google.protobuf.Timestamp last_updated = 3;
294+
295+
// Set if the last update failed, cleared after the next successful update.
296+
// The *error_state* field contains the rejected version of this particular
297+
// resource along with the reason and timestamp. For successfully updated or
298+
// acknowledged resource, this field should be empty.
299+
// [#not-implemented-hide:]
300+
UpdateFailureState error_state = 4;
301+
302+
// The client status of this resource.
303+
// [#not-implemented-hide:]
304+
ClientResourceStatus client_status = 5;
242305
}
243306

244307
// The statically loaded route configs.
@@ -270,6 +333,7 @@ message ScopedRoutesConfigDump {
270333
google.protobuf.Timestamp last_updated = 3;
271334
}
272335

336+
// [#next-free-field: 7]
273337
message DynamicScopedRouteConfigs {
274338
option (udpa.annotations.versioning).previous_message_type =
275339
"envoy.admin.v2alpha.ScopedRoutesConfigDump.DynamicScopedRouteConfigs";
@@ -278,7 +342,7 @@ message ScopedRoutesConfigDump {
278342
string name = 1;
279343

280344
// This is the per-resource version information. This version is currently taken from the
281-
// :ref:`version_info <envoy_api_field_service.discovery.v3.DiscoveryResponse.version_info>` field at the time that
345+
// :ref:`version_info <envoy_v3_api_field_service.discovery.v3.DiscoveryResponse.version_info>` field at the time that
282346
// the scoped routes configuration was loaded.
283347
string version_info = 2;
284348

@@ -287,6 +351,17 @@ message ScopedRoutesConfigDump {
287351

288352
// The timestamp when the scoped route config set was last updated.
289353
google.protobuf.Timestamp last_updated = 4;
354+
355+
// Set if the last update failed, cleared after the next successful update.
356+
// The *error_state* field contains the rejected version of this particular
357+
// resource along with the reason and timestamp. For successfully updated or
358+
// acknowledged resource, this field should be empty.
359+
// [#not-implemented-hide:]
360+
UpdateFailureState error_state = 5;
361+
362+
// The client status of this resource.
363+
// [#not-implemented-hide:]
364+
ClientResourceStatus client_status = 6;
290365
}
291366

292367
// The statically loaded scoped route configs.
@@ -302,6 +377,7 @@ message SecretsConfigDump {
302377
"envoy.admin.v2alpha.SecretsConfigDump";
303378

304379
// DynamicSecret contains secret information fetched via SDS.
380+
// [#next-free-field: 7]
305381
message DynamicSecret {
306382
option (udpa.annotations.versioning).previous_message_type =
307383
"envoy.admin.v2alpha.SecretsConfigDump.DynamicSecret";
@@ -319,6 +395,17 @@ message SecretsConfigDump {
319395
// Security sensitive information is redacted (replaced with "[redacted]") for
320396
// private keys and passwords in TLS certificates.
321397
google.protobuf.Any secret = 4;
398+
399+
// Set if the last update failed, cleared after the next successful update.
400+
// The *error_state* field contains the rejected version of this particular
401+
// resource along with the reason and timestamp. For successfully updated or
402+
// acknowledged resource, this field should be empty.
403+
// [#not-implemented-hide:]
404+
UpdateFailureState error_state = 5;
405+
406+
// The client status of this resource.
407+
// [#not-implemented-hide:]
408+
ClientResourceStatus client_status = 6;
322409
}
323410

324411
// StaticSecret specifies statically loaded secret in bootstrap.
@@ -362,9 +449,10 @@ message EndpointsConfigDump {
362449
google.protobuf.Timestamp last_updated = 2;
363450
}
364451

452+
// [#next-free-field: 6]
365453
message DynamicEndpointConfig {
366454
// [#not-implemented-hide:] This is the per-resource version information. This version is currently taken from the
367-
// :ref:`version_info <envoy_api_field_service.discovery.v3.DiscoveryResponse.version_info>` field at the time that
455+
// :ref:`version_info <envoy_v3_api_field_service.discovery.v3.DiscoveryResponse.version_info>` field at the time that
368456
// the endpoint configuration was loaded.
369457
string version_info = 1;
370458

@@ -373,6 +461,17 @@ message EndpointsConfigDump {
373461

374462
// [#not-implemented-hide:] The timestamp when the Endpoint was last updated.
375463
google.protobuf.Timestamp last_updated = 3;
464+
465+
// Set if the last update failed, cleared after the next successful update.
466+
// The *error_state* field contains the rejected version of this particular
467+
// resource along with the reason and timestamp. For successfully updated or
468+
// acknowledged resource, this field should be empty.
469+
// [#not-implemented-hide:]
470+
UpdateFailureState error_state = 4;
471+
472+
// The client status of this resource.
473+
// [#not-implemented-hide:]
474+
ClientResourceStatus client_status = 5;
376475
}
377476

378477
// The statically loaded endpoint configs.

0 commit comments

Comments
 (0)