diff --git a/mesh/v1alpha1/config.pb.go b/mesh/v1alpha1/config.pb.go index 6113a1f6efc..bd01b0e1437 100644 --- a/mesh/v1alpha1/config.pb.go +++ b/mesh/v1alpha1/config.pb.go @@ -8,6 +8,7 @@ It is generated from these files: mesh/v1alpha1/config.proto It has these top-level messages: + ServerAddress ProxyConfig MeshConfig */ @@ -95,7 +96,7 @@ func (x MeshConfig_IngressControllerMode) String() string { return proto.EnumName(MeshConfig_IngressControllerMode_name, int32(x)) } func (MeshConfig_IngressControllerMode) EnumDescriptor() ([]byte, []int) { - return fileDescriptor0, []int{1, 0} + return fileDescriptor0, []int{2, 0} } // TODO AuthPolicy needs to be removed and merged with AuthPolicy defined above @@ -120,7 +121,35 @@ var MeshConfig_AuthPolicy_value = map[string]int32{ func (x MeshConfig_AuthPolicy) String() string { return proto.EnumName(MeshConfig_AuthPolicy_name, int32(x)) } -func (MeshConfig_AuthPolicy) EnumDescriptor() ([]byte, []int) { return fileDescriptor0, []int{1, 1} } +func (MeshConfig_AuthPolicy) EnumDescriptor() ([]byte, []int) { return fileDescriptor0, []int{2, 1} } + +// ServerAddress specifies the address of Istio components like mixer, pilot, etc. +// At least one of the field needs to be specified. +type ServerAddress struct { + // The address for mTLS server, e.g., (_istio-pilot:15003_) + MutualTls string `protobuf:"bytes,1,opt,name=mutual_tls,json=mutualTls" json:"mutual_tls,omitempty"` + // The address for plain text server, e.g., (_istio-pilot:15005_) + PlainText string `protobuf:"bytes,2,opt,name=plain_text,json=plainText" json:"plain_text,omitempty"` +} + +func (m *ServerAddress) Reset() { *m = ServerAddress{} } +func (m *ServerAddress) String() string { return proto.CompactTextString(m) } +func (*ServerAddress) ProtoMessage() {} +func (*ServerAddress) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{0} } + +func (m *ServerAddress) GetMutualTls() string { + if m != nil { + return m.MutualTls + } + return "" +} + +func (m *ServerAddress) GetPlainText() string { + if m != nil { + return m.PlainText + } + return "" +} // ProxyConfig defines variables for individual Envoy instances. type ProxyConfig struct { @@ -150,7 +179,7 @@ type ProxyConfig struct { // parent process during a hot restart. MUST be >=1s (e.g., _1s/1m/1h_). // MUST BE greater than _drain_duration_ parameter. ParentShutdownDuration *google_protobuf.Duration `protobuf:"bytes,5,opt,name=parent_shutdown_duration,json=parentShutdownDuration" json:"parent_shutdown_duration,omitempty"` - // Address of the discovery service exposing xDS (e.g. _istio-pilot:8080_). + // Deprecated, use server_address instead. DiscoveryAddress string `protobuf:"bytes,6,opt,name=discovery_address,json=discoveryAddress" json:"discovery_address,omitempty"` // Polling interval for service discovery (used by EDS, CDS, LDS, but not RDS). (MUST BE >=1ms) DiscoveryRefreshDelay *google_protobuf.Duration `protobuf:"bytes,7,opt,name=discovery_refresh_delay,json=discoveryRefreshDelay" json:"discovery_refresh_delay,omitempty"` @@ -180,12 +209,14 @@ type ProxyConfig struct { StatNameLength int32 `protobuf:"varint,15,opt,name=stat_name_length,json=statNameLength" json:"stat_name_length,omitempty"` // The number of worker threads to run. Default value is number of cores on the machine. Concurrency int32 `protobuf:"varint,16,opt,name=concurrency" json:"concurrency,omitempty"` + // Address of the discovery service exposing xDS. + Pilot *ServerAddress `protobuf:"bytes,17,opt,name=pilot" json:"pilot,omitempty"` } func (m *ProxyConfig) Reset() { *m = ProxyConfig{} } func (m *ProxyConfig) String() string { return proto.CompactTextString(m) } func (*ProxyConfig) ProtoMessage() {} -func (*ProxyConfig) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{0} } +func (*ProxyConfig) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{1} } func (m *ProxyConfig) GetConfigPath() string { if m != nil { @@ -299,24 +330,19 @@ func (m *ProxyConfig) GetConcurrency() int32 { return 0 } +func (m *ProxyConfig) GetPilot() *ServerAddress { + if m != nil { + return m.Pilot + } + return nil +} + // MeshConfig defines mesh-wide variables shared by all Envoy instances in the // Istio service mesh. type MeshConfig struct { - // Address of the server that will be used by the proxies for policy - // check calls (e.g. _istio-mixer:15004_). By using different names for - // mixerCheckServer and mixerReportServer, it is possible to have one set - // of mixer servers handle policy check calls, while another set of mixer - // servers handle telemetry calls. - // - // NOTE: Omitting mixerCheckServer while specifying mixerReportServer is - // equivalent to setting disablePolicyChecks to true. + // Deprecated, use mixer_check instead. MixerCheckServer string `protobuf:"bytes,1,opt,name=mixer_check_server,json=mixerCheckServer" json:"mixer_check_server,omitempty"` - // Address of the server that will be used by the proxies as an Istio - // telemetry sink (access logs, API/connection metrics) - // (e.g. _istio-mixer:15004_). By using different names for - // mixerCheckServer and mixerReportServer, it is possible to have one set - // of mixer servers handle policy check calls, while another set of mixer - // servers handle telemetry calls. + // Deprecated, use mixer_report instead. MixerReportServer string `protobuf:"bytes,2,opt,name=mixer_report_server,json=mixerReportServer" json:"mixer_report_server,omitempty"` // Disable policy checks by the mixer service. Default // is false, i.e. mixer policy check is enabled by default. @@ -362,14 +388,25 @@ type MeshConfig struct { // Instead, use service-level annotations to overwrite the authentication policy. MtlsExcludedServices []string `protobuf:"bytes,15,rep,name=mtls_excluded_services,json=mtlsExcludedServices" json:"mtls_excluded_services,omitempty"` // DEPRECATED. Mixer address. This option will be removed soon. Please - // use mixer_check_server and mixer_report_server. + // use mixer_check and mixer_report. MixerAddress string `protobuf:"bytes,16,opt,name=mixer_address,json=mixerAddress" json:"mixer_address,omitempty"` + // Address of the server that will be used by the proxies for policy + // check calls. By using different names for mixerCheck and mixerReport, it + // is possible to have one set of mixer servers handle policy check calls, + // while another set of mixer servers handle telemetry calls. + // + // NOTE: Omitting mixerCheck while specifying mixerReport is + // equivalent to setting disablePolicyChecks to true. + MixerCheck *ServerAddress `protobuf:"bytes,17,opt,name=mixer_check,json=mixerCheck" json:"mixer_check,omitempty"` + // Address of the server that will be used by the proxies for policy report + // calls. + MixerReport *ServerAddress `protobuf:"bytes,18,opt,name=mixer_report,json=mixerReport" json:"mixer_report,omitempty"` } func (m *MeshConfig) Reset() { *m = MeshConfig{} } func (m *MeshConfig) String() string { return proto.CompactTextString(m) } func (*MeshConfig) ProtoMessage() {} -func (*MeshConfig) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{1} } +func (*MeshConfig) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{2} } func (m *MeshConfig) GetMixerCheckServer() string { if m != nil { @@ -483,7 +520,22 @@ func (m *MeshConfig) GetMixerAddress() string { return "" } +func (m *MeshConfig) GetMixerCheck() *ServerAddress { + if m != nil { + return m.MixerCheck + } + return nil +} + +func (m *MeshConfig) GetMixerReport() *ServerAddress { + if m != nil { + return m.MixerReport + } + return nil +} + func init() { + proto.RegisterType((*ServerAddress)(nil), "istio.mesh.v1alpha1.ServerAddress") proto.RegisterType((*ProxyConfig)(nil), "istio.mesh.v1alpha1.ProxyConfig") proto.RegisterType((*MeshConfig)(nil), "istio.mesh.v1alpha1.MeshConfig") proto.RegisterEnum("istio.mesh.v1alpha1.AuthenticationPolicy", AuthenticationPolicy_name, AuthenticationPolicy_value) @@ -494,65 +546,71 @@ func init() { func init() { proto.RegisterFile("mesh/v1alpha1/config.proto", fileDescriptor0) } var fileDescriptor0 = []byte{ - // 958 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x55, 0x4b, 0x6f, 0x1b, 0x37, - 0x10, 0x8e, 0xfc, 0x92, 0x3d, 0xb2, 0x56, 0x6b, 0x3a, 0x76, 0x36, 0x46, 0xd1, 0x0a, 0x2e, 0x9a, - 0xaa, 0x6e, 0x20, 0x21, 0x6e, 0x7b, 0xe8, 0xa5, 0xa8, 0x9f, 0x8d, 0x01, 0xf9, 0xd1, 0x95, 0x7c, - 0xc9, 0x85, 0xa0, 0x77, 0x69, 0x2d, 0x11, 0x8a, 0x5c, 0x90, 0x5c, 0xd7, 0xca, 0x9f, 0x2d, 0x7a, - 0xeb, 0xcf, 0x28, 0xf8, 0x90, 0xac, 0x06, 0x2a, 0x8c, 0x1e, 0xf5, 0xcd, 0x37, 0x33, 0x3b, 0x9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 0xf9, 0x74, 0x9b, 0x3a, 0x69, 0xb5, 0x97, - 0x3b, 0x1b, 0xe9, 0x4b, 0x1b, 0x3d, 0x0b, 0xc1, 0xb0, 0x53, 0x6d, 0x25, 0xe2, 0xed, 0x31, 0xbd, - 0x5d, 0xb1, 0x97, 0x88, 0x03, 0xc3, 0xdd, 0xda, 0xff, 0x19, 0x76, 0x16, 0xae, 0x0e, 0xd5, 0x61, - 0xf9, 0xfa, 0xfc, 0x3c, 0x7e, 0x81, 0x1a, 0x50, 0x3f, 0x3d, 0x3b, 0x3f, 0xba, 0xed, 0x0f, 0xe3, - 0x1a, 0x02, 0x58, 0x1b, 0x0c, 0xd3, 0x8b, 0x93, 0x61, 0xbc, 0xb4, 0xff, 0x06, 0x60, 0xee, 0x86, - 0xac, 0xc3, 0xca, 0xd5, 0xf5, 0xd5, 0x59, 0xfc, 0x02, 0x45, 0x00, 0x97, 0xb7, 0xc3, 0xdb, 0xa3, - 0x3e, 0x1e, 0xf6, 0x07, 0x71, 0xed, 0xe0, 0x17, 0x78, 0xb9, 0xe8, 0x1a, 0xfd, 0x77, 0x06, 0xda, - 0x84, 0xfa, 0xc5, 0xd5, 0xfb, 0xb3, 0xf4, 0x62, 0x18, 0xff, 0x5d, 0x3f, 0xfe, 0xe2, 0xc3, 0x9e, - 0x7f, 0x2f, 0x26, 0x7b, 0xa4, 0x64, 0xbd, 0x7f, 0xfd, 0xcb, 0xdf, 0xad, 0xb9, 0xbd, 0xfe, 0xf0, - 0x4f, 0x00, 0x00, 0x00, 0xff, 0xff, 0xde, 0xe8, 0x6d, 0xe0, 0xfd, 0x07, 0x00, 0x00, + // 1043 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x56, 0x5b, 0x4f, 0x23, 0x47, + 0x13, 0x5d, 0x73, 0x33, 0x94, 0xf1, 0x85, 0x66, 0x61, 0x67, 0xd1, 0xf7, 0x25, 0x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0x35, 0xa8, 0x9e, 0x0e, + 0xcf, 0x8e, 0x6f, 0x46, 0x93, 0x56, 0x05, 0x01, 0x6c, 0x8c, 0x27, 0xe1, 0xf9, 0x60, 0xd2, 0x5a, + 0xe9, 0xbc, 0x02, 0x58, 0xb8, 0x84, 0x9b, 0xb0, 0x76, 0x79, 0x75, 0x39, 0x6c, 0x3d, 0x43, 0x0d, + 0x80, 0x8b, 0x9b, 0xc9, 0xcd, 0xf1, 0x08, 0x4f, 0x46, 0xe3, 0x56, 0xe5, 0xf0, 0x17, 0x78, 0xbe, + 0xec, 0xa6, 0xfe, 0x7b, 0x06, 0xda, 0x86, 0xea, 0xf9, 0xe5, 0xdb, 0x61, 0x78, 0x3e, 0x69, 0xfd, + 0x55, 0x3d, 0xf9, 0xdf, 0xbb, 0x03, 0x37, 0x14, 0x13, 0x7d, 0x92, 0xb3, 0xfe, 0x47, 0x3f, 0x7d, + 0x6e, 0x37, 0xac, 0xc6, 0xbe, 0xff, 0x27, 0x00, 0x00, 0xff, 0xff, 0x74, 0xbd, 0x2a, 0x4d, 0x12, + 0x09, 0x00, 0x00, } diff --git a/mesh/v1alpha1/config.proto b/mesh/v1alpha1/config.proto index 8dc99f665dc..99723cb2aeb 100644 --- a/mesh/v1alpha1/config.proto +++ b/mesh/v1alpha1/config.proto @@ -41,6 +41,16 @@ enum AuthenticationPolicy { INHERIT = 1000; } +// ServerAddress specifies the address of Istio components like mixer, pilot, etc. +// At least one of the field needs to be specified. +message ServerAddress { + // The address for mTLS server, e.g., (_istio-pilot:15003_) + string mutual_tls = 1; + + // The address for plain text server, e.g., (_istio-pilot:15005_) + string plain_text = 2; +} + // ProxyConfig defines variables for individual Envoy instances. message ProxyConfig { // Path to the generated configuration file directory. @@ -74,7 +84,7 @@ message ProxyConfig { // MUST BE greater than _drain_duration_ parameter. google.protobuf.Duration parent_shutdown_duration = 5; - // Address of the discovery service exposing xDS (e.g. _istio-pilot:8080_). + // Deprecated, use server_address instead. string discovery_address = 6; // Polling interval for service discovery (used by EDS, CDS, LDS, but not RDS). (MUST BE >=1ms) @@ -112,27 +122,18 @@ message ProxyConfig { // The number of worker threads to run. Default value is number of cores on the machine. int32 concurrency = 16; + + // Address of the discovery service exposing xDS. + ServerAddress pilot = 17; } // MeshConfig defines mesh-wide variables shared by all Envoy instances in the // Istio service mesh. message MeshConfig { - // Address of the server that will be used by the proxies for policy - // check calls (e.g. _istio-mixer:15004_). By using different names for - // mixerCheckServer and mixerReportServer, it is possible to have one set - // of mixer servers handle policy check calls, while another set of mixer - // servers handle telemetry calls. - // - // NOTE: Omitting mixerCheckServer while specifying mixerReportServer is - // equivalent to setting disablePolicyChecks to true. + // Deprecated, use mixer_check instead. string mixer_check_server = 1; - // Address of the server that will be used by the proxies as an Istio - // telemetry sink (access logs, API/connection metrics) - // (e.g. _istio-mixer:15004_). By using different names for - // mixerCheckServer and mixerReportServer, it is possible to have one set - // of mixer servers handle policy check calls, while another set of mixer - // servers handle telemetry calls. + // Deprecated, use mixer_report instead. string mixer_report_server = 2; // Disable policy checks by the mixer service. Default @@ -220,6 +221,19 @@ message MeshConfig { repeated string mtls_excluded_services = 15; // DEPRECATED. Mixer address. This option will be removed soon. Please - // use mixer_check_server and mixer_report_server. + // use mixer_check and mixer_report. string mixer_address = 16; + + // Address of the server that will be used by the proxies for policy + // check calls. By using different names for mixerCheck and mixerReport, it + // is possible to have one set of mixer servers handle policy check calls, + // while another set of mixer servers handle telemetry calls. + // + // NOTE: Omitting mixerCheck while specifying mixerReport is + // equivalent to setting disablePolicyChecks to true. + ServerAddress mixer_check = 17; + + // Address of the server that will be used by the proxies for policy report + // calls. + ServerAddress mixer_report = 18; } diff --git a/mesh/v1alpha1/istio.mesh.v1alpha1.pb.html b/mesh/v1alpha1/istio.mesh.v1alpha1.pb.html index f6d80d17f8c..62d75e83136 100644 --- a/mesh/v1alpha1/istio.mesh.v1alpha1.pb.html +++ b/mesh/v1alpha1/istio.mesh.v1alpha1.pb.html @@ -4,7 +4,7 @@ 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: 5 +number_of_entries: 6 ---

AuthenticationPolicy

@@ -64,14 +64,7 @@

MeshConfig

mixerCheckServer string -

Address of the server that will be used by the proxies for policy -check calls (e.g. istio-mixer:15004). By using different names for -mixerCheckServer and mixerReportServer, it is possible to have one set -of mixer servers handle policy check calls, while another set of mixer -servers handle telemetry calls.

- -

NOTE: Omitting mixerCheckServer while specifying mixerReportServer is -equivalent to setting disablePolicyChecks to true.

+

Deprecated, use mixer_check instead.

@@ -79,12 +72,7 @@

MeshConfig

mixerReportServer string -

Address of the server that will be used by the proxies as an Istio -telemetry sink (access logs, API/connection metrics) -(e.g. istio-mixer:15004). By using different names for -mixerCheckServer and mixerReportServer, it is possible to have one set -of mixer servers handle policy check calls, while another set of mixer -servers handle telemetry calls.

+

Deprecated, use mixer_report instead.

@@ -214,7 +202,30 @@

MeshConfig

string

DEPRECATED. Mixer address. This option will be removed soon. Please -use mixercheckserver and mixerreportserver.

+use mixercheck and mixerreport.

+ + + + +mixerCheck +ServerAddress + +

Address of the server that will be used by the proxies for policy +check calls. By using different names for mixerCheck and mixerReport, it +is possible to have one set of mixer servers handle policy check calls, +while another set of mixer servers handle telemetry calls.

+ +

NOTE: Omitting mixerCheck while specifying mixerReport is +equivalent to setting disablePolicyChecks to true.

+ + + + +mixerReport +ServerAddress + +

Address of the server that will be used by the proxies for policy report +calls.

@@ -365,7 +376,7 @@

ProxyConfig

discoveryAddress string -

Address of the discovery service exposing xDS (e.g. istio-pilot:8080).

+

Deprecated, use server_address instead.

@@ -455,6 +466,47 @@

ProxyConfig

The number of worker threads to run. Default value is number of cores on the machine.

+ + + +pilot +ServerAddress + +

Address of the discovery service exposing xDS.

+ + + + + +
+

ServerAddress

+
+

ServerAddress specifies the address of Istio components like mixer, pilot, etc. +At least one of the field needs to be specified.

+ + + + + + + + + + + + + + + + + + +
FieldTypeDescription
mutualTlsstring +

The address for mTLS server, e.g., (istio-pilot:15003)

+ +
plainTextstring +

The address for plain text server, e.g., (istio-pilot:15005)

+