diff --git a/mesh/v1alpha1/config.pb.go b/mesh/v1alpha1/config.pb.go
index 96617db194..f5c2a227b5 100644
--- a/mesh/v1alpha1/config.pb.go
+++ b/mesh/v1alpha1/config.pb.go
@@ -50,7 +50,7 @@ func (x AuthenticationPolicy) String() string {
return proto.EnumName(AuthenticationPolicy_name, int32(x))
}
func (AuthenticationPolicy) EnumDescriptor() ([]byte, []int) {
- return fileDescriptor_config_cc82c7a62bb884d0, []int{0}
+ return fileDescriptor_config_66bf328df2a9ea24, []int{0}
}
// The mode used to redirect inbound traffic to Envoy.
@@ -82,7 +82,7 @@ func (x ProxyConfig_InboundInterceptionMode) String() string {
return proto.EnumName(ProxyConfig_InboundInterceptionMode_name, int32(x))
}
func (ProxyConfig_InboundInterceptionMode) EnumDescriptor() ([]byte, []int) {
- return fileDescriptor_config_cc82c7a62bb884d0, []int{0, 0}
+ return fileDescriptor_config_66bf328df2a9ea24, []int{0, 0}
}
type MeshConfig_IngressControllerMode int32
@@ -119,7 +119,7 @@ func (x MeshConfig_IngressControllerMode) String() string {
return proto.EnumName(MeshConfig_IngressControllerMode_name, int32(x))
}
func (MeshConfig_IngressControllerMode) EnumDescriptor() ([]byte, []int) {
- return fileDescriptor_config_cc82c7a62bb884d0, []int{1, 0}
+ return fileDescriptor_config_66bf328df2a9ea24, []int{1, 0}
}
// TODO AuthPolicy needs to be removed and merged with AuthPolicy defined above
@@ -145,7 +145,7 @@ func (x MeshConfig_AuthPolicy) String() string {
return proto.EnumName(MeshConfig_AuthPolicy_name, int32(x))
}
func (MeshConfig_AuthPolicy) EnumDescriptor() ([]byte, []int) {
- return fileDescriptor_config_cc82c7a62bb884d0, []int{1, 1}
+ return fileDescriptor_config_66bf328df2a9ea24, []int{1, 1}
}
type MeshConfig_OutboundTrafficPolicy_Mode int32
@@ -175,7 +175,7 @@ func (x MeshConfig_OutboundTrafficPolicy_Mode) String() string {
return proto.EnumName(MeshConfig_OutboundTrafficPolicy_Mode_name, int32(x))
}
func (MeshConfig_OutboundTrafficPolicy_Mode) EnumDescriptor() ([]byte, []int) {
- return fileDescriptor_config_cc82c7a62bb884d0, []int{1, 0, 0}
+ return fileDescriptor_config_66bf328df2a9ea24, []int{1, 0, 0}
}
// ProxyConfig defines variables for individual Envoy instances.
@@ -249,7 +249,7 @@ func (m *ProxyConfig) Reset() { *m = ProxyConfig{} }
func (m *ProxyConfig) String() string { return proto.CompactTextString(m) }
func (*ProxyConfig) ProtoMessage() {}
func (*ProxyConfig) Descriptor() ([]byte, []int) {
- return fileDescriptor_config_cc82c7a62bb884d0, []int{0}
+ return fileDescriptor_config_66bf328df2a9ea24, []int{0}
}
func (m *ProxyConfig) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ProxyConfig.Unmarshal(m, b)
@@ -420,6 +420,10 @@ type MeshConfig struct {
// Disable policy checks by the mixer service. Default
// is false, i.e. mixer policy check is enabled by default.
DisablePolicyChecks bool `protobuf:"varint,3,opt,name=disable_policy_checks,json=disablePolicyChecks,proto3" json:"disable_policy_checks,omitempty"`
+ // Allow all traffic in cases when the mixer policy service cannot be reached.
+ // Default is false which means the traffic is denied when the client is unable
+ // to connect to Mixer.
+ PolicyCheckFailOpen bool `protobuf:"varint,25,opt,name=policy_check_fail_open,json=policyCheckFailOpen,proto3" json:"policy_check_fail_open,omitempty"`
// Port on which Envoy should listen for incoming connections from
// other services.
ProxyListenPort int32 `protobuf:"varint,4,opt,name=proxy_listen_port,json=proxyListenPort,proto3" json:"proxy_listen_port,omitempty"`
@@ -479,7 +483,7 @@ func (m *MeshConfig) Reset() { *m = MeshConfig{} }
func (m *MeshConfig) String() string { return proto.CompactTextString(m) }
func (*MeshConfig) ProtoMessage() {}
func (*MeshConfig) Descriptor() ([]byte, []int) {
- return fileDescriptor_config_cc82c7a62bb884d0, []int{1}
+ return fileDescriptor_config_66bf328df2a9ea24, []int{1}
}
func (m *MeshConfig) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_MeshConfig.Unmarshal(m, b)
@@ -520,6 +524,13 @@ func (m *MeshConfig) GetDisablePolicyChecks() bool {
return false
}
+func (m *MeshConfig) GetPolicyCheckFailOpen() bool {
+ if m != nil {
+ return m.PolicyCheckFailOpen
+ }
+ return false
+}
+
func (m *MeshConfig) GetProxyListenPort() int32 {
if m != nil {
return m.ProxyListenPort
@@ -644,7 +655,7 @@ func (m *MeshConfig_OutboundTrafficPolicy) Reset() { *m = MeshConfig_Out
func (m *MeshConfig_OutboundTrafficPolicy) String() string { return proto.CompactTextString(m) }
func (*MeshConfig_OutboundTrafficPolicy) ProtoMessage() {}
func (*MeshConfig_OutboundTrafficPolicy) Descriptor() ([]byte, []int) {
- return fileDescriptor_config_cc82c7a62bb884d0, []int{1, 0}
+ return fileDescriptor_config_66bf328df2a9ea24, []int{1, 0}
}
func (m *MeshConfig_OutboundTrafficPolicy) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_MeshConfig_OutboundTrafficPolicy.Unmarshal(m, b)
@@ -682,15 +693,15 @@ func init() {
proto.RegisterEnum("istio.mesh.v1alpha1.MeshConfig_OutboundTrafficPolicy_Mode", MeshConfig_OutboundTrafficPolicy_Mode_name, MeshConfig_OutboundTrafficPolicy_Mode_value)
}
-func init() { proto.RegisterFile("mesh/v1alpha1/config.proto", fileDescriptor_config_cc82c7a62bb884d0) }
+func init() { proto.RegisterFile("mesh/v1alpha1/config.proto", fileDescriptor_config_66bf328df2a9ea24) }
-var fileDescriptor_config_cc82c7a62bb884d0 = []byte{
- // 1209 bytes of a gzipped FileDescriptorProto
+var fileDescriptor_config_66bf328df2a9ea24 = []byte{
+ // 1233 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x56, 0x6f, 0x6f, 0x1a, 0xc7,
0x13, 0x36, 0x0e, 0xb1, 0xf1, 0x60, 0xf0, 0xb1, 0x8e, 0xe3, 0x8b, 0x7f, 0x7f, 0x82, 0x1c, 0x35,
0x75, 0xd3, 0x08, 0x2b, 0x8e, 0x2a, 0xb5, 0x7d, 0x51, 0x15, 0x63, 0x9c, 0x10, 0x11, 0x70, 0x8f,
- 0x73, 0x5a, 0xe7, 0xcd, 0x6a, 0xb9, 0x5b, 0xcc, 0x2a, 0xc7, 0xed, 0x69, 0x77, 0xcf, 0x0d, 0x79,
- 0xdb, 0x8f, 0xd3, 0xef, 0xd0, 0xcf, 0xd3, 0x8f, 0x51, 0xdd, 0xec, 0x81, 0x49, 0x4a, 0x84, 0xda,
+ 0x73, 0x5a, 0xe7, 0xcd, 0x6a, 0xb9, 0x5b, 0xcc, 0x2a, 0xc7, 0xed, 0x69, 0x77, 0xcf, 0x0d, 0xf9,
+ 0x4a, 0xfd, 0x02, 0x7d, 0xd5, 0xcf, 0xd3, 0x8f, 0x51, 0xdd, 0xec, 0x81, 0x49, 0x4a, 0x84, 0xda,
0x97, 0x3c, 0xfb, 0xcc, 0xcc, 0xee, 0xcc, 0x3c, 0xcf, 0x01, 0x07, 0x13, 0xae, 0xc7, 0xc7, 0x37,
0xcf, 0x58, 0x94, 0x8c, 0xd9, 0xb3, 0xe3, 0x40, 0xc6, 0x23, 0x71, 0xdd, 0x48, 0x94, 0x34, 0x92,
0xec, 0x0a, 0x6d, 0x84, 0x6c, 0x64, 0x8c, 0xc6, 0x8c, 0x71, 0xf0, 0xff, 0x6b, 0x29, 0xaf, 0x23,
@@ -725,41 +736,43 @@ var fileDescriptor_config_cc82c7a62bb884d0 = []byte{
0x19, 0x72, 0x97, 0x60, 0x6b, 0xbe, 0x5d, 0xda, 0x9a, 0x05, 0x45, 0x37, 0x3a, 0xf1, 0x50, 0xa6,
0x71, 0xd8, 0x59, 0x48, 0xf0, 0x5a, 0x86, 0xdc, 0x73, 0xc4, 0x27, 0xc8, 0xe1, 0x73, 0xd8, 0xff,
0x0c, 0x99, 0x6c, 0x43, 0xc9, 0x6b, 0x9f, 0x75, 0xbc, 0x76, 0xcb, 0x77, 0xd6, 0x08, 0xc0, 0x86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e2, 0xec, 0x3e, 0xf9, 0x01, 0xee, 0x2d, 0xfb, 0x86,
+ 0x7e, 0x3e, 0x9a, 0x6c, 0xc3, 0x66, 0xa7, 0xf7, 0xb2, 0xed, 0x75, 0x7c, 0xe7, 0xcf, 0xcd, 0xd3,
+ 0xff, 0xbe, 0x3d, 0xb0, 0x5d, 0x13, 0xf2, 0x98, 0x25, 0xe2, 0xf8, 0xa3, 0xff, 0xa6, 0xc3, 0x0d,
+ 0x1c, 0xcf, 0xf3, 0xbf, 0x02, 0x00, 0x00, 0xff, 0xff, 0xc9, 0x83, 0x1a, 0xb6, 0xb3, 0x0a, 0x00,
+ 0x00,
}
diff --git a/mesh/v1alpha1/config.proto b/mesh/v1alpha1/config.proto
index 6b5363f720..cb56dc0a8f 100644
--- a/mesh/v1alpha1/config.proto
+++ b/mesh/v1alpha1/config.proto
@@ -163,6 +163,11 @@ message MeshConfig {
// is false, i.e. mixer policy check is enabled by default.
bool disable_policy_checks = 3;
+ // Allow all traffic in cases when the mixer policy service cannot be reached.
+ // Default is false which means the traffic is denied when the client is unable
+ // to connect to Mixer.
+ bool policy_check_fail_open = 25;
+
// Port on which Envoy should listen for incoming connections from
// other services.
int32 proxy_listen_port = 4;
diff --git a/mesh/v1alpha1/istio.mesh.v1alpha1.pb.html b/mesh/v1alpha1/istio.mesh.v1alpha1.pb.html
index 0fdf4dca1e..5fdd0350c6 100644
--- a/mesh/v1alpha1/istio.mesh.v1alpha1.pb.html
+++ b/mesh/v1alpha1/istio.mesh.v1alpha1.pb.html
@@ -98,6 +98,16 @@
MeshConfig
Disable policy checks by the mixer service. Default
is false, i.e. mixer policy check is enabled by default.
+
+
+
+policyCheckFailOpen |
+bool |
+
+ Allow all traffic in cases when the mixer policy service cannot be reached.
+Default is false which means the traffic is denied when the client is unable
+to connect to Mixer.
+
|
diff --git a/python/istio_api/mesh/v1alpha1/config_pb2.py b/python/istio_api/mesh/v1alpha1/config_pb2.py
index 9f4ce03146..6bddbc76da 100644
--- a/python/istio_api/mesh/v1alpha1/config_pb2.py
+++ b/python/istio_api/mesh/v1alpha1/config_pb2.py
@@ -21,7 +21,7 @@
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\"\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\"\xb5\x08\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\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\x1f\x65nable_client_side_policy_check\x18\x13 \x01(\x08\x12\x14\n\x0csds_uds_path\x18\x14 \x01(\t\x12\x34\n\x11sds_refresh_delay\x18\x15 \x01(\x0b\x32\x19.google.protobuf.Duration\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\"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\x01J\x04\x08\x0f\x10\x10J\x04\x08\x12\x10\x13*>\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\"\xd5\x08\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\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\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\x1f\x65nable_client_side_policy_check\x18\x13 \x01(\x08\x12\x14\n\x0csds_uds_path\x18\x14 \x01(\t\x12\x34\n\x11sds_refresh_delay\x18\x15 \x01(\x0b\x32\x19.google.protobuf.Duration\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\"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\x01J\x04\x08\x0f\x10\x10J\x04\x08\x12\x10\x13*>\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 @@
],
containing_type=None,
options=None,
- serialized_start=1932,
- serialized_end=1994,
+ serialized_start=1964,
+ serialized_end=2026,
)
_sym_db.RegisterEnumDescriptor(_AUTHENTICATIONPOLICY)
@@ -100,8 +100,8 @@
],
containing_type=None,
options=None,
- serialized_start=1753,
- serialized_end=1819,
+ serialized_start=1785,
+ serialized_end=1851,
)
_sym_db.RegisterEnumDescriptor(_MESHCONFIG_OUTBOUNDTRAFFICPOLICY_MODE)
@@ -126,8 +126,8 @@
],
containing_type=None,
options=None,
- serialized_start=1821,
- serialized_end=1878,
+ serialized_start=1853,
+ serialized_end=1910,
)
_sym_db.RegisterEnumDescriptor(_MESHCONFIG_INGRESSCONTROLLERMODE)
@@ -148,8 +148,8 @@
],
containing_type=None,
options=None,
- serialized_start=1880,
- serialized_end=1918,
+ serialized_start=1912,
+ serialized_end=1950,
)
_sym_db.RegisterEnumDescriptor(_MESHCONFIG_AUTHPOLICY)
@@ -332,8 +332,8 @@
extension_ranges=[],
oneofs=[
],
- serialized_start=1654,
- serialized_end=1819,
+ serialized_start=1686,
+ serialized_end=1851,
)
_MESHCONFIG = _descriptor.Descriptor(
@@ -365,112 +365,119 @@
is_extension=False, extension_scope=None,
options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
- name='proxy_listen_port', full_name='istio.mesh.v1alpha1.MeshConfig.proxy_listen_port', index=3,
+ name='policy_check_fail_open', full_name='istio.mesh.v1alpha1.MeshConfig.policy_check_fail_open', index=3,
+ number=25, 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,
+ options=None, file=DESCRIPTOR),
+ _descriptor.FieldDescriptor(
+ name='proxy_listen_port', full_name='istio.mesh.v1alpha1.MeshConfig.proxy_listen_port', index=4,
number=4, type=5, cpp_type=1, 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),
_descriptor.FieldDescriptor(
- name='proxy_http_port', full_name='istio.mesh.v1alpha1.MeshConfig.proxy_http_port', index=4,
+ name='proxy_http_port', full_name='istio.mesh.v1alpha1.MeshConfig.proxy_http_port', index=5,
number=5, type=5, cpp_type=1, 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),
_descriptor.FieldDescriptor(
- name='connect_timeout', full_name='istio.mesh.v1alpha1.MeshConfig.connect_timeout', index=5,
+ name='connect_timeout', full_name='istio.mesh.v1alpha1.MeshConfig.connect_timeout', index=6,
number=6, 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,
options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
- name='ingress_class', full_name='istio.mesh.v1alpha1.MeshConfig.ingress_class', index=6,
+ name='ingress_class', full_name='istio.mesh.v1alpha1.MeshConfig.ingress_class', index=7,
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,
options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
- name='ingress_service', full_name='istio.mesh.v1alpha1.MeshConfig.ingress_service', index=7,
+ name='ingress_service', full_name='istio.mesh.v1alpha1.MeshConfig.ingress_service', index=8,
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,
options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
- name='ingress_controller_mode', full_name='istio.mesh.v1alpha1.MeshConfig.ingress_controller_mode', index=8,
+ name='ingress_controller_mode', full_name='istio.mesh.v1alpha1.MeshConfig.ingress_controller_mode', index=9,
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,
options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
- name='auth_policy', full_name='istio.mesh.v1alpha1.MeshConfig.auth_policy', index=9,
+ name='auth_policy', full_name='istio.mesh.v1alpha1.MeshConfig.auth_policy', index=10,
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,
options=_descriptor._ParseOptions(descriptor_pb2.FieldOptions(), _b('\030\001')), file=DESCRIPTOR),
_descriptor.FieldDescriptor(
- name='rds_refresh_delay', full_name='istio.mesh.v1alpha1.MeshConfig.rds_refresh_delay', index=10,
+ name='rds_refresh_delay', full_name='istio.mesh.v1alpha1.MeshConfig.rds_refresh_delay', index=11,
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,
options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
- name='enable_tracing', full_name='istio.mesh.v1alpha1.MeshConfig.enable_tracing', index=11,
+ name='enable_tracing', full_name='istio.mesh.v1alpha1.MeshConfig.enable_tracing', index=12,
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,
options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
- name='access_log_file', full_name='istio.mesh.v1alpha1.MeshConfig.access_log_file', index=12,
+ name='access_log_file', full_name='istio.mesh.v1alpha1.MeshConfig.access_log_file', index=13,
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,
options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
- name='default_config', full_name='istio.mesh.v1alpha1.MeshConfig.default_config', index=13,
+ name='default_config', full_name='istio.mesh.v1alpha1.MeshConfig.default_config', index=14,
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,
options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
- name='mixer_address', full_name='istio.mesh.v1alpha1.MeshConfig.mixer_address', index=14,
+ name='mixer_address', full_name='istio.mesh.v1alpha1.MeshConfig.mixer_address', index=15,
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,
options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
- name='outbound_traffic_policy', full_name='istio.mesh.v1alpha1.MeshConfig.outbound_traffic_policy', index=15,
+ name='outbound_traffic_policy', full_name='istio.mesh.v1alpha1.MeshConfig.outbound_traffic_policy', index=16,
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,
options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
- name='enable_client_side_policy_check', full_name='istio.mesh.v1alpha1.MeshConfig.enable_client_side_policy_check', index=16,
+ name='enable_client_side_policy_check', full_name='istio.mesh.v1alpha1.MeshConfig.enable_client_side_policy_check', index=17,
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,
options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
- name='sds_uds_path', full_name='istio.mesh.v1alpha1.MeshConfig.sds_uds_path', index=17,
+ name='sds_uds_path', full_name='istio.mesh.v1alpha1.MeshConfig.sds_uds_path', index=18,
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,
options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
- name='sds_refresh_delay', full_name='istio.mesh.v1alpha1.MeshConfig.sds_refresh_delay', index=18,
+ name='sds_refresh_delay', full_name='istio.mesh.v1alpha1.MeshConfig.sds_refresh_delay', index=19,
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,
@@ -491,7 +498,7 @@
oneofs=[
],
serialized_start=853,
- serialized_end=1930,
+ serialized_end=1962,
)
_PROXYCONFIG.fields_by_name['drain_duration'].message_type = google_dot_protobuf_dot_duration__pb2._DURATION