Skip to content

Commit

Permalink
api: Add transport_api_version to SelfConfigSource. (envoyproxy#11754)
Browse files Browse the repository at this point in the history
This will allow configuring the version of LRS independently from the version of xDS in the lrs_server field in Cluster messages.

Risk Level: Low
Testing: N/A
Docs Changes: Inline in PR

Signed-off-by: Mark D. Roth <[email protected]>
Signed-off-by: yashwant121 <[email protected]>
  • Loading branch information
markdroth authored and yashwant121 committed Jul 24, 2020
1 parent fa18aa8 commit 856c754
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 0 deletions.
4 changes: 4 additions & 0 deletions api/envoy/config/core/v3/config_source.proto
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,10 @@ message AggregatedConfigSource {
// specify that other data can be obtained from the same server.
message SelfConfigSource {
option (udpa.annotations.versioning).previous_message_type = "envoy.api.v2.core.SelfConfigSource";

// API version for xDS transport protocol. This describes the xDS gRPC/REST
// endpoint and version of [Delta]DiscoveryRequest/Response used on the wire.
ApiVersion transport_api_version = 1 [(validate.rules).enum = {defined_only: true}];
}

// Rate Limit settings to be applied for discovery requests made by Envoy.
Expand Down
4 changes: 4 additions & 0 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.

4 changes: 4 additions & 0 deletions generated_api_shadow/envoy/config/core/v3/config_source.proto

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

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

0 comments on commit 856c754

Please sign in to comment.