diff --git a/mesh/v1alpha1/config.pb.go b/mesh/v1alpha1/config.pb.go index 98218b7feb..68e6849aa4 100644 --- a/mesh/v1alpha1/config.pb.go +++ b/mesh/v1alpha1/config.pb.go @@ -183,9 +183,12 @@ 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. + // Format for the proxy access log + // Empty value results in proxy's default access log format AccessLogFormat string `protobuf:"bytes,24,opt,name=access_log_format,json=accessLogFormat,proto3" json:"access_log_format,omitempty"` + // Encoding for the proxy access log (text or json). + // Default value is text. + AccessLogEncoding string `protobuf:"bytes,27,opt,name=access_log_encoding,json=accessLogEncoding,proto3" json:"access_log_encoding,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, @@ -334,6 +337,13 @@ func (m *MeshConfig) GetAccessLogFormat() string { return "" } +func (m *MeshConfig) GetAccessLogEncoding() string { + if m != nil { + return m.AccessLogEncoding + } + return "" +} + func (m *MeshConfig) GetDefaultConfig() *ProxyConfig { if m != nil { return m.DefaultConfig @@ -677,6 +687,14 @@ func (m *MeshConfig) MarshalTo(dAtA []byte) (int, error) { i = encodeVarintConfig(dAtA, i, uint64(len(m.TrustDomain))) i += copy(dAtA[i:], m.TrustDomain) } + if len(m.AccessLogEncoding) > 0 { + dAtA[i] = 0xda + i++ + dAtA[i] = 0x1 + i++ + i = encodeVarintConfig(dAtA, i, uint64(len(m.AccessLogEncoding))) + i += copy(dAtA[i:], m.AccessLogEncoding) + } return i, nil } @@ -838,6 +856,10 @@ func (m *MeshConfig) Size() (n int) { if l > 0 { n += 2 + l + sovConfig(uint64(l)) } + l = len(m.AccessLogEncoding) + if l > 0 { + n += 2 + l + sovConfig(uint64(l)) + } return n } @@ -1539,6 +1561,35 @@ func (m *MeshConfig) Unmarshal(dAtA []byte) error { } m.TrustDomain = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex + case 27: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field AccessLogEncoding", 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.AccessLogEncoding = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipConfig(dAtA[iNdEx:]) @@ -1849,69 +1900,70 @@ var ( func init() { proto.RegisterFile("mesh/v1alpha1/config.proto", fileDescriptorConfig) } var fileDescriptorConfig = []byte{ - // 1022 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x55, 0xdd, 0x4e, 0x23, 0x47, - 0x13, 0xdd, 0x01, 0x2f, 0x98, 0xf2, 0xdf, 0xd0, 0xac, 0x97, 0xc6, 0xdf, 0x27, 0xe2, 0x25, 0x0a, - 0x6b, 0xa1, 0x68, 0xac, 0x05, 0xe5, 0x22, 0xb9, 0x33, 0x06, 0x76, 0xbd, 0x32, 0x18, 0x8d, 0xcd, - 0x46, 0xe4, 0xa6, 0x35, 0xcc, 0xb4, 0xed, 0x16, 0xe3, 0xe9, 0xc9, 0x74, 0xcf, 0x66, 0x79, 0xa1, - 0xbc, 0x44, 0x5e, 0x20, 0x97, 0x79, 0x84, 0x88, 0x27, 0x89, 0xa6, 0x7a, 0x0c, 0x26, 0xb1, 0x44, - 0x94, 0xcb, 0x3e, 0x75, 0xaa, 0xaa, 0xeb, 0x54, 0x55, 0x37, 0x34, 0x66, 0x5c, 0x4d, 0xdb, 0x9f, - 0xdf, 0x79, 0x61, 0x3c, 0xf5, 0xde, 0xb5, 0x7d, 0x19, 0x8d, 0xc5, 0xc4, 0x89, 0x13, 0xa9, 0x25, - 0xd9, 0x12, 0x4a, 0x0b, 0xe9, 0x64, 0x0c, 0x67, 0xce, 0x68, 0xec, 0x4e, 0xa4, 0x9c, 0x84, 0xbc, - 0x8d, 0x94, 0x9b, 0x74, 0xdc, 0x0e, 0xd2, 0xc4, 0xd3, 0x42, 0x46, 0xc6, 0xa9, 0xb1, 0xf3, 0x34, - 0x60, 0x9c, 0xc8, 0x2f, 0x77, 0xb9, 0xe9, 0x20, 0xe2, 0xfa, 0x17, 0x99, 0xdc, 0x8a, 0x68, 0x32, - 0x27, 0x1c, 0xb5, 0x03, 0xae, 0xb4, 0x88, 0x30, 0x02, 0x4b, 0xd2, 0x90, 0x1b, 0xee, 0xde, 0xaf, - 0x15, 0x80, 0x73, 0xae, 0xa6, 0x5d, 0xbc, 0x10, 0xf9, 0x16, 0xc8, 0x4c, 0x7c, 0xe1, 0x09, 0xf3, - 0xa7, 0xdc, 0xbf, 0x65, 0x8a, 0x27, 0x9f, 0x79, 0x42, 0xad, 0xa6, 0xd5, 0xda, 0x70, 0x6d, 0xb4, - 0x74, 0x33, 0xc3, 0x10, 0x71, 0xe2, 0xc0, 0x96, 0x61, 0x27, 0x3c, 0x96, 0x89, 0x9e, 0xd3, 0x57, - 0x90, 0xbe, 0x89, 0x26, 0x17, 0x2d, 0x39, 0xff, 0x10, 0xea, 0x81, 0x50, 0xde, 0x4d, 0xc8, 0x59, - 0x2c, 0x43, 0xe1, 0xdf, 0x99, 0x34, 0x8a, 0xae, 0x36, 0xad, 0x56, 0xd1, 0xdd, 0xca, 0x8d, 0x97, - 0x68, 0xc3, 0x44, 0x8a, 0x1c, 0xc0, 0x26, 0xd6, 0xc6, 0x42, 0xa1, 0x34, 0x8f, 0x58, 0x16, 0x8e, - 0x16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, 0x5d, 0x05, - 0xea, 0xd2, 0xd3, 0xd3, 0xac, 0xcd, 0xea, 0x1f, 0x6d, 0xae, 0xff, 0xab, 0x36, 0xab, 0xbf, 0xb5, - 0xf9, 0x03, 0x54, 0x4d, 0x3f, 0x98, 0x92, 0x69, 0xe2, 0x73, 0x45, 0x5f, 0x37, 0x57, 0x5b, 0xa5, - 0xc3, 0x37, 0x4b, 0xc5, 0x31, 0xc2, 0x0c, 0x91, 0xe9, 0x56, 0xfc, 0x85, 0x93, 0x22, 0x47, 0xf0, - 0x3a, 0x2f, 0x3e, 0xbb, 0x9b, 0x96, 0xb7, 0x3c, 0x62, 0x33, 0x99, 0x46, 0x9a, 0x6e, 0x9b, 0x67, - 0xc5, 0x58, 0x87, 0x81, 0x1a, 0x65, 0xb6, 0xf3, 0xcc, 0x94, 0x3d, 0x2b, 0x8b, 0xe3, 0x23, 0x93, - 0x99, 0xa7, 0x29, 0xc5, 0x82, 0x6b, 0x8f, 0x03, 0x84, 0x70, 0x96, 0x60, 0x51, 0x4a, 0x36, 0xf6, - 0x44, 0xc8, 0x64, 0xcc, 0x23, 0xba, 0x63, 0x12, 0xc4, 0x8f, 0x22, 0x9e, 0x79, 0x22, 0x1c, 0xc4, - 0x3c, 0x22, 0x6f, 0xa0, 0xac, 0x93, 0x54, 0x69, 0x16, 0xc8, 0x99, 0x27, 0x22, 0xda, 0xc0, 0xd8, - 0x25, 0xc4, 0x4e, 0x10, 0x6a, 0xfc, 0x66, 0x41, 0x7d, 0x69, 0xab, 0x89, 0x0b, 0x05, 0xdc, 0x7d, - 0x0b, 0x17, 0xf3, 0x87, 0xff, 0x34, 0x2f, 0x4e, 0xb6, 0xe9, 0xa8, 0x3d, 0xc6, 0xda, 0xbb, 0x80, - 0x02, 0xee, 0x7e, 0x1d, 0x2a, 0xee, 0xe9, 0xfb, 0xde, 0x70, 0xe4, 0x5e, 0xb3, 0xc1, 0x45, 0xff, - 0xda, 0x7e, 0xd1, 0x58, 0x29, 0x5a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ff, 0xf7, 0x66, 0x0d, 0xc7, 0xfe, 0xe8, - 0xaf, 0x00, 0x00, 0x00, 0xff, 0xff, 0xc5, 0x33, 0xb9, 0xa7, 0xe8, 0x07, 0x00, 0x00, + // 1039 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x55, 0x5f, 0x4f, 0x23, 0x37, + 0x10, 0x67, 0x21, 0x07, 0xc1, 0xf9, 0xb7, 0x98, 0xcb, 0x61, 0x72, 0x15, 0xcd, 0x51, 0x95, 0x8b, + 0x50, 0xb5, 0xd1, 0x81, 0xfa, 0xd0, 0xbe, 0x85, 0x10, 0xee, 0x72, 0x0a, 0x04, 0x6d, 0x96, 0xab, + 0xe8, 0x8b, 0xb5, 0xec, 0x3a, 0x89, 0xc5, 0x66, 0xbd, 0x5d, 0x7b, 0xaf, 0xc7, 0x67, 0xeb, 0x17, + 0xe8, 0x63, 0x9f, 0xfa, 0x5c, 0xf1, 0x49, 0x2a, 0x8f, 0x37, 0x10, 0xda, 0x48, 0x54, 0x7d, 0xf4, + 0x6f, 0x7e, 0x33, 0xe3, 0xf9, 0xcd, 0x78, 0x8c, 0x1a, 0x33, 0x26, 0xa7, 0xed, 0xcf, 0xef, 0xfc, + 0x28, 0x99, 0xfa, 0xef, 0xda, 0x81, 0x88, 0xc7, 0x7c, 0xe2, 0x24, 0xa9, 0x50, 0x02, 0x6f, 0x73, + 0xa9, 0xb8, 0x70, 0x34, 0xc3, 0x99, 0x33, 0x1a, 0x7b, 0x13, 0x21, 0x26, 0x11, 0x6b, 0x03, 0xe5, + 0x26, 0x1b, 0xb7, 0xc3, 0x2c, 0xf5, 0x15, 0x17, 0xb1, 0x71, 0x6a, 0xec, 0x3e, 0x0d, 0x98, 0xa4, + 0xe2, 0xcb, 0x5d, 0x6e, 0x3a, 0x8c, 0x99, 0xfa, 0x55, 0xa4, 0xb7, 0x3c, 0x9e, 0xcc, 0x09, 0xc7, + 0xed, 0x90, 0x49, 0xc5, 0x63, 0x88, 0x40, 0xd3, 0x2c, 0x62, 0x86, 0xbb, 0xff, 0x67, 0x05, 0xa1, + 0x73, 0x26, 0xa7, 0x5d, 0xb8, 0x10, 0xfe, 0x0e, 0xe1, 0x19, 0xff, 0xc2, 0x52, 0x1a, 0x4c, 0x59, + 0x70, 0x4b, 0x25, 0x4b, 0x3f, 0xb3, 0x94, 0x58, 0x4d, 0xab, 0xb5, 0xe9, 0xda, 0x60, 0xe9, 0x6a, + 0xc3, 0x08, 0x70, 0xec, 0xa0, 0x6d, 0xc3, 0x4e, 0x59, 0x22, 0x52, 0x35, 0xa7, 0xaf, 0x02, 0x7d, + 0x0b, 0x4c, 0x2e, 0x58, 0x72, 0xfe, 0x11, 0xaa, 0x87, 0x5c, 0xfa, 0x37, 0x11, 0xa3, 0x89, 0x88, + 0x78, 0x70, 0x67, 0xd2, 0x48, 0xb2, 0xd6, 0xb4, 0x5a, 0x45, 0x77, 0x3b, 0x37, 0x5e, 0x82, 0x0d, + 0x12, 0x49, 0x7c, 0x88, 0xb6, 0xa0, 0x36, 0x1a, 0x71, 0xa9, 0x58, 0x4c, 0x75, 0x38, 0x52, 0x68, + 0x5a, 0xad, 0x17, 0x6e, 0x0d, 0x0c, 0x03, 0xc0, 0x2f, 0x45, 0xaa, 0xf0, 0x01, 0x32, 0x10, 0x9d, + 0x2a, 0x95, 0x18, 0xe6, 0x0b, 0x60, 0x56, 0x00, 0xfe, 0xa0, 0x54, 0x02, 0xbc, 0x13, 0x54, 0x0b, + 0x44, 0x1c, 0xb3, 0x40, 0x51, 0xc5, 0x67, 0x4c, 0x64, 0x8a, 0xac, 0x37, 0xad, 0x56, 0xe9, 0x68, + 0xd7, 0x31, 0xaa, 0x3b, 0x73, 0xd5, 0x9d, 0xd3, 0x5c, 0x75, 0xb7, 0x9a, 0x7b, 0x78, 0xc6, 0x01, + 0x7f, 0x83, 0x2a, 0x3c, 0x9e, 0xa4, 0x4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c1, 0x25, 0xb4, 0x71, 0xda, 0x3b, 0xeb, 0x5c, + 0x0d, 0x3c, 0xdb, 0xc2, 0x08, 0xad, 0x8f, 0x3c, 0xb7, 0xdf, 0xf5, 0xec, 0xd5, 0xfd, 0x03, 0x84, + 0x1e, 0x77, 0x0f, 0x2e, 0xa2, 0xc2, 0xc5, 0xf0, 0xa2, 0x67, 0xaf, 0xe0, 0x2a, 0x42, 0xe7, 0x57, + 0x90, 0xcf, 0x1b, 0x8c, 0x6c, 0xeb, 0x63, 0xa1, 0x58, 0xb3, 0xed, 0x8f, 0x85, 0x22, 0xb6, 0xb7, + 0xf7, 0x25, 0x2a, 0x2f, 0x0e, 0x0d, 0x26, 0x68, 0x63, 0xfe, 0x70, 0xcd, 0x77, 0x36, 0x3f, 0xe2, + 0x3e, 0x2a, 0xab, 0x48, 0x2f, 0x68, 0xa5, 0x78, 0x3c, 0x91, 0xf0, 0x7d, 0x95, 0x8e, 0x0e, 0x72, + 0x11, 0x1f, 0xff, 0xd2, 0xb9, 0x94, 0xc7, 0x8e, 0x37, 0x18, 0x8d, 0x72, 0xb6, 0x5b, 0x52, 0x91, + 0x9c, 0x1f, 0x4e, 0x5a, 0xbf, 0xdf, 0xef, 0x59, 0x7f, 0xdc, 0xef, 0x59, 0x7f, 0xdd, 0xef, 0x59, + 0x3f, 0x37, 0x4c, 0x04, 0x2e, 0xda, 0x7e, 0xc2, 0xdb, 0x4f, 0xfe, 0xeb, 0x9b, 0x75, 0x78, 0x26, + 0xc7, 0x7f, 0x07, 0x00, 0x00, 0xff, 0xff, 0xf5, 0x34, 0x94, 0x8e, 0x18, 0x08, 0x00, 0x00, } diff --git a/mesh/v1alpha1/config.proto b/mesh/v1alpha1/config.proto index 38b2b2faec..9505758427 100644 --- a/mesh/v1alpha1/config.proto +++ b/mesh/v1alpha1/config.proto @@ -121,10 +121,14 @@ message MeshConfig { // Empty value disables access logging. string access_log_file = 13; - // Format for the proxy access log (text or json). - // Default value is text. + // Format for the proxy access log + // Empty value results in proxy's default access log format string access_log_format = 24; + // Encoding for the proxy access log (text or json). + // Default value is text. + string access_log_encoding = 27; + // 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, @@ -188,7 +192,7 @@ message MeshConfig { string trust_domain = 26; // $hide_from_docs - // Next available field number: 27 + // Next available field number: 28 } // ConfigSource describes information about a configuration store inside a diff --git a/mesh/v1alpha1/istio.mesh.v1alpha1.pb.html b/mesh/v1alpha1/istio.mesh.v1alpha1.pb.html index e5ade7fc3e..c7b162a46c 100644 --- a/mesh/v1alpha1/istio.mesh.v1alpha1.pb.html +++ b/mesh/v1alpha1/istio.mesh.v1alpha1.pb.html @@ -221,7 +221,16 @@
accessLogFormatstringFormat for the proxy access log (text or json). +
Format for the proxy access log +Empty value results in proxy’s default access log format
+ +accessLogEncodingstringEncoding for the proxy access log (text or json). Default value is text.