Skip to content

Commit

Permalink
config: v2 transport API fatal-by-default. (#14223)
Browse files Browse the repository at this point in the history
This is a followup to #13950 in which the transport API is also
fatal-by-default.

Risk level: High (this will break anyone who is still using v2 and has
not enabled CLI or runtime override)
Testing: Various tests updated as described above. New unit test added
for bootstrap to server_test and to ads_integration_test for
dynamic rejection behavior. api_version_integration_test continues to
provide the definitive cross-version transport API integration test.
Release Notes: Same as #13950.

Signed-off-by: Harvey Tuch <[email protected]>
  • Loading branch information
htuch authored Dec 7, 2020
1 parent ebdcf7c commit 9093131
Show file tree
Hide file tree
Showing 114 changed files with 1,366 additions and 261 deletions.
4 changes: 2 additions & 2 deletions api/envoy/api/v2/core/config_source.proto
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,10 @@ enum ApiVersion {
// When not specified, we assume v2, to ease migration to Envoy's stable API
// versioning. If a client does not support v2 (e.g. due to deprecation), this
// is an invalid value.
AUTO = 0;
AUTO = 0 [deprecated = true];

// Use xDS v2 API.
V2 = 1;
V2 = 1 [deprecated = true];

// Use xDS v3 API.
V3 = 2;
Expand Down
4 changes: 2 additions & 2 deletions api/envoy/config/accesslog/v4alpha/accesslog.proto

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions api/envoy/config/core/v3/config_source.proto
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,10 @@ enum ApiVersion {
// When not specified, we assume v2, to ease migration to Envoy's stable API
// versioning. If a client does not support v2 (e.g. due to deprecation), this
// is an invalid value.
AUTO = 0;
AUTO = 0 [deprecated = true];

// Use xDS v2 API.
V2 = 1;
V2 = 1 [deprecated = true];

// Use xDS v3 API.
V3 = 2;
Expand Down
9 changes: 5 additions & 4 deletions api/envoy/config/core/v4alpha/config_source.proto

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

13 changes: 13 additions & 0 deletions api/envoy/config/ratelimit/v4alpha/BUILD

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

34 changes: 34 additions & 0 deletions api/envoy/config/ratelimit/v4alpha/rls.proto

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

13 changes: 13 additions & 0 deletions api/envoy/extensions/access_loggers/grpc/v4alpha/BUILD

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

89 changes: 89 additions & 0 deletions api/envoy/extensions/access_loggers/grpc/v4alpha/als.proto

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

13 changes: 13 additions & 0 deletions api/envoy/extensions/filters/http/ratelimit/v4alpha/BUILD

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

125 changes: 125 additions & 0 deletions api/envoy/extensions/filters/http/ratelimit/v4alpha/rate_limit.proto

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 14 additions & 0 deletions api/envoy/extensions/filters/network/ratelimit/v4alpha/BUILD

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 9093131

Please sign in to comment.