diff --git a/mesh/v1alpha1/config.pb.go b/mesh/v1alpha1/config.pb.go index 11aaeb7b6ec..b9429aaecbb 100644 --- a/mesh/v1alpha1/config.pb.go +++ b/mesh/v1alpha1/config.pb.go @@ -212,6 +212,16 @@ type MeshConfig struct { ProxyHttpPort int32 `protobuf:"varint,5,opt,name=proxy_http_port,json=proxyHttpPort,proto3" json:"proxy_http_port,omitempty"` // Connection timeout used by Envoy. (MUST BE >=1ms) ConnectTimeout *types.Duration `protobuf:"bytes,6,opt,name=connect_timeout,json=connectTimeout,proto3" json:"connect_timeout,omitempty"` + // Automatic protocol detection uses a set of heuristics to + // determine whether the connection is using TLS or not (on the + // server side), as well as the application protocol being used + // (e.g., http vs tcp). These heuristics rely on the client sending + // the first bits of data. For server first protocols like MySQL, + // MongoDB, etc., Envoy will timeout on the protocol detection after + // the specified period, defaulting to non mTLS plain TCP + // traffic. Set this field to tweak the period that Envoy will wait + // for the client to send the first bits of data. (MUST BE >=1ms) + ProtocolDetectionTimeout *types.Duration `protobuf:"bytes,42,opt,name=protocol_detection_timeout,json=protocolDetectionTimeout,proto3" json:"protocol_detection_timeout,omitempty"` // If set then set SO_KEEPALIVE on the socket to enable TCP Keepalives. TcpKeepalive *v1alpha3.ConnectionPoolSettings_TCPSettings_TcpKeepalive `protobuf:"bytes,28,opt,name=tcp_keepalive,json=tcpKeepalive,proto3" json:"tcp_keepalive,omitempty"` // Class of ingress resources to be processed by Istio ingress @@ -450,6 +460,13 @@ func (m *MeshConfig) GetConnectTimeout() *types.Duration { return nil } +func (m *MeshConfig) GetProtocolDetectionTimeout() *types.Duration { + if m != nil { + return m.ProtocolDetectionTimeout + } + return nil +} + func (m *MeshConfig) GetTcpKeepalive() *v1alpha3.ConnectionPoolSettings_TCPSettings_TcpKeepalive { if m != nil { return m.TcpKeepalive @@ -1043,109 +1060,111 @@ func init() { func init() { proto.RegisterFile("mesh/v1alpha1/config.proto", fileDescriptor_b5c7ece76d5d5022) } var fileDescriptor_b5c7ece76d5d5022 = []byte{ - // 1630 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x57, 0x51, 0x53, 0x1b, 0xc9, - 0x11, 0xf6, 0x0a, 0x6c, 0x70, 0x83, 0x84, 0x34, 0x18, 0xdf, 0x58, 0xce, 0x71, 0x42, 0x17, 0xdb, - 0x0a, 0x95, 0x12, 0x67, 0x5c, 0x57, 0xb1, 0x2f, 0x4f, 0x20, 0x09, 0x03, 0x27, 0x10, 0xb5, 0x5a, - 0x9c, 0x38, 0xf7, 0x30, 0x19, 0x76, 0x47, 0xd2, 0x84, 0xd5, 0xce, 0xd6, 0xce, 0x2c, 0x46, 0xff, - 0x29, 0xa9, 0xca, 0x2f, 0xc8, 0x73, 0x1e, 0xf3, 0x13, 0x52, 0xfe, 0x25, 0xa9, 0x99, 0xd9, 0x45, - 0x02, 0xab, 0x8e, 0x5c, 0xf2, 0xa6, 0xed, 0xfe, 0xfa, 0x9b, 0x99, 0xee, 0x6f, 0xba, 0x47, 0x50, - 0x1d, 0x33, 0x39, 0xda, 0xb9, 0x7a, 0x4d, 0xc3, 0x78, 0x44, 0x5f, 0xef, 0xf8, 0x22, 0x1a, 0xf0, - 0x61, 0x33, 0x4e, 0x84, 0x12, 0x68, 0x9d, 0x4b, 0xc5, 0x45, 0x53, 0x23, 0x9a, 0x39, 0xa2, 0xba, - 0x39, 0x14, 0x62, 0x18, 0xb2, 0x1d, 0x03, 0xb9, 0x48, 0x07, 0x3b, 0x41, 0x9a, 0x50, 0xc5, 0x45, - 0x64, 0x83, 0xaa, 0xcf, 0x6e, 0x13, 0xc6, 0x89, 0xb8, 0x9e, 0x64, 0xae, 0xed, 0x88, 0xa9, 0x4f, - 0x22, 0xb9, 0xe4, 0xd1, 0x30, 0x07, 0xbc, 0xd9, 0x09, 0x98, 0x54, 0x3c, 0x32, 0x0c, 0x24, 0x49, - 0x43, 0x66, 0xb1, 0xf5, 0x7f, 0x3c, 0x05, 0x38, 0x61, 0x72, 0xd4, 0x32, 0x1b, 0x42, 0xbf, 0x05, - 0x34, 0xe6, 0xd7, 0x2c, 0x21, 0xfe, 0x88, 0xf9, 0x97, 0x44, 0xb2, 0xe4, 0x8a, 0x25, 0xd8, 0xa9, - 0x39, 0x8d, 0xc7, 0x6e, 0xd9, 0x78, 0x5a, 0xda, 0xd1, 0x37, 0x76, 0xd4, 0x84, 0x75, 0x8b, 0x4e, - 0x58, 0x2c, 0x12, 0x95, 0xc3, 0x0b, 0x06, 0x5e, 0x31, 0x2e, 0xd7, 0x78, 0x32, 0xfc, 0x2e, 0x6c, - 0x04, 0x5c, 0xd2, 0x8b, 0x90, 0x91, 0x58, 0x84, 0xdc, 0x9f, 0xd8, 0x65, 0x24, 0x5e, 0xa8, 0x39, - 0x8d, 0x65, 0x77, 0x3d, 0x73, 0x9e, 0x19, 0x9f, 0x59, 0x48, 0xa2, 0x37, 0xf0, 0x74, 0x16, 0x4b, - 0x06, 0x94, 0x87, 0x44, 0xc4, 0x2c, 0xc2, 0xcf, 0x6c, 0x50, 0x3c, 0x45, 0x1f, 0x50, 0x1e, 0xf6, - 0x62, 0x16, 0xa1, 0x33, 0x78, 0x21, 0x79, 0xc0, 0x7c, 0x9a, 0x10, 0x25, 0x88, 0x62, 0x21, 0x1b, - 0x33, 0x95, 0x4c, 0x88, 0x64, 0x52, 0xea, 0x04, 0xd0, 0xc1, 0x80, 0x47, 0x5c, 0x4d, 0xf0, 0xa6, - 0xe1, 0xd8, 0xca, 0xc0, 0x9e, 0xf0, 0x72, 0x68, 0xdf, 0x22, 0xf7, 0x32, 0x20, 0xda, 0x86, 0x8a, - 0x49, 0x31, 0x09, 0xb9, 0x54, 0x2c, 0x22, 0xfa, 0x54, 0x78, 0xb1, 0xe6, 0x34, 0x1e, 0xba, 0x6b, - 0xc6, 0xd1, 0x35, 0xf6, 0x33, 0x91, 0x28, 0xf4, 0x12, 0xac, 0x89, 0x8c, 0x94,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0x0f, 0x56, 0x68, 0xaa, 0x46, 0x99, 0xfa, 0x30, 0x98, 0x25, 0xb6, 0xef, 0x5b, - 0x62, 0x2f, 0x55, 0x23, 0xab, 0xc9, 0xfd, 0x02, 0x76, 0x5c, 0xa0, 0x37, 0xdf, 0xe8, 0x08, 0x2a, - 0x49, 0x20, 0x49, 0xc2, 0x06, 0x09, 0x93, 0x23, 0x12, 0xb0, 0x90, 0x4e, 0xf0, 0xca, 0x3d, 0x45, - 0x34, 0x2c, 0x6b, 0x49, 0x20, 0x5d, 0x1b, 0xd6, 0xd6, 0x51, 0xe8, 0x05, 0x94, 0x58, 0x64, 0xee, - 0x86, 0x4a, 0xa8, 0xcf, 0xa3, 0x21, 0x5e, 0x35, 0xe2, 0x2c, 0x5a, 0xab, 0x67, 0x8d, 0x5a, 0x5c, - 0xd4, 0xf7, 0x75, 0xc2, 0x42, 0x31, 0x24, 0x03, 0x1e, 0x32, 0x5c, 0x34, 0xa9, 0x2d, 0x5a, 0x73, - 0x57, 0x0c, 0x0f, 0x78, 0xc8, 0xb4, 0x60, 0x67, 0x71, 0x22, 0x19, 0x53, 0x85, 0xb1, 0x41, 0xae, - 0x4d, 0x91, 0xc6, 0x8c, 0x28, 0xac, 0xcf, 0x60, 0x59, 0xe4, 0x8b, 0x40, 0xaf, 0xff, 0xdc, 0xa4, - 0xe7, 0xf5, 0xbd, 0xe9, 0xc9, 0xd9, 0x3a, 0x59, 0xa0, 0x5b, 0xa1, 0x77, 0x4d, 0xa8, 0x0d, 0xdf, - 0x64, 0xa7, 0x63, 0xd1, 0x95, 0x98, 0x90, 0x99, 0xf5, 0x72, 0x85, 0x34, 0xcc, 0x71, 0x9f, 0x5b, - 0x58, 0x47, 0xa3, 0x6e, 0x98, 0x73, 0xb9, 0xbc, 0x87, 0x52, 0xc0, 0x06, 0x34, 0x0d, 0x15, 0xb1, - 0x1d, 0x14, 0x97, 0x4c, 0xae, 0x6b, 0x73, 0xf7, 0x78, 0xa6, 0x6f, 0x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 0x1c, 0xb5, 0xcc, 0x82, 0xd0, 0xef, + 0x01, 0x8d, 0xf9, 0x15, 0x4b, 0x88, 0x3f, 0x62, 0xfe, 0x05, 0x91, 0x2c, 0xb9, 0x64, 0x09, 0x76, + 0x6a, 0x4e, 0xe3, 0xa1, 0x5b, 0x36, 0x9e, 0x96, 0x76, 0xf4, 0x8d, 0x1d, 0x35, 0x61, 0xdd, 0xa2, + 0x13, 0x16, 0x8b, 0x44, 0xe5, 0xf0, 0x82, 0x81, 0x57, 0x8c, 0xcb, 0x35, 0x9e, 0x0c, 0xbf, 0x0b, + 0x1b, 0x01, 0x97, 0xf4, 0x3c, 0x64, 0x24, 0x16, 0x21, 0xf7, 0x27, 0x76, 0x1a, 0x89, 0x17, 0x6a, + 0x4e, 0x63, 0xd9, 0x5d, 0xcf, 0x9c, 0xa7, 0xc6, 0x67, 0x26, 0x92, 0xe8, 0x35, 0x3c, 0x9e, 0xc5, + 0x92, 0x01, 0xe5, 0x21, 0x11, 0x31, 0x8b, 0xf0, 0x53, 0x1b, 0x14, 0x4f, 0xd1, 0x07, 0x94, 0x87, + 0xbd, 0x98, 0x45, 0xe8, 0x14, 0x9e, 0x4b, 0x1e, 0x30, 0x9f, 0x26, 0x44, 0x09, 0xa2, 0x58, 0xc8, + 0xc6, 0x4c, 0x25, 0x13, 0x22, 0x99, 0x94, 0x3a, 0x01, 0x74, 0x30, 0xe0, 0x11, 0x57, 0x13, 0xbc, + 0x69, 0x38, 0xb6, 0x32, 0xb0, 0x27, 0xbc, 0x1c, 0xda, 0xb7, 0xc8, 0xbd, 0x0c, 0x88, 0xb6, 0xa1, + 0x62, 0x52, 0x4c, 0x42, 0x2e, 0x15, 0x8b, 0x88, 0xde, 0x15, 0x5e, 0xac, 0x39, 0x8d, 0xfb, 0xee, + 0x9a, 0x71, 0x74, 0x8d, 0xfd, 0x54, 0x24, 0x0a, 0xbd, 0x00, 0x6b, 0x22, 0x23, 0xa5, 0x62, 0x8b, + 0xbc, 0x6f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0xf5, 0x7f, 0x03, 0x00, 0x00, 0xff, 0xff, + 0x7a, 0x1a, 0xb0, 0x21, 0x8c, 0x0e, 0x00, 0x00, } func (m *MeshConfig) Marshal() (dAtA []byte, err error) { @@ -1172,6 +1191,20 @@ func (m *MeshConfig) MarshalToSizedBuffer(dAtA []byte) (int, error) { i -= len(m.XXX_unrecognized) copy(dAtA[i:], m.XXX_unrecognized) } + if m.ProtocolDetectionTimeout != nil { + { + size, err := m.ProtocolDetectionTimeout.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintConfig(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x2 + i-- + dAtA[i] = 0xd2 + } if m.H2UpgradePolicy != 0 { i = encodeVarintConfig(dAtA, i, uint64(m.H2UpgradePolicy)) i-- @@ -1959,6 +1992,10 @@ func (m *MeshConfig) Size() (n int) { if m.H2UpgradePolicy != 0 { n += 2 + sovConfig(uint64(m.H2UpgradePolicy)) } + if m.ProtocolDetectionTimeout != nil { + l = m.ProtocolDetectionTimeout.Size() + n += 2 + l + sovConfig(uint64(l)) + } if m.XXX_unrecognized != nil { n += len(m.XXX_unrecognized) } @@ -3190,6 +3227,42 @@ func (m *MeshConfig) Unmarshal(dAtA []byte) error { break } } + case 42: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ProtocolDetectionTimeout", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowConfig + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthConfig + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthConfig + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.ProtocolDetectionTimeout == nil { + m.ProtocolDetectionTimeout = &types.Duration{} + } + if err := m.ProtocolDetectionTimeout.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipConfig(dAtA[iNdEx:]) diff --git a/mesh/v1alpha1/config.proto b/mesh/v1alpha1/config.proto index 631366550db..1bfbfac7fda 100644 --- a/mesh/v1alpha1/config.proto +++ b/mesh/v1alpha1/config.proto @@ -74,6 +74,17 @@ message MeshConfig { // Connection timeout used by Envoy. (MUST BE >=1ms) google.protobuf.Duration connect_timeout = 6; + // Automatic protocol detection uses a set of heuristics to + // determine whether the connection is using TLS or not (on the + // server side), as well as the application protocol being used + // (e.g., http vs tcp). These heuristics rely on the client sending + // the first bits of data. For server first protocols like MySQL, + // MongoDB, etc., Envoy will timeout on the protocol detection after + // the specified period, defaulting to non mTLS plain TCP + // traffic. Set this field to tweak the period that Envoy will wait + // for the client to send the first bits of data. (MUST BE >=1ms) + google.protobuf.Duration protocol_detection_timeout = 42; + // If set then set SO_KEEPALIVE on the socket to enable TCP Keepalives. istio.networking.v1alpha3.ConnectionPoolSettings.TCPSettings.TcpKeepalive tcp_keepalive = 28; @@ -307,7 +318,7 @@ message MeshConfig { H2UpgradePolicy h2_upgrade_policy = 41; // $hide_from_docs - // Next available field number: 42 + // Next available field number: 43 } // ConfigSource describes information about a configuration store inside a diff --git a/mesh/v1alpha1/istio.mesh.v1alpha1.json b/mesh/v1alpha1/istio.mesh.v1alpha1.json index 27c67fc7f33..01e8117bc4e 100644 --- a/mesh/v1alpha1/istio.mesh.v1alpha1.json +++ b/mesh/v1alpha1/istio.mesh.v1alpha1.json @@ -54,6 +54,9 @@ "type": "integer", "format": "int32" }, + "protocolDetectionTimeout": { + "$ref": "#/components/schemas/google.protobuf.Duration" + }, "ingressClass": { "description": "Class of ingress resources to be processed by Istio ingress controller. This corresponds to the value of \"kubernetes.io/ingress.class\" annotation.", "type": "string", diff --git a/mesh/v1alpha1/istio.mesh.v1alpha1.pb.html b/mesh/v1alpha1/istio.mesh.v1alpha1.pb.html index 9a27c36be8c..9738251fcb0 100644 --- a/mesh/v1alpha1/istio.mesh.v1alpha1.pb.html +++ b/mesh/v1alpha1/istio.mesh.v1alpha1.pb.html @@ -344,6 +344,22 @@

MeshConfig

Connection timeout used by Envoy. (MUST BE >=1ms)

+ + + +protocolDetectionTimeout +google.protobuf.Duration + +

Automatic protocol detection uses a set of heuristics to +determine whether the connection is using TLS or not (on the +server side), as well as the application protocol being used +(e.g., http vs tcp). These heuristics rely on the client sending +the first bits of data. For server first protocols like MySQL, +MongoDB, etc., Envoy will timeout on the protocol detection after +the specified period, defaulting to non mTLS plain TCP +traffic. Set this field to tweak the period that Envoy will wait +for the client to send the first bits of data. (MUST BE >=1ms)

+ diff --git a/proto.lock b/proto.lock index 069d9701468..b3a8de7a2ef 100644 --- a/proto.lock +++ b/proto.lock @@ -1024,6 +1024,11 @@ "name": "connect_timeout", "type": "google.protobuf.Duration" }, + { + "id": 42, + "name": "protocol_detection_timeout", + "type": "google.protobuf.Duration" + }, { "id": 28, "name": "tcp_keepalive", diff --git a/python/istio_api/mesh/v1alpha1/config_pb2.py b/python/istio_api/mesh/v1alpha1/config_pb2.py index 1d8821f3dc2..c76f3f8c488 100644 --- a/python/istio_api/mesh/v1alpha1/config_pb2.py +++ b/python/istio_api/mesh/v1alpha1/config_pb2.py @@ -22,7 +22,7 @@ package='istio.mesh.v1alpha1', syntax='proto3', serialized_options=_b('Z\032istio.io/api/mesh/v1alpha1'), - serialized_pb=_b('\n\x1amesh/v1alpha1/config.proto\x12\x13istio.mesh.v1alpha1\x1a\x1egoogle/protobuf/duration.proto\x1a\x19mesh/v1alpha1/proxy.proto\x1a*networking/v1alpha3/destination_rule.proto\"\xcf\x10\n\nMeshConfig\x12\x1a\n\x12mixer_check_server\x18\x01 \x01(\t\x12\x1b\n\x13mixer_report_server\x18\x02 \x01(\t\x12\x1d\n\x15\x64isable_policy_checks\x18\x03 \x01(\x08\x12\x1e\n\x16policy_check_fail_open\x18\x19 \x01(\x08\x12-\n%sidecar_to_telemetry_session_affinity\x18\x1e \x01(\x08\x12\x19\n\x11proxy_listen_port\x18\x04 \x01(\x05\x12\x17\n\x0fproxy_http_port\x18\x05 \x01(\x05\x12\x32\n\x0f\x63onnect_timeout\x18\x06 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x61\n\rtcp_keepalive\x18\x1c \x01(\x0b\x32J.istio.networking.v1alpha3.ConnectionPoolSettings.TCPSettings.TcpKeepalive\x12\x15\n\ringress_class\x18\x07 \x01(\t\x12\x17\n\x0fingress_service\x18\x08 \x01(\t\x12V\n\x17ingress_controller_mode\x18\t \x01(\x0e\x32\x35.istio.mesh.v1alpha1.MeshConfig.IngressControllerMode\x12\x43\n\x0b\x61uth_policy\x18\n \x01(\x0e\x32*.istio.mesh.v1alpha1.MeshConfig.AuthPolicyB\x02\x18\x01\x12\x38\n\x11rds_refresh_delay\x18\x0b \x01(\x0b\x32\x19.google.protobuf.DurationB\x02\x18\x01\x12\x16\n\x0e\x65nable_tracing\x18\x0c \x01(\x08\x12\x17\n\x0f\x61\x63\x63\x65ss_log_file\x18\r \x01(\t\x12\x19\n\x11\x61\x63\x63\x65ss_log_format\x18\x18 \x01(\t\x12N\n\x13\x61\x63\x63\x65ss_log_encoding\x18\x1b \x01(\x0e\x32\x31.istio.mesh.v1alpha1.MeshConfig.AccessLogEncoding\x12\'\n\x1f\x65nable_envoy_access_log_service\x18( \x01(\x08\x12\x38\n\x0e\x64\x65\x66\x61ult_config\x18\x0e \x01(\x0b\x32 .istio.mesh.v1alpha1.ProxyConfig\x12\x19\n\rmixer_address\x18\x10 \x01(\tB\x02\x18\x01\x12V\n\x17outbound_traffic_policy\x18\x11 \x01(\x0b\x32\x35.istio.mesh.v1alpha1.MeshConfig.OutboundTrafficPolicy\x12\'\n\x1f\x65nable_client_side_policy_check\x18\x13 \x01(\x08\x12\x14\n\x0csds_uds_path\x18\x14 \x01(\t\x12\x38\n\x11sds_refresh_delay\x18\x15 \x01(\x0b\x32\x19.google.protobuf.DurationB\x02\x18\x01\x12\x39\n\x0e\x63onfig_sources\x18\x16 \x03(\x0b\x32!.istio.mesh.v1alpha1.ConfigSource\x12\x1e\n\x16\x65nable_sds_token_mount\x18\x17 \x01(\x08\x12\x1a\n\x12sds_use_k8s_sa_jwt\x18\x1d \x01(\x08\x12\x14\n\x0ctrust_domain\x18\x1a \x01(\t\x12!\n\x19\x64\x65\x66\x61ult_service_export_to\x18\x1f \x03(\t\x12)\n!default_virtual_service_export_to\x18 \x03(\t\x12*\n\"default_destination_rule_export_to\x18! \x03(\t\x12\x16\n\x0eroot_namespace\x18\" \x01(\t\x12M\n\x13locality_lb_setting\x18# \x01(\x0b\x32\x30.istio.mesh.v1alpha1.LocalityLoadBalancerSetting\x12\x33\n\x10\x64ns_refresh_rate\x18$ \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x1c\n\x14\x64isable_report_batch\x18% \x01(\x08\x12 \n\x18report_batch_max_entries\x18& \x01(\r\x12\x38\n\x15report_batch_max_time\x18\' \x01(\x0b\x32\x19.google.protobuf.Duration\x12J\n\x11h2_upgrade_policy\x18) \x01(\x0e\x32/.istio.mesh.v1alpha1.MeshConfig.H2UpgradePolicy\x1a\xa7\x01\n\x15OutboundTrafficPolicy\x12H\n\x04mode\x18\x01 \x01(\x0e\x32:.istio.mesh.v1alpha1.MeshConfig.OutboundTrafficPolicy.Mode\"D\n\x04Mode\x12\x11\n\rREGISTRY_ONLY\x10\x00\x12\r\n\tALLOW_ANY\x10\x01\"\x04\x08\x02\x10\x02*\x14VIRTUAL_SERVICE_ONLY\"9\n\x15IngressControllerMode\x12\x07\n\x03OFF\x10\x00\x12\x0b\n\x07\x44\x45\x46\x41ULT\x10\x01\x12\n\n\x06STRICT\x10\x02\"&\n\nAuthPolicy\x12\x08\n\x04NONE\x10\x00\x12\x0e\n\nMUTUAL_TLS\x10\x01\"\'\n\x11\x41\x63\x63\x65ssLogEncoding\x12\x08\n\x04TEXT\x10\x00\x12\x08\n\x04JSON\x10\x01\"2\n\x0fH2UpgradePolicy\x12\x12\n\x0e\x44O_NOT_UPGRADE\x10\x00\x12\x0b\n\x07UPGRADE\x10\x01J\x04\x08\x0f\x10\x10J\x04\x08\x12\x10\x13\"]\n\x0c\x43onfigSource\x12\x0f\n\x07\x61\x64\x64ress\x18\x01 \x01(\t\x12<\n\x0ctls_settings\x18\x02 \x01(\x0b\x32&.istio.networking.v1alpha3.TLSSettings\"\xfa\x02\n\x1bLocalityLoadBalancerSetting\x12O\n\ndistribute\x18\x01 \x03(\x0b\x32;.istio.mesh.v1alpha1.LocalityLoadBalancerSetting.Distribute\x12K\n\x08\x66\x61ilover\x18\x02 \x03(\x0b\x32\x39.istio.mesh.v1alpha1.LocalityLoadBalancerSetting.Failover\x1a\x96\x01\n\nDistribute\x12\x0c\n\x04\x66rom\x18\x01 \x01(\t\x12O\n\x02to\x18\x02 \x03(\x0b\x32\x43.istio.mesh.v1alpha1.LocalityLoadBalancerSetting.Distribute.ToEntry\x1a)\n\x07ToEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\r:\x02\x38\x01\x1a$\n\x08\x46\x61ilover\x12\x0c\n\x04\x66rom\x18\x01 \x01(\t\x12\n\n\x02to\x18\x02 \x01(\tB\x1cZ\x1aistio.io/api/mesh/v1alpha1b\x06proto3') + serialized_pb=_b('\n\x1amesh/v1alpha1/config.proto\x12\x13istio.mesh.v1alpha1\x1a\x1egoogle/protobuf/duration.proto\x1a\x19mesh/v1alpha1/proxy.proto\x1a*networking/v1alpha3/destination_rule.proto\"\x8e\x11\n\nMeshConfig\x12\x1a\n\x12mixer_check_server\x18\x01 \x01(\t\x12\x1b\n\x13mixer_report_server\x18\x02 \x01(\t\x12\x1d\n\x15\x64isable_policy_checks\x18\x03 \x01(\x08\x12\x1e\n\x16policy_check_fail_open\x18\x19 \x01(\x08\x12-\n%sidecar_to_telemetry_session_affinity\x18\x1e \x01(\x08\x12\x19\n\x11proxy_listen_port\x18\x04 \x01(\x05\x12\x17\n\x0fproxy_http_port\x18\x05 \x01(\x05\x12\x32\n\x0f\x63onnect_timeout\x18\x06 \x01(\x0b\x32\x19.google.protobuf.Duration\x12=\n\x1aprotocol_detection_timeout\x18* \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x61\n\rtcp_keepalive\x18\x1c \x01(\x0b\x32J.istio.networking.v1alpha3.ConnectionPoolSettings.TCPSettings.TcpKeepalive\x12\x15\n\ringress_class\x18\x07 \x01(\t\x12\x17\n\x0fingress_service\x18\x08 \x01(\t\x12V\n\x17ingress_controller_mode\x18\t \x01(\x0e\x32\x35.istio.mesh.v1alpha1.MeshConfig.IngressControllerMode\x12\x43\n\x0b\x61uth_policy\x18\n \x01(\x0e\x32*.istio.mesh.v1alpha1.MeshConfig.AuthPolicyB\x02\x18\x01\x12\x38\n\x11rds_refresh_delay\x18\x0b \x01(\x0b\x32\x19.google.protobuf.DurationB\x02\x18\x01\x12\x16\n\x0e\x65nable_tracing\x18\x0c \x01(\x08\x12\x17\n\x0f\x61\x63\x63\x65ss_log_file\x18\r \x01(\t\x12\x19\n\x11\x61\x63\x63\x65ss_log_format\x18\x18 \x01(\t\x12N\n\x13\x61\x63\x63\x65ss_log_encoding\x18\x1b \x01(\x0e\x32\x31.istio.mesh.v1alpha1.MeshConfig.AccessLogEncoding\x12\'\n\x1f\x65nable_envoy_access_log_service\x18( \x01(\x08\x12\x38\n\x0e\x64\x65\x66\x61ult_config\x18\x0e \x01(\x0b\x32 .istio.mesh.v1alpha1.ProxyConfig\x12\x19\n\rmixer_address\x18\x10 \x01(\tB\x02\x18\x01\x12V\n\x17outbound_traffic_policy\x18\x11 \x01(\x0b\x32\x35.istio.mesh.v1alpha1.MeshConfig.OutboundTrafficPolicy\x12\'\n\x1f\x65nable_client_side_policy_check\x18\x13 \x01(\x08\x12\x14\n\x0csds_uds_path\x18\x14 \x01(\t\x12\x38\n\x11sds_refresh_delay\x18\x15 \x01(\x0b\x32\x19.google.protobuf.DurationB\x02\x18\x01\x12\x39\n\x0e\x63onfig_sources\x18\x16 \x03(\x0b\x32!.istio.mesh.v1alpha1.ConfigSource\x12\x1e\n\x16\x65nable_sds_token_mount\x18\x17 \x01(\x08\x12\x1a\n\x12sds_use_k8s_sa_jwt\x18\x1d \x01(\x08\x12\x14\n\x0ctrust_domain\x18\x1a \x01(\t\x12!\n\x19\x64\x65\x66\x61ult_service_export_to\x18\x1f \x03(\t\x12)\n!default_virtual_service_export_to\x18 \x03(\t\x12*\n\"default_destination_rule_export_to\x18! \x03(\t\x12\x16\n\x0eroot_namespace\x18\" \x01(\t\x12M\n\x13locality_lb_setting\x18# \x01(\x0b\x32\x30.istio.mesh.v1alpha1.LocalityLoadBalancerSetting\x12\x33\n\x10\x64ns_refresh_rate\x18$ \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x1c\n\x14\x64isable_report_batch\x18% \x01(\x08\x12 \n\x18report_batch_max_entries\x18& \x01(\r\x12\x38\n\x15report_batch_max_time\x18\' \x01(\x0b\x32\x19.google.protobuf.Duration\x12J\n\x11h2_upgrade_policy\x18) \x01(\x0e\x32/.istio.mesh.v1alpha1.MeshConfig.H2UpgradePolicy\x1a\xa7\x01\n\x15OutboundTrafficPolicy\x12H\n\x04mode\x18\x01 \x01(\x0e\x32:.istio.mesh.v1alpha1.MeshConfig.OutboundTrafficPolicy.Mode\"D\n\x04Mode\x12\x11\n\rREGISTRY_ONLY\x10\x00\x12\r\n\tALLOW_ANY\x10\x01\"\x04\x08\x02\x10\x02*\x14VIRTUAL_SERVICE_ONLY\"9\n\x15IngressControllerMode\x12\x07\n\x03OFF\x10\x00\x12\x0b\n\x07\x44\x45\x46\x41ULT\x10\x01\x12\n\n\x06STRICT\x10\x02\"&\n\nAuthPolicy\x12\x08\n\x04NONE\x10\x00\x12\x0e\n\nMUTUAL_TLS\x10\x01\"\'\n\x11\x41\x63\x63\x65ssLogEncoding\x12\x08\n\x04TEXT\x10\x00\x12\x08\n\x04JSON\x10\x01\"2\n\x0fH2UpgradePolicy\x12\x12\n\x0e\x44O_NOT_UPGRADE\x10\x00\x12\x0b\n\x07UPGRADE\x10\x01J\x04\x08\x0f\x10\x10J\x04\x08\x12\x10\x13\"]\n\x0c\x43onfigSource\x12\x0f\n\x07\x61\x64\x64ress\x18\x01 \x01(\t\x12<\n\x0ctls_settings\x18\x02 \x01(\x0b\x32&.istio.networking.v1alpha3.TLSSettings\"\xfa\x02\n\x1bLocalityLoadBalancerSetting\x12O\n\ndistribute\x18\x01 \x03(\x0b\x32;.istio.mesh.v1alpha1.LocalityLoadBalancerSetting.Distribute\x12K\n\x08\x66\x61ilover\x18\x02 \x03(\x0b\x32\x39.istio.mesh.v1alpha1.LocalityLoadBalancerSetting.Failover\x1a\x96\x01\n\nDistribute\x12\x0c\n\x04\x66rom\x18\x01 \x01(\t\x12O\n\x02to\x18\x02 \x03(\x0b\x32\x43.istio.mesh.v1alpha1.LocalityLoadBalancerSetting.Distribute.ToEntry\x1a)\n\x07ToEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\r:\x02\x38\x01\x1a$\n\x08\x46\x61ilover\x12\x0c\n\x04\x66rom\x18\x01 \x01(\t\x12\n\n\x02to\x18\x02 \x01(\tB\x1cZ\x1aistio.io/api/mesh/v1alpha1b\x06proto3') , dependencies=[google_dot_protobuf_dot_duration__pb2.DESCRIPTOR,mesh_dot_v1alpha1_dot_proxy__pb2.DESCRIPTOR,networking_dot_v1alpha3_dot_destination__rule__pb2.DESCRIPTOR,]) @@ -45,8 +45,8 @@ ], containing_type=None, serialized_options=None, - serialized_start=2010, - serialized_end=2078, + serialized_start=2073, + serialized_end=2141, ) _sym_db.RegisterEnumDescriptor(_MESHCONFIG_OUTBOUNDTRAFFICPOLICY_MODE) @@ -71,8 +71,8 @@ ], containing_type=None, serialized_options=None, - serialized_start=2080, - serialized_end=2137, + serialized_start=2143, + serialized_end=2200, ) _sym_db.RegisterEnumDescriptor(_MESHCONFIG_INGRESSCONTROLLERMODE) @@ -93,8 +93,8 @@ ], containing_type=None, serialized_options=None, - serialized_start=2139, - serialized_end=2177, + serialized_start=2202, + serialized_end=2240, ) _sym_db.RegisterEnumDescriptor(_MESHCONFIG_AUTHPOLICY) @@ -115,8 +115,8 @@ ], containing_type=None, serialized_options=None, - serialized_start=2179, - serialized_end=2218, + serialized_start=2242, + serialized_end=2281, ) _sym_db.RegisterEnumDescriptor(_MESHCONFIG_ACCESSLOGENCODING) @@ -137,8 +137,8 @@ ], containing_type=None, serialized_options=None, - serialized_start=2220, - serialized_end=2270, + serialized_start=2283, + serialized_end=2333, ) _sym_db.RegisterEnumDescriptor(_MESHCONFIG_H2UPGRADEPOLICY) @@ -170,8 +170,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=1911, - serialized_end=2078, + serialized_start=1974, + serialized_end=2141, ) _MESHCONFIG = _descriptor.Descriptor( @@ -238,217 +238,224 @@ is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='tcp_keepalive', full_name='istio.mesh.v1alpha1.MeshConfig.tcp_keepalive', index=8, + name='protocol_detection_timeout', full_name='istio.mesh.v1alpha1.MeshConfig.protocol_detection_timeout', index=8, + number=42, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='tcp_keepalive', full_name='istio.mesh.v1alpha1.MeshConfig.tcp_keepalive', index=9, number=28, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='ingress_class', full_name='istio.mesh.v1alpha1.MeshConfig.ingress_class', index=9, + name='ingress_class', full_name='istio.mesh.v1alpha1.MeshConfig.ingress_class', index=10, number=7, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='ingress_service', full_name='istio.mesh.v1alpha1.MeshConfig.ingress_service', index=10, + name='ingress_service', full_name='istio.mesh.v1alpha1.MeshConfig.ingress_service', index=11, number=8, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='ingress_controller_mode', full_name='istio.mesh.v1alpha1.MeshConfig.ingress_controller_mode', index=11, + name='ingress_controller_mode', full_name='istio.mesh.v1alpha1.MeshConfig.ingress_controller_mode', index=12, number=9, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='auth_policy', full_name='istio.mesh.v1alpha1.MeshConfig.auth_policy', index=12, + name='auth_policy', full_name='istio.mesh.v1alpha1.MeshConfig.auth_policy', index=13, number=10, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=_b('\030\001'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='rds_refresh_delay', full_name='istio.mesh.v1alpha1.MeshConfig.rds_refresh_delay', index=13, + name='rds_refresh_delay', full_name='istio.mesh.v1alpha1.MeshConfig.rds_refresh_delay', index=14, number=11, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=_b('\030\001'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='enable_tracing', full_name='istio.mesh.v1alpha1.MeshConfig.enable_tracing', index=14, + name='enable_tracing', full_name='istio.mesh.v1alpha1.MeshConfig.enable_tracing', index=15, number=12, type=8, cpp_type=7, label=1, has_default_value=False, default_value=False, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='access_log_file', full_name='istio.mesh.v1alpha1.MeshConfig.access_log_file', index=15, + name='access_log_file', full_name='istio.mesh.v1alpha1.MeshConfig.access_log_file', index=16, number=13, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='access_log_format', full_name='istio.mesh.v1alpha1.MeshConfig.access_log_format', index=16, + name='access_log_format', full_name='istio.mesh.v1alpha1.MeshConfig.access_log_format', index=17, number=24, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='access_log_encoding', full_name='istio.mesh.v1alpha1.MeshConfig.access_log_encoding', index=17, + name='access_log_encoding', full_name='istio.mesh.v1alpha1.MeshConfig.access_log_encoding', index=18, number=27, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='enable_envoy_access_log_service', full_name='istio.mesh.v1alpha1.MeshConfig.enable_envoy_access_log_service', index=18, + name='enable_envoy_access_log_service', full_name='istio.mesh.v1alpha1.MeshConfig.enable_envoy_access_log_service', index=19, number=40, type=8, cpp_type=7, label=1, has_default_value=False, default_value=False, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='default_config', full_name='istio.mesh.v1alpha1.MeshConfig.default_config', index=19, + name='default_config', full_name='istio.mesh.v1alpha1.MeshConfig.default_config', index=20, number=14, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='mixer_address', full_name='istio.mesh.v1alpha1.MeshConfig.mixer_address', index=20, + name='mixer_address', full_name='istio.mesh.v1alpha1.MeshConfig.mixer_address', index=21, number=16, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=_b('\030\001'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='outbound_traffic_policy', full_name='istio.mesh.v1alpha1.MeshConfig.outbound_traffic_policy', index=21, + name='outbound_traffic_policy', full_name='istio.mesh.v1alpha1.MeshConfig.outbound_traffic_policy', index=22, number=17, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='enable_client_side_policy_check', full_name='istio.mesh.v1alpha1.MeshConfig.enable_client_side_policy_check', index=22, + name='enable_client_side_policy_check', full_name='istio.mesh.v1alpha1.MeshConfig.enable_client_side_policy_check', index=23, number=19, type=8, cpp_type=7, label=1, has_default_value=False, default_value=False, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='sds_uds_path', full_name='istio.mesh.v1alpha1.MeshConfig.sds_uds_path', index=23, + name='sds_uds_path', full_name='istio.mesh.v1alpha1.MeshConfig.sds_uds_path', index=24, number=20, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='sds_refresh_delay', full_name='istio.mesh.v1alpha1.MeshConfig.sds_refresh_delay', index=24, + name='sds_refresh_delay', full_name='istio.mesh.v1alpha1.MeshConfig.sds_refresh_delay', index=25, number=21, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=_b('\030\001'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='config_sources', full_name='istio.mesh.v1alpha1.MeshConfig.config_sources', index=25, + name='config_sources', full_name='istio.mesh.v1alpha1.MeshConfig.config_sources', index=26, number=22, type=11, cpp_type=10, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='enable_sds_token_mount', full_name='istio.mesh.v1alpha1.MeshConfig.enable_sds_token_mount', index=26, + name='enable_sds_token_mount', full_name='istio.mesh.v1alpha1.MeshConfig.enable_sds_token_mount', index=27, number=23, type=8, cpp_type=7, label=1, has_default_value=False, default_value=False, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='sds_use_k8s_sa_jwt', full_name='istio.mesh.v1alpha1.MeshConfig.sds_use_k8s_sa_jwt', index=27, + name='sds_use_k8s_sa_jwt', full_name='istio.mesh.v1alpha1.MeshConfig.sds_use_k8s_sa_jwt', index=28, number=29, type=8, cpp_type=7, label=1, has_default_value=False, default_value=False, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='trust_domain', full_name='istio.mesh.v1alpha1.MeshConfig.trust_domain', index=28, + name='trust_domain', full_name='istio.mesh.v1alpha1.MeshConfig.trust_domain', index=29, number=26, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='default_service_export_to', full_name='istio.mesh.v1alpha1.MeshConfig.default_service_export_to', index=29, + name='default_service_export_to', full_name='istio.mesh.v1alpha1.MeshConfig.default_service_export_to', index=30, number=31, type=9, cpp_type=9, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='default_virtual_service_export_to', full_name='istio.mesh.v1alpha1.MeshConfig.default_virtual_service_export_to', index=30, + name='default_virtual_service_export_to', full_name='istio.mesh.v1alpha1.MeshConfig.default_virtual_service_export_to', index=31, number=32, type=9, cpp_type=9, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='default_destination_rule_export_to', full_name='istio.mesh.v1alpha1.MeshConfig.default_destination_rule_export_to', index=31, + name='default_destination_rule_export_to', full_name='istio.mesh.v1alpha1.MeshConfig.default_destination_rule_export_to', index=32, number=33, type=9, cpp_type=9, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='root_namespace', full_name='istio.mesh.v1alpha1.MeshConfig.root_namespace', index=32, + name='root_namespace', full_name='istio.mesh.v1alpha1.MeshConfig.root_namespace', index=33, number=34, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='locality_lb_setting', full_name='istio.mesh.v1alpha1.MeshConfig.locality_lb_setting', index=33, + name='locality_lb_setting', full_name='istio.mesh.v1alpha1.MeshConfig.locality_lb_setting', index=34, number=35, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='dns_refresh_rate', full_name='istio.mesh.v1alpha1.MeshConfig.dns_refresh_rate', index=34, + name='dns_refresh_rate', full_name='istio.mesh.v1alpha1.MeshConfig.dns_refresh_rate', index=35, number=36, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='disable_report_batch', full_name='istio.mesh.v1alpha1.MeshConfig.disable_report_batch', index=35, + name='disable_report_batch', full_name='istio.mesh.v1alpha1.MeshConfig.disable_report_batch', index=36, number=37, type=8, cpp_type=7, label=1, has_default_value=False, default_value=False, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='report_batch_max_entries', full_name='istio.mesh.v1alpha1.MeshConfig.report_batch_max_entries', index=36, + name='report_batch_max_entries', full_name='istio.mesh.v1alpha1.MeshConfig.report_batch_max_entries', index=37, number=38, type=13, cpp_type=3, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='report_batch_max_time', full_name='istio.mesh.v1alpha1.MeshConfig.report_batch_max_time', index=37, + name='report_batch_max_time', full_name='istio.mesh.v1alpha1.MeshConfig.report_batch_max_time', index=38, number=39, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='h2_upgrade_policy', full_name='istio.mesh.v1alpha1.MeshConfig.h2_upgrade_policy', index=38, + name='h2_upgrade_policy', full_name='istio.mesh.v1alpha1.MeshConfig.h2_upgrade_policy', index=39, number=41, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, @@ -471,7 +478,7 @@ oneofs=[ ], serialized_start=155, - serialized_end=2282, + serialized_end=2345, ) @@ -508,8 +515,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=2284, - serialized_end=2377, + serialized_start=2347, + serialized_end=2440, ) @@ -546,8 +553,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=2679, - serialized_end=2720, + serialized_start=2742, + serialized_end=2783, ) _LOCALITYLOADBALANCERSETTING_DISTRIBUTE = _descriptor.Descriptor( @@ -583,8 +590,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=2570, - serialized_end=2720, + serialized_start=2633, + serialized_end=2783, ) _LOCALITYLOADBALANCERSETTING_FAILOVER = _descriptor.Descriptor( @@ -620,8 +627,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=2722, - serialized_end=2758, + serialized_start=2785, + serialized_end=2821, ) _LOCALITYLOADBALANCERSETTING = _descriptor.Descriptor( @@ -657,14 +664,15 @@ extension_ranges=[], oneofs=[ ], - serialized_start=2380, - serialized_end=2758, + serialized_start=2443, + serialized_end=2821, ) _MESHCONFIG_OUTBOUNDTRAFFICPOLICY.fields_by_name['mode'].enum_type = _MESHCONFIG_OUTBOUNDTRAFFICPOLICY_MODE _MESHCONFIG_OUTBOUNDTRAFFICPOLICY.containing_type = _MESHCONFIG _MESHCONFIG_OUTBOUNDTRAFFICPOLICY_MODE.containing_type = _MESHCONFIG_OUTBOUNDTRAFFICPOLICY _MESHCONFIG.fields_by_name['connect_timeout'].message_type = google_dot_protobuf_dot_duration__pb2._DURATION +_MESHCONFIG.fields_by_name['protocol_detection_timeout'].message_type = google_dot_protobuf_dot_duration__pb2._DURATION _MESHCONFIG.fields_by_name['tcp_keepalive'].message_type = networking_dot_v1alpha3_dot_destination__rule__pb2._CONNECTIONPOOLSETTINGS_TCPSETTINGS_TCPKEEPALIVE _MESHCONFIG.fields_by_name['ingress_controller_mode'].enum_type = _MESHCONFIG_INGRESSCONTROLLERMODE _MESHCONFIG.fields_by_name['auth_policy'].enum_type = _MESHCONFIG_AUTHPOLICY