diff --git a/envoy/service/ratelimit/v2/BUILD b/envoy/service/ratelimit/v2/BUILD index 4ee72b65..d0e114eb 100644 --- a/envoy/service/ratelimit/v2/BUILD +++ b/envoy/service/ratelimit/v2/BUILD @@ -7,6 +7,7 @@ api_proto_library_internal( srcs = ["rls.proto"], has_services = 1, deps = [ + "//envoy/api/v2/core:base", "//envoy/api/v2/core:grpc_service", "//envoy/api/v2/ratelimit", ], @@ -16,6 +17,7 @@ api_go_grpc_library( name = "rls", proto = ":rls", deps = [ + "//envoy/api/v2/core:base_go_proto", "//envoy/api/v2/core:grpc_service_go_proto", "//envoy/api/v2/ratelimit:ratelimit_go_proto", ], diff --git a/envoy/service/ratelimit/v2/rls.proto b/envoy/service/ratelimit/v2/rls.proto index c1a416fc..ebaf5435 100644 --- a/envoy/service/ratelimit/v2/rls.proto +++ b/envoy/service/ratelimit/v2/rls.proto @@ -3,6 +3,7 @@ syntax = "proto3"; package envoy.service.ratelimit.v2; option go_package = "v2"; +import "envoy/api/v2/core/base.proto"; import "envoy/api/v2/ratelimit/ratelimit.proto"; import "validate/validate.proto"; @@ -75,4 +76,6 @@ message RateLimitResponse { // in the RateLimitRequest. This can be used by the caller to determine which individual // descriptors failed and/or what the currently configured limits are for all of them. repeated DescriptorStatus statuses = 2; + // A list of headers to add to the response + repeated envoy.api.v2.core.HeaderValue headers = 3; }