ratelimit: remove deprecated rate limit config from bootstrap (#6300)

Signed-off-by: Rama Chavali <rama.rao@salesforce.com>

Mirrored from https://github.com/envoyproxy/envoy @ 75d360834537bef27cdd8cc43e1f8873b9790b70
pull/620/head
data-plane-api(CircleCI) 6 years ago
parent 9541205383
commit d381b433ad
  1. 5
      envoy/config/bootstrap/v2/bootstrap.proto
  2. 5
      envoy/config/filter/http/rate_limit/v2/rate_limit.proto
  3. 5
      envoy/config/filter/network/rate_limit/v2/rate_limit.proto
  4. 5
      envoy/config/filter/thrift/rate_limit/v2alpha1/rate_limit.proto

@ -108,10 +108,7 @@ message Bootstrap {
// tracing will be performed.
envoy.config.trace.v2.Tracing tracing = 9;
// Configuration for an external rate limit service provider. If not
// specified, any calls to the rate limit service will immediately return
// success.
envoy.config.ratelimit.v2.RateLimitServiceConfig rate_limit_service = 10 [deprecated = true];
reserved 10;
// Configuration for the runtime configuration provider. If not specified, a
// null provider will be used which will result in all defaults being used.

@ -55,7 +55,6 @@ message RateLimit {
// Configuration for an external rate limit service provider. If not
// specified, any calls to the rate limit service will immediately return
// success.
// [#comment:TODO(ramaraochavali): Make this required as part of cleanup of deprecated ratelimit
// service config in bootstrap.]
envoy.config.ratelimit.v2.RateLimitServiceConfig rate_limit_service = 7;
envoy.config.ratelimit.v2.RateLimitServiceConfig rate_limit_service = 7
[(validate.rules).message.required = true];
}

@ -42,7 +42,6 @@ message RateLimit {
// Configuration for an external rate limit service provider. If not
// specified, any calls to the rate limit service will immediately return
// success.
// [#comment:TODO(ramaraochavali): Make this required as part of cleanup of deprecated ratelimit
// service config in bootstrap.]
envoy.config.ratelimit.v2.RateLimitServiceConfig rate_limit_service = 6;
envoy.config.ratelimit.v2.RateLimitServiceConfig rate_limit_service = 6
[(validate.rules).message.required = true];
}

@ -46,7 +46,6 @@ message RateLimit {
// Configuration for an external rate limit service provider. If not
// specified, any calls to the rate limit service will immediately return
// success.
// [#comment:TODO(ramaraochavali): Make this required as part of cleanup of deprecated ratelimit
// service config in bootstrap.]
envoy.config.ratelimit.v2.RateLimitServiceConfig rate_limit_service = 5;
envoy.config.ratelimit.v2.RateLimitServiceConfig rate_limit_service = 5
[(validate.rules).message.required = true];
}

Loading…
Cancel
Save