diff --git a/envoy/COMMIT b/envoy/COMMIT index 126c859b49..78c695062f 100644 --- a/envoy/COMMIT +++ b/envoy/COMMIT @@ -1 +1 @@ -a862674c6fc9323c24d6df6207ed405204e2c88f +72c15547a7dea9735235e65e2323219d59b6a9dd diff --git a/envoy/extensions/common/dynamic_forward_proxy/v3/dns_cache.pb.go b/envoy/extensions/common/dynamic_forward_proxy/v3/dns_cache.pb.go index e8a8a058dd..f91d169e8b 100755 --- a/envoy/extensions/common/dynamic_forward_proxy/v3/dns_cache.pb.go +++ b/envoy/extensions/common/dynamic_forward_proxy/v3/dns_cache.pb.go @@ -110,7 +110,7 @@ type DnsCacheConfig struct { DnsRefreshRate *duration.Duration `protobuf:"bytes,3,opt,name=dns_refresh_rate,json=dnsRefreshRate,proto3" json:"dns_refresh_rate,omitempty"` // The minimum rate that DNS resolution will occur. Per “dns_refresh_rate“, once a host is // resolved, the DNS TTL will be used, with a minimum set by “dns_min_refresh_rate“. - // “dns_min_refresh_rate“ defaults to 5s and must also be >= 5s. + // “dns_min_refresh_rate“ defaults to 5s and must also be >= 1s. DnsMinRefreshRate *duration.Duration `protobuf:"bytes,14,opt,name=dns_min_refresh_rate,json=dnsMinRefreshRate,proto3" json:"dns_min_refresh_rate,omitempty"` // The TTL for hosts that are unused. Hosts that have not been used in the configured time // interval will be purged. If not specified defaults to 5m. @@ -369,7 +369,7 @@ var file_envoy_extensions_common_dynamic_forward_proxy_v3_dns_cache_proto_rawDes 0x73, 0x68, 0x5f, 0x72, 0x61, 0x74, 0x65, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x0a, 0xfa, 0x42, 0x07, 0xaa, 0x01, 0x04, - 0x32, 0x02, 0x08, 0x05, 0x52, 0x11, 0x64, 0x6e, 0x73, 0x4d, 0x69, 0x6e, 0x52, 0x65, 0x66, 0x72, + 0x32, 0x02, 0x08, 0x01, 0x52, 0x11, 0x64, 0x6e, 0x73, 0x4d, 0x69, 0x6e, 0x52, 0x65, 0x66, 0x72, 0x65, 0x73, 0x68, 0x52, 0x61, 0x74, 0x65, 0x12, 0x3e, 0x0a, 0x08, 0x68, 0x6f, 0x73, 0x74, 0x5f, 0x74, 0x74, 0x6c, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x44, 0x75, 0x72, 0x61, diff --git a/envoy/extensions/common/dynamic_forward_proxy/v3/dns_cache.pb.validate.go b/envoy/extensions/common/dynamic_forward_proxy/v3/dns_cache.pb.validate.go index e965c467f6..5a3d1a3643 100755 --- a/envoy/extensions/common/dynamic_forward_proxy/v3/dns_cache.pb.validate.go +++ b/envoy/extensions/common/dynamic_forward_proxy/v3/dns_cache.pb.validate.go @@ -259,12 +259,12 @@ func (m *DnsCacheConfig) validate(all bool) error { errors = append(errors, err) } else { - gte := time.Duration(5*time.Second + 0*time.Nanosecond) + gte := time.Duration(1*time.Second + 0*time.Nanosecond) if dur < gte { err := DnsCacheConfigValidationError{ field: "DnsMinRefreshRate", - reason: "value must be greater than or equal to 5s", + reason: "value must be greater than or equal to 1s", } if !all { return err