diff --git a/mesh/v1alpha1/config.pb.go b/mesh/v1alpha1/config.pb.go index b277a4bc83..8bfc44c33c 100644 --- a/mesh/v1alpha1/config.pb.go +++ b/mesh/v1alpha1/config.pb.go @@ -116,6 +116,9 @@ type MeshConfig struct { // File address for the proxy access log (e.g. /dev/stdout). // Empty value disables access logging. AccessLogFile string `protobuf:"bytes,13,opt,name=access_log_file,json=accessLogFile,proto3" json:"access_log_file,omitempty"` + // Format for the proxy access log (text or json). + // Default value is text. + AccessLogFormat string `protobuf:"bytes,24,opt,name=access_log_format,json=accessLogFormat,proto3" json:"access_log_format,omitempty"` // Default proxy config used by the proxy injection mechanism operating in the mesh // (e.g. Kubernetes admission controller) // In case of Kubernetes, the proxy config is applied once during the injection process, @@ -219,6 +222,13 @@ func (m *MeshConfig) GetAccessLogFile() string { return "" } +func (m *MeshConfig) GetAccessLogFormat() string { + if m != nil { + return m.AccessLogFormat + } + return "" +} + func (m *MeshConfig) GetDefaultConfig() *ProxyConfig { if m != nil { return m.DefaultConfig @@ -398,6 +408,14 @@ func (m *MeshConfig) MarshalTo(dAtA []byte) (int, error) { } i++ } + if len(m.AccessLogFormat) > 0 { + dAtA[i] = 0xc2 + i++ + dAtA[i] = 0x1 + i++ + i = encodeVarintConfig(dAtA, i, uint64(len(m.AccessLogFormat))) + i += copy(dAtA[i:], m.AccessLogFormat) + } return i, nil } @@ -470,6 +488,10 @@ func (m *MeshConfig) Size() (n int) { if m.EnableSdsTokenMount { n += 3 } + l = len(m.AccessLogFormat) + if l > 0 { + n += 2 + l + sovConfig(uint64(l)) + } return n } @@ -921,6 +943,35 @@ func (m *MeshConfig) Unmarshal(dAtA []byte) error { } } m.EnableSdsTokenMount = bool(v != 0) + case 24: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field AccessLogFormat", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowConfig + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= (uint64(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthConfig + } + postIndex := iNdEx + intStringLen + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.AccessLogFormat = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipConfig(dAtA[iNdEx:]) @@ -1050,47 +1101,47 @@ var ( func init() { proto.RegisterFile("mesh/v1alpha1/config.proto", fileDescriptorConfig) } var fileDescriptorConfig = []byte{ - // 657 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x6c, 0x53, 0x5f, 0x4f, 0xdb, 0x3e, - 0x14, 0xfd, 0x05, 0x02, 0x0d, 0xee, 0xbf, 0xd4, 0xfd, 0x15, 0x4c, 0x7f, 0x52, 0x7f, 0x11, 0xd3, - 0xb6, 0x6a, 0x9a, 0x52, 0x01, 0xda, 0xc3, 0x1e, 0xa1, 0xac, 0x1b, 0x11, 0x68, 0x55, 0x5a, 0x5e, - 0xf6, 0x62, 0x85, 0xd8, 0x4d, 0x2c, 0xdc, 0x38, 0x8a, 0x5d, 0x04, 0xdf, 0x6b, 0x1f, 0x62, 0x8f, - 0xfb, 0x08, 0x13, 0x9f, 0x64, 0x8a, 0x9d, 0xb2, 0x21, 0xf5, 0xf5, 0x9c, 0x73, 0xef, 0x3d, 0x3e, - 0xf7, 0x1a, 0xf4, 0x97, 0x54, 0xa6, 0xa3, 0xfb, 0xe3, 0x88, 0xe7, 0x69, 0x74, 0x3c, 0x8a, 0x45, - 0xb6, 0x60, 0x89, 0x9f, 0x17, 0x42, 0x09, 0xd8, 0x65, 0x52, 0x31, 0xe1, 0x97, 0x0a, 0x7f, 0xad, - 0xe8, 0x0f, 0x12, 0x21, 0x12, 0x4e, 0x47, 0x5a, 0x72, 0xbb, 0x5a, 0x8c, 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 0xfe, 0xd5, 0x9e, 0x81, 0x24, 0xf2, 0x86, - 0xc8, 0x69, 0xa4, 0xd2, 0xf2, 0xfd, 0x49, 0xc4, 0x39, 0x7d, 0xc4, 0x11, 0x21, 0x65, 0x3e, 0x68, - 0xdf, 0xbc, 0xcb, 0xa0, 0x67, 0x06, 0x84, 0xa7, 0x60, 0xbf, 0xb2, 0x53, 0xf6, 0x53, 0xe2, 0x8e, - 0x66, 0x78, 0x29, 0x56, 0x99, 0x42, 0x07, 0xe6, 0x60, 0x0d, 0x3b, 0x23, 0x72, 0x5e, 0x72, 0xd7, - 0x25, 0x75, 0xf4, 0x11, 0xf4, 0x36, 0xee, 0x02, 0xd6, 0xc0, 0xf6, 0xd7, 0xc9, 0xc4, 0xfd, 0x07, - 0xd6, 0x41, 0xed, 0xe2, 0xd3, 0xe4, 0xec, 0xe6, 0x6a, 0xee, 0x5a, 0x10, 0x80, 0xdd, 0xd9, 0x3c, - 0xbc, 0x1c, 0xcf, 0xdd, 0xad, 0xc0, 0x76, 0x80, 0x5b, 0x0f, 0x6c, 0xa7, 0xee, 0x36, 0x02, 0xdb, - 0x69, 0xbb, 0x6e, 0x60, 0x3b, 0xae, 0xdb, 0x09, 0x6c, 0xa7, 0xe3, 0xc2, 0xc0, 0x76, 0xa0, 0xdb, - 0x0d, 0x6c, 0xa7, 0xe7, 0xee, 0x9f, 0x0f, 0x7f, 0x3c, 0x0d, 0xac, 0x9f, 0x4f, 0x03, 0xeb, 0xd7, - 0xd3, 0xc0, 0xfa, 0xd6, 0x37, 0x31, 0x33, 0x31, 0x8a, 0x72, 0x36, 0x7a, 0xf1, 0xd9, 0x6f, 0x77, - 0xf5, 0x29, 0x9f, 0xfe, 0x0e, 0x00, 0x00, 0xff, 0xff, 0x5d, 0xee, 0xef, 0xfc, 0x55, 0x04, 0x00, - 0x00, + // 669 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 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x19, 0xf8, 0xe0, 0x3b, 0x68, + 0xad, 0xdd, 0x1b, 0x2c, 0x81, 0xcd, 0xdf, 0xc3, 0xa1, 0xff, 0x06, 0x96, 0x41, 0xe9, 0xec, 0xc7, + 0xf0, 0xe4, 0xea, 0x62, 0xea, 0x3b, 0x10, 0x80, 0xed, 0xc9, 0x34, 0x3c, 0x1f, 0x4c, 0xfd, 0x8d, + 0x91, 0xeb, 0x01, 0xbf, 0x3c, 0x72, 0xbd, 0xb2, 0x5f, 0x19, 0xb9, 0x5e, 0xdd, 0xf7, 0x47, 0xae, + 0xe7, 0xfb, 0x8d, 0x91, 0xeb, 0x35, 0x7c, 0x38, 0x72, 0x3d, 0xe8, 0x37, 0x47, 0xae, 0xd7, 0xf2, + 0x77, 0x4f, 0x7b, 0x7f, 0x1f, 0x3b, 0xce, 0xbf, 0xc7, 0x8e, 0xf3, 0xf0, 0xd8, 0x71, 0xfe, 0xb4, + 0xed, 0x4a, 0x28, 0xef, 0x47, 0x39, 0xed, 0xbf, 0xfa, 0x18, 0xae, 0xb7, 0xcd, 0xd9, 0x1f, 0xff, + 0x0f, 0x00, 0x00, 0xff, 0xff, 0xff, 0x4d, 0xb0, 0x4d, 0x81, 0x04, 0x00, 0x00, } diff --git a/mesh/v1alpha1/config.proto b/mesh/v1alpha1/config.proto index d68082a4d9..9ee376db6b 100644 --- a/mesh/v1alpha1/config.proto +++ b/mesh/v1alpha1/config.proto @@ -105,6 +105,10 @@ message MeshConfig { // File address for the proxy access log (e.g. /dev/stdout). // Empty value disables access logging. string access_log_file = 13; + + // Format for the proxy access log (text or json). + // Default value is text. + string access_log_format = 24; // Default proxy config used by the proxy injection mechanism operating in the mesh // (e.g. Kubernetes admission controller) @@ -136,4 +140,7 @@ message MeshConfig { // for k8s service account JWT, so that K8s API server mounts k8s service account JWT to envoy container, which // will be used to generate key/cert eventually. This isn't supported for non-k8s case. bool enable_sds_token_mount = 23; + + // $hide_from_docs + // Next available field number: 25 } diff --git a/mesh/v1alpha1/istio.mesh.v1alpha1.pb.html b/mesh/v1alpha1/istio.mesh.v1alpha1.pb.html index a80db8b9e8..bb24007b02 100644 --- a/mesh/v1alpha1/istio.mesh.v1alpha1.pb.html +++ b/mesh/v1alpha1/istio.mesh.v1alpha1.pb.html @@ -167,6 +167,15 @@

MeshConfig

File address for the proxy access log (e.g. /dev/stdout). Empty value disables access logging.

+ + + +accessLogFormat +string + +

Format for the proxy access log (text or json). +Default value is text.

+ diff --git a/python/istio_api/mesh/v1alpha1/config_pb2.py b/python/istio_api/mesh/v1alpha1/config_pb2.py index 3bfbabbccb..0bfcfca8bd 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\x1a\x19mesh/v1alpha1/proxy.proto\"\x9b\x05\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\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\'\n\x1f\x65nable_client_side_policy_check\x18\x13 \x01(\x08\x12\x14\n\x0csds_uds_path\x18\x14 \x01(\t\x12\x16\n\x0egalley_address\x18\x16 \x01(\t\x12\x1e\n\x16\x65nable_sds_token_mount\x18\x17 \x01(\x08\"9\n\x15IngressControllerMode\x12\x07\n\x03OFF\x10\x00\x12\x0b\n\x07\x44\x45\x46\x41ULT\x10\x01\x12\n\n\x06STRICT\x10\x02J\x04\x08\n\x10\x0bJ\x04\x08\x0b\x10\x0cJ\x04\x08\x0f\x10\x10J\x04\x08\x10\x10\x11J\x04\x08\x11\x10\x12J\x04\x08\x12\x10\x13J\x04\x08\x15\x10\x16\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\x1a\x19mesh/v1alpha1/proxy.proto\"\xb6\x05\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\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\x12\x38\n\x0e\x64\x65\x66\x61ult_config\x18\x0e \x01(\x0b\x32 .istio.mesh.v1alpha1.ProxyConfig\x12\'\n\x1f\x65nable_client_side_policy_check\x18\x13 \x01(\x08\x12\x14\n\x0csds_uds_path\x18\x14 \x01(\t\x12\x16\n\x0egalley_address\x18\x16 \x01(\t\x12\x1e\n\x16\x65nable_sds_token_mount\x18\x17 \x01(\x08\"9\n\x15IngressControllerMode\x12\x07\n\x03OFF\x10\x00\x12\x0b\n\x07\x44\x45\x46\x41ULT\x10\x01\x12\n\n\x06STRICT\x10\x02J\x04\x08\n\x10\x0bJ\x04\x08\x0b\x10\x0cJ\x04\x08\x0f\x10\x10J\x04\x08\x10\x10\x11J\x04\x08\x11\x10\x12J\x04\x08\x12\x10\x13J\x04\x08\x15\x10\x16\x42\x1cZ\x1aistio.io/api/mesh/v1alpha1b\x06proto3') , dependencies=[google_dot_protobuf_dot_duration__pb2.DESCRIPTOR,mesh_dot_v1alpha1_dot_proxy__pb2.DESCRIPTOR,]) @@ -48,8 +48,8 @@ ], containing_type=None, options=None, - serialized_start=679, - serialized_end=736, + serialized_start=706, + serialized_end=763, ) _sym_db.RegisterEnumDescriptor(_MESHCONFIG_INGRESSCONTROLLERMODE) @@ -139,35 +139,42 @@ is_extension=False, extension_scope=None, options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='default_config', full_name='istio.mesh.v1alpha1.MeshConfig.default_config', index=11, + name='access_log_format', full_name='istio.mesh.v1alpha1.MeshConfig.access_log_format', index=11, + 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, + options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='default_config', full_name='istio.mesh.v1alpha1.MeshConfig.default_config', index=12, 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='enable_client_side_policy_check', full_name='istio.mesh.v1alpha1.MeshConfig.enable_client_side_policy_check', index=12, + name='enable_client_side_policy_check', full_name='istio.mesh.v1alpha1.MeshConfig.enable_client_side_policy_check', index=13, 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=13, + name='sds_uds_path', full_name='istio.mesh.v1alpha1.MeshConfig.sds_uds_path', index=14, 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='galley_address', full_name='istio.mesh.v1alpha1.MeshConfig.galley_address', index=14, + name='galley_address', full_name='istio.mesh.v1alpha1.MeshConfig.galley_address', index=15, number=22, 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='enable_sds_token_mount', full_name='istio.mesh.v1alpha1.MeshConfig.enable_sds_token_mount', index=15, + name='enable_sds_token_mount', full_name='istio.mesh.v1alpha1.MeshConfig.enable_sds_token_mount', index=16, 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, @@ -187,7 +194,7 @@ oneofs=[ ], serialized_start=111, - serialized_end=778, + serialized_end=805, ) _MESHCONFIG.fields_by_name['connect_timeout'].message_type = google_dot_protobuf_dot_duration__pb2._DURATION