Define interception_mode field in ProxyConfig (#444)

Signed-off-by: Romain Lenglet <romain@covalent.io>
This commit is contained in:
Romain Lenglet 2018-04-10 06:31:14 -07:00 committed by Shriram Rajagopalan
parent 80900db86e
commit bf7eff00d3
4 changed files with 238 additions and 100 deletions

View File

@ -61,6 +61,38 @@ func (x AuthenticationPolicy) String() string {
}
func (AuthenticationPolicy) EnumDescriptor() ([]byte, []int) { return fileDescriptor0, []int{0} }
// The mode used to redirect inbound traffic to Envoy.
// This setting has no effect on outbound traffic: iptables REDIRECT is always used for
// outbound connections.
type ProxyConfig_InboundInterceptionMode int32
const (
// The REDIRECT mode uses iptables REDIRECT to NAT and redirect to Envoy. This mode loses
// source IP addresses during redirection.
ProxyConfig_REDIRECT ProxyConfig_InboundInterceptionMode = 0
// The TPROXY mode uses iptables TPROXY to redirect to Envoy. This mode preserves both the
// source and destination IP addresses and ports, so that they can be used for advanced
// filtering and manipulation. This mode also configures the sidecar to run with the
// CAP_NET_ADMIN capability, which is required to use TPROXY.
ProxyConfig_TPROXY ProxyConfig_InboundInterceptionMode = 1
)
var ProxyConfig_InboundInterceptionMode_name = map[int32]string{
0: "REDIRECT",
1: "TPROXY",
}
var ProxyConfig_InboundInterceptionMode_value = map[string]int32{
"REDIRECT": 0,
"TPROXY": 1,
}
func (x ProxyConfig_InboundInterceptionMode) String() string {
return proto.EnumName(ProxyConfig_InboundInterceptionMode_name, int32(x))
}
func (ProxyConfig_InboundInterceptionMode) EnumDescriptor() ([]byte, []int) {
return fileDescriptor0, []int{0, 0}
}
type MeshConfig_IngressControllerMode int32
const (
@ -248,6 +280,8 @@ type ProxyConfig struct {
Concurrency int32 `protobuf:"varint,16,opt,name=concurrency" json:"concurrency,omitempty"`
// Path to the proxy bootstrap template file
ProxyBootstrapTemplatePath string `protobuf:"bytes,17,opt,name=proxy_bootstrap_template_path,json=proxyBootstrapTemplatePath" json:"proxy_bootstrap_template_path,omitempty"`
// The mode used to redirect inbound traffic to Envoy.
InterceptionMode ProxyConfig_InboundInterceptionMode `protobuf:"varint,18,opt,name=interception_mode,json=interceptionMode,enum=istio.mesh.v1alpha1.ProxyConfig_InboundInterceptionMode" json:"interception_mode,omitempty"`
}
func (m *ProxyConfig) Reset() { *m = ProxyConfig{} }
@ -374,6 +408,13 @@ func (m *ProxyConfig) GetProxyBootstrapTemplatePath() string {
return ""
}
func (m *ProxyConfig) GetInterceptionMode() ProxyConfig_InboundInterceptionMode {
if m != nil {
return m.InterceptionMode
}
return ProxyConfig_REDIRECT
}
// MeshConfig defines mesh-wide variables shared by all Envoy instances in the
// Istio service mesh.
type MeshConfig struct {
@ -669,6 +710,7 @@ func init() {
proto.RegisterType((*MeshConfig_RbacConfig)(nil), "istio.mesh.v1alpha1.MeshConfig.RbacConfig")
proto.RegisterType((*MeshConfig_RbacConfig_Target)(nil), "istio.mesh.v1alpha1.MeshConfig.RbacConfig.Target")
proto.RegisterEnum("istio.mesh.v1alpha1.AuthenticationPolicy", AuthenticationPolicy_name, AuthenticationPolicy_value)
proto.RegisterEnum("istio.mesh.v1alpha1.ProxyConfig_InboundInterceptionMode", ProxyConfig_InboundInterceptionMode_name, ProxyConfig_InboundInterceptionMode_value)
proto.RegisterEnum("istio.mesh.v1alpha1.MeshConfig_IngressControllerMode", MeshConfig_IngressControllerMode_name, MeshConfig_IngressControllerMode_value)
proto.RegisterEnum("istio.mesh.v1alpha1.MeshConfig_AuthPolicy", MeshConfig_AuthPolicy_name, MeshConfig_AuthPolicy_value)
proto.RegisterEnum("istio.mesh.v1alpha1.MeshConfig_OutboundTrafficPolicy_Mode", MeshConfig_OutboundTrafficPolicy_Mode_name, MeshConfig_OutboundTrafficPolicy_Mode_value)
@ -678,83 +720,87 @@ func init() {
func init() { proto.RegisterFile("mesh/v1alpha1/config.proto", fileDescriptor0) }
var fileDescriptor0 = []byte{
// 1248 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x56, 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 0xda, 0x76, 0xfe, 0x1b, 0xb0, 0xda, 0x3f, 0x3b, 0x73,
0x57, 0xd0, 0x3a, 0x94, 0xfa, 0x3d, 0xd7, 0x41, 0xbb, 0x50, 0xeb, 0xf7, 0xf0, 0xcb, 0x4e, 0xf0,
0x0c, 0x77, 0x7a, 0xad, 0xee, 0xc5, 0xa0, 0xd3, 0xef, 0xb9, 0xa5, 0x79, 0xb8, 0xfd, 0xaa, 0x80,
0x57, 0x0f, 0x7e, 0x84, 0xdd, 0x85, 0x3e, 0x35, 0xab, 0x5b, 0x86, 0x8d, 0xd3, 0xf6, 0x59, 0xf3,
0xa2, 0x1b, 0xb8, 0x8e, 0xfa, 0xa1, 0x1a, 0x04, 0x7e, 0xa7, 0x15, 0xb8, 0xa5, 0x83, 0x07, 0x00,
0x73, 0xdf, 0x03, 0x9b, 0xb0, 0xd6, 0xeb, 0xf7, 0xda, 0xee, 0x0a, 0xaa, 0x02, 0x3c, 0xbf, 0xd0,
0xcf, 0x1d, 0x74, 0x07, 0xae, 0xf3, 0xf0, 0x67, 0xb8, 0xb3, 0xe8, 0xcb, 0xe2, 0xe3, 0x19, 0x68,
0x1b, 0x36, 0x3a, 0xbd, 0x67, 0x6d, 0xbf, 0x13, 0xb8, 0xff, 0x6c, 0x9c, 0xfc, 0xef, 0x75, 0xdd,
0x8c, 0x9b, 0xf1, 0x23, 0x92, 0xb2, 0xa3, 0xf7, 0xbe, 0xd8, 0x87, 0xeb, 0xda, 0xc4, 0x9e, 0xfc,
0x1b, 0x00, 0x00, 0xff, 0xff, 0x8a, 0xc0, 0x6d, 0x40, 0xc9, 0x0b, 0x00, 0x00,
}

View File

@ -115,6 +115,23 @@ message ProxyConfig {
// Path to the proxy bootstrap template file
string proxy_bootstrap_template_path = 17;
// The mode used to redirect inbound traffic to Envoy.
// This setting has no effect on outbound traffic: iptables REDIRECT is always used for
// outbound connections.
enum InboundInterceptionMode {
// The REDIRECT mode uses iptables REDIRECT to NAT and redirect to Envoy. This mode loses
// source IP addresses during redirection.
REDIRECT = 0;
// The TPROXY mode uses iptables TPROXY to redirect to Envoy. This mode preserves both the
// source and destination IP addresses and ports, so that they can be used for advanced
// filtering and manipulation. This mode also configures the sidecar to run with the
// CAP_NET_ADMIN capability, which is required to use TPROXY.
TPROXY = 1;
}
// The mode used to redirect inbound traffic to Envoy.
InboundInterceptionMode interception_mode = 18;
}
// MeshConfig defines mesh-wide variables shared by all Envoy instances in the

View File

@ -4,7 +4,7 @@ overview: Configuration affecting the service mesh as a whole
location: https://istio.io/docs/reference/config/istio.mesh.v1alpha1.html
layout: protoc-gen-docs
redirect_from: /docs/reference/config/service-mesh.html
number_of_entries: 10
number_of_entries: 11
---
<h2 id="AuthenticationPolicy">AuthenticationPolicy</h2>
<section>
@ -653,6 +653,49 @@ Increase the value of this field if you find that the metrics from Envoys are tr
<td>
<p>Path to the proxy bootstrap template file</p>
</td>
</tr>
<tr id="ProxyConfig.interception_mode">
<td><code>interceptionMode</code></td>
<td><code><a href="#ProxyConfig.InboundInterceptionMode">ProxyConfig.InboundInterceptionMode</a></code></td>
<td>
<p>The mode used to redirect inbound traffic to Envoy.</p>
</td>
</tr>
</tbody>
</table>
</section>
<h2 id="ProxyConfig.InboundInterceptionMode">ProxyConfig.InboundInterceptionMode</h2>
<section>
<p>The mode used to redirect inbound traffic to Envoy.
This setting has no effect on outbound traffic: iptables REDIRECT is always used for
outbound connections.</p>
<table class="enum-values">
<thead>
<tr>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr id="ProxyConfig.InboundInterceptionMode.REDIRECT">
<td><code>REDIRECT</code></td>
<td>
<p>The REDIRECT mode uses iptables REDIRECT to NAT and redirect to Envoy. This mode loses
source IP addresses during redirection.</p>
</td>
</tr>
<tr id="ProxyConfig.InboundInterceptionMode.TPROXY">
<td><code>TPROXY</code></td>
<td>
<p>The TPROXY mode uses iptables TPROXY to redirect to Envoy. This mode preserves both the
source and destination IP addresses and ports, so that they can be used for advanced
filtering and manipulation. This mode also configures the sidecar to run with the
CAP<em>NET</em>ADMIN capability, which is required to use TPROXY.</p>
</td>
</tr>
</tbody>

View File

@ -21,7 +21,7 @@ DESCRIPTOR = _descriptor.FileDescriptor(
name='mesh/v1alpha1/config.proto',
package='istio.mesh.v1alpha1',
syntax='proto3',
serialized_pb=_b('\n\x1amesh/v1alpha1/config.proto\x12\x13istio.mesh.v1alpha1\x1a\x1egoogle/protobuf/duration.proto\"\xf4\x04\n\x0bProxyConfig\x12\x13\n\x0b\x63onfig_path\x18\x01 \x01(\t\x12\x13\n\x0b\x62inary_path\x18\x02 \x01(\t\x12\x17\n\x0fservice_cluster\x18\x03 \x01(\t\x12\x31\n\x0e\x64rain_duration\x18\x04 \x01(\x0b\x32\x19.google.protobuf.Duration\x12;\n\x18parent_shutdown_duration\x18\x05 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x19\n\x11\x64iscovery_address\x18\x06 \x01(\t\x12:\n\x17\x64iscovery_refresh_delay\x18\x07 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x16\n\x0ezipkin_address\x18\x08 \x01(\t\x12\x32\n\x0f\x63onnect_timeout\x18\t \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x1a\n\x12statsd_udp_address\x18\n \x01(\t\x12\x18\n\x10proxy_admin_port\x18\x0b \x01(\x05\x12\x19\n\x11\x61vailability_zone\x18\x0c \x01(\t\x12L\n\x19\x63ontrol_plane_auth_policy\x18\r \x01(\x0e\x32).istio.mesh.v1alpha1.AuthenticationPolicy\x12\x1a\n\x12\x63ustom_config_file\x18\x0e \x01(\t\x12\x18\n\x10stat_name_length\x18\x0f \x01(\x05\x12\x13\n\x0b\x63oncurrency\x18\x10 \x01(\x05\x12%\n\x1dproxy_bootstrap_template_path\x18\x11 \x01(\t\"\xe6\n\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\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\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\x34\n\x11rds_refresh_delay\x18\x0b \x01(\x0b\x32\x19.google.protobuf.Duration\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\x38\n\x0e\x64\x65\x66\x61ult_config\x18\x0e \x01(\x0b\x32 .istio.mesh.v1alpha1.ProxyConfig\x12\x1e\n\x16mtls_excluded_services\x18\x0f \x03(\t\x12\x15\n\rmixer_address\x18\x10 \x01(\t\x12V\n\x17outbound_traffic_policy\x18\x11 \x01(\x0b\x32\x35.istio.mesh.v1alpha1.MeshConfig.OutboundTrafficPolicy\x12?\n\x0brbac_config\x18\x12 \x01(\x0b\x32*.istio.mesh.v1alpha1.MeshConfig.RbacConfig\x1a\xa5\x01\n\x15OutboundTrafficPolicy\x12H\n\x04mode\x18\x01 \x01(\x0e\x32:.istio.mesh.v1alpha1.MeshConfig.OutboundTrafficPolicy.Mode\"B\n\x04Mode\x12\x11\n\rREGISTRY_ONLY\x10\x00\x12\r\n\tALLOW_ANY\x10\x01\x12\x18\n\x14VIRTUAL_SERVICE_ONLY\x10\x02\x1a\xce\x02\n\nRbacConfig\x12=\n\x04mode\x18\x01 \x01(\x0e\x32/.istio.mesh.v1alpha1.MeshConfig.RbacConfig.Mode\x12\x44\n\tinclusion\x18\x02 \x01(\x0b\x32\x31.istio.mesh.v1alpha1.MeshConfig.RbacConfig.Target\x12\x44\n\texclusion\x18\x03 \x01(\x0b\x32\x31.istio.mesh.v1alpha1.MeshConfig.RbacConfig.Target\x1a.\n\x06Target\x12\x10\n\x08services\x18\x01 \x03(\t\x12\x12\n\nnamespaces\x18\x02 \x03(\t\"E\n\x04Mode\x12\x07\n\x03OFF\x10\x00\x12\x06\n\x02ON\x10\x01\x12\x15\n\x11ON_WITH_INCLUSION\x10\x02\x12\x15\n\x11ON_WITH_EXCLUSION\x10\x03\"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\x14\x41uthenticationPolicy\x12\x08\n\x04NONE\x10\x00\x12\x0e\n\nMUTUAL_TLS\x10\x01\x12\x0c\n\x07INHERIT\x10\xe8\x07\x42\x1cZ\x1aistio.io/api/mesh/v1alpha1b\x06proto3')
serialized_pb=_b('\n\x1amesh/v1alpha1/config.proto\x12\x13istio.mesh.v1alpha1\x1a\x1egoogle/protobuf/duration.proto\"\xfe\x05\n\x0bProxyConfig\x12\x13\n\x0b\x63onfig_path\x18\x01 \x01(\t\x12\x13\n\x0b\x62inary_path\x18\x02 \x01(\t\x12\x17\n\x0fservice_cluster\x18\x03 \x01(\t\x12\x31\n\x0e\x64rain_duration\x18\x04 \x01(\x0b\x32\x19.google.protobuf.Duration\x12;\n\x18parent_shutdown_duration\x18\x05 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x19\n\x11\x64iscovery_address\x18\x06 \x01(\t\x12:\n\x17\x64iscovery_refresh_delay\x18\x07 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x16\n\x0ezipkin_address\x18\x08 \x01(\t\x12\x32\n\x0f\x63onnect_timeout\x18\t \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x1a\n\x12statsd_udp_address\x18\n \x01(\t\x12\x18\n\x10proxy_admin_port\x18\x0b \x01(\x05\x12\x19\n\x11\x61vailability_zone\x18\x0c \x01(\t\x12L\n\x19\x63ontrol_plane_auth_policy\x18\r \x01(\x0e\x32).istio.mesh.v1alpha1.AuthenticationPolicy\x12\x1a\n\x12\x63ustom_config_file\x18\x0e \x01(\t\x12\x18\n\x10stat_name_length\x18\x0f \x01(\x05\x12\x13\n\x0b\x63oncurrency\x18\x10 \x01(\x05\x12%\n\x1dproxy_bootstrap_template_path\x18\x11 \x01(\t\x12S\n\x11interception_mode\x18\x12 \x01(\x0e\x32\x38.istio.mesh.v1alpha1.ProxyConfig.InboundInterceptionMode\"3\n\x17InboundInterceptionMode\x12\x0c\n\x08REDIRECT\x10\x00\x12\n\n\x06TPROXY\x10\x01\"\xe6\n\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\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\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\x34\n\x11rds_refresh_delay\x18\x0b \x01(\x0b\x32\x19.google.protobuf.Duration\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\x38\n\x0e\x64\x65\x66\x61ult_config\x18\x0e \x01(\x0b\x32 .istio.mesh.v1alpha1.ProxyConfig\x12\x1e\n\x16mtls_excluded_services\x18\x0f \x03(\t\x12\x15\n\rmixer_address\x18\x10 \x01(\t\x12V\n\x17outbound_traffic_policy\x18\x11 \x01(\x0b\x32\x35.istio.mesh.v1alpha1.MeshConfig.OutboundTrafficPolicy\x12?\n\x0brbac_config\x18\x12 \x01(\x0b\x32*.istio.mesh.v1alpha1.MeshConfig.RbacConfig\x1a\xa5\x01\n\x15OutboundTrafficPolicy\x12H\n\x04mode\x18\x01 \x01(\x0e\x32:.istio.mesh.v1alpha1.MeshConfig.OutboundTrafficPolicy.Mode\"B\n\x04Mode\x12\x11\n\rREGISTRY_ONLY\x10\x00\x12\r\n\tALLOW_ANY\x10\x01\x12\x18\n\x14VIRTUAL_SERVICE_ONLY\x10\x02\x1a\xce\x02\n\nRbacConfig\x12=\n\x04mode\x18\x01 \x01(\x0e\x32/.istio.mesh.v1alpha1.MeshConfig.RbacConfig.Mode\x12\x44\n\tinclusion\x18\x02 \x01(\x0b\x32\x31.istio.mesh.v1alpha1.MeshConfig.RbacConfig.Target\x12\x44\n\texclusion\x18\x03 \x01(\x0b\x32\x31.istio.mesh.v1alpha1.MeshConfig.RbacConfig.Target\x1a.\n\x06Target\x12\x10\n\x08services\x18\x01 \x03(\t\x12\x12\n\nnamespaces\x18\x02 \x03(\t\"E\n\x04Mode\x12\x07\n\x03OFF\x10\x00\x12\x06\n\x02ON\x10\x01\x12\x15\n\x11ON_WITH_INCLUSION\x10\x02\x12\x15\n\x11ON_WITH_EXCLUSION\x10\x03\"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\x14\x41uthenticationPolicy\x12\x08\n\x04NONE\x10\x00\x12\x0e\n\nMUTUAL_TLS\x10\x01\x12\x0c\n\x07INHERIT\x10\xe8\x07\x42\x1cZ\x1aistio.io/api/mesh/v1alpha1b\x06proto3')
,
dependencies=[google_dot_protobuf_dot_duration__pb2.DESCRIPTOR,])
@ -46,8 +46,8 @@ _AUTHENTICATIONPOLICY = _descriptor.EnumDescriptor(
],
containing_type=None,
options=None,
serialized_start=2099,
serialized_end=2161,
serialized_start=2237,
serialized_end=2299,
)
_sym_db.RegisterEnumDescriptor(_AUTHENTICATIONPOLICY)
@ -57,6 +57,28 @@ MUTUAL_TLS = 1
INHERIT = 1000
_PROXYCONFIG_INBOUNDINTERCEPTIONMODE = _descriptor.EnumDescriptor(
name='InboundInterceptionMode',
full_name='istio.mesh.v1alpha1.ProxyConfig.InboundInterceptionMode',
filename=None,
file=DESCRIPTOR,
values=[
_descriptor.EnumValueDescriptor(
name='REDIRECT', index=0, number=0,
options=None,
type=None),
_descriptor.EnumValueDescriptor(
name='TPROXY', index=1, number=1,
options=None,
type=None),
],
containing_type=None,
options=None,
serialized_start=799,
serialized_end=850,
)
_sym_db.RegisterEnumDescriptor(_PROXYCONFIG_INBOUNDINTERCEPTIONMODE)
_MESHCONFIG_OUTBOUNDTRAFFICPOLICY_MODE = _descriptor.EnumDescriptor(
name='Mode',
full_name='istio.mesh.v1alpha1.MeshConfig.OutboundTrafficPolicy.Mode',
@ -78,8 +100,8 @@ _MESHCONFIG_OUTBOUNDTRAFFICPOLICY_MODE = _descriptor.EnumDescriptor(
],
containing_type=None,
options=None,
serialized_start=1595,
serialized_end=1661,
serialized_start=1733,
serialized_end=1799,
)
_sym_db.RegisterEnumDescriptor(_MESHCONFIG_OUTBOUNDTRAFFICPOLICY_MODE)
@ -108,8 +130,8 @@ _MESHCONFIG_RBACCONFIG_MODE = _descriptor.EnumDescriptor(
],
containing_type=None,
options=None,
serialized_start=1929,
serialized_end=1998,
serialized_start=2067,
serialized_end=2136,
)
_sym_db.RegisterEnumDescriptor(_MESHCONFIG_RBACCONFIG_MODE)
@ -134,8 +156,8 @@ _MESHCONFIG_INGRESSCONTROLLERMODE = _descriptor.EnumDescriptor(
],
containing_type=None,
options=None,
serialized_start=2000,
serialized_end=2057,
serialized_start=2138,
serialized_end=2195,
)
_sym_db.RegisterEnumDescriptor(_MESHCONFIG_INGRESSCONTROLLERMODE)
@ -156,8 +178,8 @@ _MESHCONFIG_AUTHPOLICY = _descriptor.EnumDescriptor(
],
containing_type=None,
options=None,
serialized_start=2059,
serialized_end=2097,
serialized_start=2197,
serialized_end=2235,
)
_sym_db.RegisterEnumDescriptor(_MESHCONFIG_AUTHPOLICY)
@ -288,11 +310,19 @@ _PROXYCONFIG = _descriptor.Descriptor(
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='interception_mode', full_name='istio.mesh.v1alpha1.ProxyConfig.interception_mode', index=17,
number=18, 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,
options=None, file=DESCRIPTOR),
],
extensions=[
],
nested_types=[],
enum_types=[
_PROXYCONFIG_INBOUNDINTERCEPTIONMODE,
],
options=None,
is_extendable=False,
@ -301,7 +331,7 @@ _PROXYCONFIG = _descriptor.Descriptor(
oneofs=[
],
serialized_start=84,
serialized_end=712,
serialized_end=850,
)
@ -332,8 +362,8 @@ _MESHCONFIG_OUTBOUNDTRAFFICPOLICY = _descriptor.Descriptor(
extension_ranges=[],
oneofs=[
],
serialized_start=1496,
serialized_end=1661,
serialized_start=1634,
serialized_end=1799,
)
_MESHCONFIG_RBACCONFIG_TARGET = _descriptor.Descriptor(
@ -369,8 +399,8 @@ _MESHCONFIG_RBACCONFIG_TARGET = _descriptor.Descriptor(
extension_ranges=[],
oneofs=[
],
serialized_start=1881,
serialized_end=1927,
serialized_start=2019,
serialized_end=2065,
)
_MESHCONFIG_RBACCONFIG = _descriptor.Descriptor(
@ -414,8 +444,8 @@ _MESHCONFIG_RBACCONFIG = _descriptor.Descriptor(
extension_ranges=[],
oneofs=[
],
serialized_start=1664,
serialized_end=1998,
serialized_start=1802,
serialized_end=2136,
)
_MESHCONFIG = _descriptor.Descriptor(
@ -565,8 +595,8 @@ _MESHCONFIG = _descriptor.Descriptor(
extension_ranges=[],
oneofs=[
],
serialized_start=715,
serialized_end=2097,
serialized_start=853,
serialized_end=2235,
)
_PROXYCONFIG.fields_by_name['drain_duration'].message_type = google_dot_protobuf_dot_duration__pb2._DURATION
@ -574,6 +604,8 @@ _PROXYCONFIG.fields_by_name['parent_shutdown_duration'].message_type = google_do
_PROXYCONFIG.fields_by_name['discovery_refresh_delay'].message_type = google_dot_protobuf_dot_duration__pb2._DURATION
_PROXYCONFIG.fields_by_name['connect_timeout'].message_type = google_dot_protobuf_dot_duration__pb2._DURATION
_PROXYCONFIG.fields_by_name['control_plane_auth_policy'].enum_type = _AUTHENTICATIONPOLICY
_PROXYCONFIG.fields_by_name['interception_mode'].enum_type = _PROXYCONFIG_INBOUNDINTERCEPTIONMODE
_PROXYCONFIG_INBOUNDINTERCEPTIONMODE.containing_type = _PROXYCONFIG
_MESHCONFIG_OUTBOUNDTRAFFICPOLICY.fields_by_name['mode'].enum_type = _MESHCONFIG_OUTBOUNDTRAFFICPOLICY_MODE
_MESHCONFIG_OUTBOUNDTRAFFICPOLICY.containing_type = _MESHCONFIG
_MESHCONFIG_OUTBOUNDTRAFFICPOLICY_MODE.containing_type = _MESHCONFIG_OUTBOUNDTRAFFICPOLICY