Date: Wed, 21 Nov 2018 17:14:10 +0200
Subject: [PATCH 06/10] clarify http match example (#714)
---
networking/v1alpha3/istio.networking.v1alpha3.pb.html | 2 +-
networking/v1alpha3/virtual_service.pb.go | 2 +-
networking/v1alpha3/virtual_service.proto | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/networking/v1alpha3/istio.networking.v1alpha3.pb.html b/networking/v1alpha3/istio.networking.v1alpha3.pb.html
index 69a40b7a19..85633a8414 100644
--- a/networking/v1alpha3/istio.networking.v1alpha3.pb.html
+++ b/networking/v1alpha3/istio.networking.v1alpha3.pb.html
@@ -3887,7 +3887,7 @@ VirtualService
The following example on Kubernetes, routes all HTTP traffic by default to
pods of the reviews service with label “version: v1”. In addition,
-HTTP requests containing /wpcatalog/, /consumercatalog/ url prefixes will
+HTTP requests with path starting with /wpcatalog/ or /consumercatalog/ will
be rewritten to /newcatalog and sent to pods with label “version: v2”.
apiVersion: networking.istio.io/v1alpha3
diff --git a/networking/v1alpha3/virtual_service.pb.go b/networking/v1alpha3/virtual_service.pb.go
index 19abdd4626..c7c80c8ead 100644
--- a/networking/v1alpha3/virtual_service.pb.go
+++ b/networking/v1alpha3/virtual_service.pb.go
@@ -28,7 +28,7 @@ var _ = math.Inf
//
// The following example on Kubernetes, routes all HTTP traffic by default to
// pods of the reviews service with label "version: v1". In addition,
-// HTTP requests containing /wpcatalog/, /consumercatalog/ url prefixes will
+// HTTP requests with path starting with /wpcatalog/ or /consumercatalog/ will
// be rewritten to /newcatalog and sent to pods with label "version: v2".
//
//
diff --git a/networking/v1alpha3/virtual_service.proto b/networking/v1alpha3/virtual_service.proto
index a86c295033..80f6201f0d 100644
--- a/networking/v1alpha3/virtual_service.proto
+++ b/networking/v1alpha3/virtual_service.proto
@@ -65,7 +65,7 @@ option go_package = "istio.io/api/networking/v1alpha3";
//
// The following example on Kubernetes, routes all HTTP traffic by default to
// pods of the reviews service with label "version: v1". In addition,
-// HTTP requests containing /wpcatalog/, /consumercatalog/ url prefixes will
+// HTTP requests with path starting with /wpcatalog/ or /consumercatalog/ will
// be rewritten to /newcatalog and sent to pods with label "version: v2".
//
//
From fd493665dc8420782f34e0872cceda11f8cc368d Mon Sep 17 00:00:00 2001
From: Shakti Das
Date: Sun, 25 Nov 2018 21:18:03 +0530
Subject: [PATCH 07/10] API changes to enable TCP keepalive configuration.
(#718)
* API changes to enable TCP keepalive configuration.
Signed-off-by: Shakti
* Added probes configuration to tcp_keepalive.
Signed-off-by: Shakti
* Updated description to 'time duration'.
Signed-off-by: Shakti
---
mesh/v1alpha1/config.pb.go | 201 +++++---
mesh/v1alpha1/config.proto | 5 +-
mesh/v1alpha1/istio.mesh.v1alpha1.pb.html | 8 +
networking/v1alpha3/destination_rule.pb.go | 482 ++++++++++++++----
networking/v1alpha3/destination_rule.proto | 24 +
.../istio.networking.v1alpha3.pb.html | 59 ++-
proto.lock | 32 ++
python/istio_api/mesh/v1alpha1/config_pb2.py | 72 +--
.../v1alpha3/destination_rule_pb2.py | 89 +++-
9 files changed, 768 insertions(+), 204 deletions(-)
diff --git a/mesh/v1alpha1/config.pb.go b/mesh/v1alpha1/config.pb.go
index 2e3ffac974..f613644c60 100644
--- a/mesh/v1alpha1/config.pb.go
+++ b/mesh/v1alpha1/config.pb.go
@@ -188,6 +188,8 @@ type MeshConfig struct {
ProxyHttpPort int32 `protobuf:"varint,5,opt,name=proxy_http_port,json=proxyHttpPort,proto3" json:"proxy_http_port,omitempty"`
// Connection timeout used by Envoy. (MUST BE >=1ms)
ConnectTimeout *google_protobuf.Duration `protobuf:"bytes,6,opt,name=connect_timeout,json=connectTimeout" json:"connect_timeout,omitempty"`
+ // If set then set SO_KEEPALIVE on the socket to enable TCP Keepalives.
+ TcpKeepalive *istio_networking_v1alpha31.ConnectionPoolSettings_TCPSettings_TcpKeepalive `protobuf:"bytes,28,opt,name=tcp_keepalive,json=tcpKeepalive" json:"tcp_keepalive,omitempty"`
// Class of ingress resources to be processed by Istio ingress
// controller. This corresponds to the value of
// "kubernetes.io/ingress.class" annotation.
@@ -304,6 +306,13 @@ func (m *MeshConfig) GetConnectTimeout() *google_protobuf.Duration {
return nil
}
+func (m *MeshConfig) GetTcpKeepalive() *istio_networking_v1alpha31.ConnectionPoolSettings_TCPSettings_TcpKeepalive {
+ if m != nil {
+ return m.TcpKeepalive
+ }
+ return nil
+}
+
func (m *MeshConfig) GetIngressClass() string {
if m != nil {
return m.IngressClass
@@ -718,6 +727,18 @@ func (m *MeshConfig) MarshalTo(dAtA []byte) (int, error) {
i++
i = encodeVarintConfig(dAtA, i, uint64(m.AccessLogEncoding))
}
+ if m.TcpKeepalive != nil {
+ dAtA[i] = 0xe2
+ i++
+ dAtA[i] = 0x1
+ i++
+ i = encodeVarintConfig(dAtA, i, uint64(m.TcpKeepalive.Size()))
+ n6, err := m.TcpKeepalive.MarshalTo(dAtA[i:])
+ if err != nil {
+ return 0, err
+ }
+ i += n6
+ }
return i, nil
}
@@ -769,11 +790,11 @@ func (m *ConfigSource) MarshalTo(dAtA []byte) (int, error) {
dAtA[i] = 0x12
i++
i = encodeVarintConfig(dAtA, i, uint64(m.TlsSettings.Size()))
- n6, err := m.TlsSettings.MarshalTo(dAtA[i:])
+ n7, err := m.TlsSettings.MarshalTo(dAtA[i:])
if err != nil {
return 0, err
}
- i += n6
+ i += n7
}
return i, nil
}
@@ -882,6 +903,10 @@ func (m *MeshConfig) Size() (n int) {
if m.AccessLogEncoding != 0 {
n += 2 + sovConfig(uint64(m.AccessLogEncoding))
}
+ if m.TcpKeepalive != nil {
+ l = m.TcpKeepalive.Size()
+ n += 2 + l + sovConfig(uint64(l))
+ }
return n
}
@@ -1602,6 +1627,39 @@ func (m *MeshConfig) Unmarshal(dAtA []byte) error {
break
}
}
+ case 28:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field TcpKeepalive", wireType)
+ }
+ var msglen int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowConfig
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ msglen |= (int(b) & 0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ if msglen < 0 {
+ return ErrInvalidLengthConfig
+ }
+ postIndex := iNdEx + msglen
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ if m.TcpKeepalive == nil {
+ m.TcpKeepalive = &istio_networking_v1alpha31.ConnectionPoolSettings_TCPSettings_TcpKeepalive{}
+ }
+ if err := m.TcpKeepalive.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ iNdEx = postIndex
default:
iNdEx = preIndex
skippy, err := skipConfig(dAtA[iNdEx:])
@@ -1912,72 +1970,75 @@ var (
func init() { proto.RegisterFile("mesh/v1alpha1/config.proto", fileDescriptorConfig) }
var fileDescriptorConfig = []byte{
- // 1071 bytes of a gzipped FileDescriptorProto
- 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x56, 0xdf, 0x4e, 0xe3, 0xc6,
- 0x17, 0xc6, 0x90, 0x85, 0x30, 0xf9, 0xe7, 0x4c, 0x36, 0xcb, 0x90, 0xfd, 0x89, 0x5f, 0x36, 0x55,
- 0x21, 0x42, 0x95, 0x23, 0x40, 0xbd, 0x68, 0xef, 0x42, 0x08, 0xbb, 0x41, 0x21, 0x41, 0xb6, 0xd9,
- 0x96, 0xde, 0x8c, 0x8c, 0x3d, 0x49, 0x46, 0x38, 0x1e, 0xd7, 0x33, 0xde, 0x2e, 0xaf, 0xd5, 0xdb,
- 0xbe, 0x40, 0x2f, 0xfb, 0x08, 0x15, 0x4f, 0x52, 0xcd, 0x8c, 0x03, 0x61, 0x37, 0x12, 0x55, 0xef,
- 0xe2, 0xef, 0x7c, 0xe7, 0x9c, 0x39, 0xdf, 0x39, 0x73, 0x26, 0xa0, 0x31, 0x27, 0x7c, 0xd6, 0xf9,
- 0x74, 0xe4,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0xcf, 0xb6, 0xf6, 0x9f, 0x41, 0xf3, 0x8b, 0xca, 0x29, 0xba, 0x3f,
+ 0xf8, 0xd9, 0xb7, 0x37, 0xd4, 0xaf, 0x53, 0x6f, 0x7c, 0x6e, 0x5b, 0xa7, 0x5b, 0x3b, 0x0d, 0xdb,
+ 0x3e, 0xdd, 0xda, 0x41, 0xf6, 0xee, 0xbe, 0x80, 0xea, 0xea, 0x04, 0x20, 0x0c, 0xdb, 0xe5, 0x16,
+ 0x32, 0xdf, 0xe6, 0xf2, 0x88, 0x86, 0x50, 0x95, 0xb1, 0xfa, 0xda, 0x98, 0x52, 0xe9, 0x6f, 0x71,
+ 0xe5, 0xe0, 0xe9, 0xbf, 0xd4, 0xdb, 0x1f, 0x79, 0x65, 0x61, 0xdd, 0x8a, 0x8c, 0x45, 0x79, 0x78,
+ 0xd9, 0xfd, 0xf3, 0xe3, 0x9e, 0xf5, 0xd7, 0xc7, 0x3d, 0xeb, 0xef, 0x8f, 0x7b, 0xd6, 0x2f, 0x6d,
+ 0x13, 0x81, 0xf1, 0x5e, 0x90, 0xb2, 0xde, 0xb5, 0x3f, 0x1f, 0x97, 0x77, 0xf4, 0xcc, 0x1f, 0xfe,
+ 0x13, 0x00, 0x00, 0xff, 0xff, 0x42, 0x10, 0x6c, 0xd1, 0xe5, 0x08, 0x00, 0x00,
}
diff --git a/mesh/v1alpha1/config.proto b/mesh/v1alpha1/config.proto
index 952501f6d5..4a19be15ce 100644
--- a/mesh/v1alpha1/config.proto
+++ b/mesh/v1alpha1/config.proto
@@ -71,6 +71,9 @@ message MeshConfig {
// Connection timeout used by Envoy. (MUST BE >=1ms)
google.protobuf.Duration connect_timeout = 6;
+ // If set then set SO_KEEPALIVE on the socket to enable TCP Keepalives.
+ istio.networking.v1alpha3.ConnectionPoolSettings.TCPSettings.TcpKeepalive tcp_keepalive = 28;
+
// Class of ingress resources to be processed by Istio ingress
// controller. This corresponds to the value of
// "kubernetes.io/ingress.class" annotation.
@@ -197,7 +200,7 @@ message MeshConfig {
string trust_domain = 26;
// $hide_from_docs
- // Next available field number: 28
+ // Next available field number: 29
}
// 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 2e6b034417..77ddc649ac 100644
--- a/mesh/v1alpha1/istio.mesh.v1alpha1.pb.html
+++ b/mesh/v1alpha1/istio.mesh.v1alpha1.pb.html
@@ -171,6 +171,14 @@ MeshConfig
Connection timeout used by Envoy. (MUST BE >=1ms)
+ |
+
+
+tcpKeepalive |
+istio.networking.v1alpha3.ConnectionPoolSettings.TCPSettings.TcpKeepalive |
+
+ If set then set SO_KEEPALIVE on the socket to enable TCP Keepalives.
+
|
diff --git a/networking/v1alpha3/destination_rule.pb.go b/networking/v1alpha3/destination_rule.pb.go
index 5e36f5a482..f7d392d8a5 100644
--- a/networking/v1alpha3/destination_rule.pb.go
+++ b/networking/v1alpha3/destination_rule.pb.go
@@ -869,6 +869,9 @@ func (m *LoadBalancerSettings_ConsistentHashLB_HTTPCookie) GetTtl() *time.Durati
// tcp:
// maxConnections: 100
// connectTimeout: 30ms
+// tcpKeepalive:
+// time: 7200s
+// interval: 75s
// ```
type ConnectionPoolSettings struct {
// Settings common to both HTTP and TCP upstream connections.
@@ -904,6 +907,8 @@ type ConnectionPoolSettings_TCPSettings struct {
MaxConnections int32 `protobuf:"varint,1,opt,name=max_connections,json=maxConnections,proto3" json:"max_connections,omitempty"`
// TCP connection timeout.
ConnectTimeout *google_protobuf.Duration `protobuf:"bytes,2,opt,name=connect_timeout,json=connectTimeout" json:"connect_timeout,omitempty"`
+ // If set then set SO_KEEPALIVE on the socket to enable TCP Keepalives.
+ TcpKeepalive *ConnectionPoolSettings_TCPSettings_TcpKeepalive `protobuf:"bytes,3,opt,name=tcp_keepalive,json=tcpKeepalive" json:"tcp_keepalive,omitempty"`
}
func (m *ConnectionPoolSettings_TCPSettings) Reset() { *m = ConnectionPoolSettings_TCPSettings{} }
@@ -927,6 +932,61 @@ func (m *ConnectionPoolSettings_TCPSettings) GetConnectTimeout() *google_protobu
return nil
}
+func (m *ConnectionPoolSettings_TCPSettings) GetTcpKeepalive() *ConnectionPoolSettings_TCPSettings_TcpKeepalive {
+ if m != nil {
+ return m.TcpKeepalive
+ }
+ return nil
+}
+
+// TCP keepalive.
+type ConnectionPoolSettings_TCPSettings_TcpKeepalive struct {
+ // Maximum number of keepalive probes to send without response before
+ // deciding the connection is dead. Default is to use the OS level configuration
+ // (unless overridden, Linux defaults to 9.)
+ Probes uint32 `protobuf:"varint,1,opt,name=probes,proto3" json:"probes,omitempty"`
+ // The time duration a connection needs to be idle before keep-alive
+ // probes start being sent. Default is to use the OS level configuration
+ // (unless overridden, Linux defaults to 7200s (ie 2 hours.)
+ Time *google_protobuf.Duration `protobuf:"bytes,2,opt,name=time" json:"time,omitempty"`
+ // The time duration between keep-alive probes.
+ // Default is to use the OS level configuration
+ // (unless overridden, Linux defaults to 75s.)
+ Interval *google_protobuf.Duration `protobuf:"bytes,3,opt,name=interval" json:"interval,omitempty"`
+}
+
+func (m *ConnectionPoolSettings_TCPSettings_TcpKeepalive) Reset() {
+ *m = ConnectionPoolSettings_TCPSettings_TcpKeepalive{}
+}
+func (m *ConnectionPoolSettings_TCPSettings_TcpKeepalive) String() string {
+ return proto.CompactTextString(m)
+}
+func (*ConnectionPoolSettings_TCPSettings_TcpKeepalive) ProtoMessage() {}
+func (*ConnectionPoolSettings_TCPSettings_TcpKeepalive) Descriptor() ([]byte, []int) {
+ return fileDescriptorDestinationRule, []int{4, 0, 0}
+}
+
+func (m *ConnectionPoolSettings_TCPSettings_TcpKeepalive) GetProbes() uint32 {
+ if m != nil {
+ return m.Probes
+ }
+ return 0
+}
+
+func (m *ConnectionPoolSettings_TCPSettings_TcpKeepalive) GetTime() *google_protobuf.Duration {
+ if m != nil {
+ return m.Time
+ }
+ return nil
+}
+
+func (m *ConnectionPoolSettings_TCPSettings_TcpKeepalive) GetInterval() *google_protobuf.Duration {
+ if m != nil {
+ return m.Interval
+ }
+ return nil
+}
+
// Settings applicable to HTTP1.1/HTTP2/GRPC connections.
type ConnectionPoolSettings_HTTPSettings struct {
// Maximum number of pending HTTP requests to a destination. Default 1024.
@@ -1211,6 +1271,7 @@ func init() {
proto.RegisterType((*LoadBalancerSettings_ConsistentHashLB_HTTPCookie)(nil), "istio.networking.v1alpha3.LoadBalancerSettings.ConsistentHashLB.HTTPCookie")
proto.RegisterType((*ConnectionPoolSettings)(nil), "istio.networking.v1alpha3.ConnectionPoolSettings")
proto.RegisterType((*ConnectionPoolSettings_TCPSettings)(nil), "istio.networking.v1alpha3.ConnectionPoolSettings.TCPSettings")
+ proto.RegisterType((*ConnectionPoolSettings_TCPSettings_TcpKeepalive)(nil), "istio.networking.v1alpha3.ConnectionPoolSettings.TCPSettings.TcpKeepalive")
proto.RegisterType((*ConnectionPoolSettings_HTTPSettings)(nil), "istio.networking.v1alpha3.ConnectionPoolSettings.HTTPSettings")
proto.RegisterType((*OutlierDetection)(nil), "istio.networking.v1alpha3.OutlierDetection")
proto.RegisterType((*TLSSettings)(nil), "istio.networking.v1alpha3.TLSSettings")
@@ -1670,6 +1731,59 @@ func (m *ConnectionPoolSettings_TCPSettings) MarshalTo(dAtA []byte) (int, error)
}
i += n19
}
+ if m.TcpKeepalive != nil {
+ dAtA[i] = 0x1a
+ i++
+ i = encodeVarintDestinationRule(dAtA, i, uint64(m.TcpKeepalive.Size()))
+ n20, err := m.TcpKeepalive.MarshalTo(dAtA[i:])
+ if err != nil {
+ return 0, err
+ }
+ i += n20
+ }
+ return i, nil
+}
+
+func (m *ConnectionPoolSettings_TCPSettings_TcpKeepalive) Marshal() (dAtA []byte, err error) {
+ size := m.Size()
+ dAtA = make([]byte, size)
+ n, err := m.MarshalTo(dAtA)
+ if err != nil {
+ return nil, err
+ }
+ return dAtA[:n], nil
+}
+
+func (m *ConnectionPoolSettings_TCPSettings_TcpKeepalive) MarshalTo(dAtA []byte) (int, error) {
+ var i int
+ _ = i
+ var l int
+ _ = l
+ if m.Probes != 0 {
+ dAtA[i] = 0x8
+ i++
+ i = encodeVarintDestinationRule(dAtA, i, uint64(m.Probes))
+ }
+ if m.Time != nil {
+ dAtA[i] = 0x12
+ i++
+ i = encodeVarintDestinationRule(dAtA, i, uint64(m.Time.Size()))
+ n21, err := m.Time.MarshalTo(dAtA[i:])
+ if err != nil {
+ return 0, err
+ }
+ i += n21
+ }
+ if m.Interval != nil {
+ dAtA[i] = 0x1a
+ i++
+ i = encodeVarintDestinationRule(dAtA, i, uint64(m.Interval.Size()))
+ n22, err := m.Interval.MarshalTo(dAtA[i:])
+ if err != nil {
+ return 0, err
+ }
+ i += n22
+ }
return i, nil
}
@@ -1735,21 +1849,21 @@ func (m *OutlierDetection) MarshalTo(dAtA []byte) (int, error) {
dAtA[i] = 0x12
i++
i = encodeVarintDestinationRule(dAtA, i, uint64(m.Interval.Size()))
- n20, err := m.Interval.MarshalTo(dAtA[i:])
+ n23, err := m.Interval.MarshalTo(dAtA[i:])
if err != nil {
return 0, err
}
- i += n20
+ i += n23
}
if m.BaseEjectionTime != nil {
dAtA[i] = 0x1a
i++
i = encodeVarintDestinationRule(dAtA, i, uint64(m.BaseEjectionTime.Size()))
- n21, err := m.BaseEjectionTime.MarshalTo(dAtA[i:])
+ n24, err := m.BaseEjectionTime.MarshalTo(dAtA[i:])
if err != nil {
return 0, err
}
- i += n21
+ i += n24
}
if m.MaxEjectionPercent != 0 {
dAtA[i] = 0x20
@@ -2031,6 +2145,27 @@ func (m *ConnectionPoolSettings_TCPSettings) Size() (n int) {
l = m.ConnectTimeout.Size()
n += 1 + l + sovDestinationRule(uint64(l))
}
+ if m.TcpKeepalive != nil {
+ l = m.TcpKeepalive.Size()
+ n += 1 + l + sovDestinationRule(uint64(l))
+ }
+ return n
+}
+
+func (m *ConnectionPoolSettings_TCPSettings_TcpKeepalive) Size() (n int) {
+ var l int
+ _ = l
+ if m.Probes != 0 {
+ n += 1 + sovDestinationRule(uint64(m.Probes))
+ }
+ if m.Time != nil {
+ l = m.Time.Size()
+ n += 1 + l + sovDestinationRule(uint64(l))
+ }
+ if m.Interval != nil {
+ l = m.Interval.Size()
+ n += 1 + l + sovDestinationRule(uint64(l))
+ }
return n
}
@@ -3511,6 +3646,174 @@ func (m *ConnectionPoolSettings_TCPSettings) Unmarshal(dAtA []byte) error {
return err
}
iNdEx = postIndex
+ case 3:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field TcpKeepalive", wireType)
+ }
+ var msglen int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowDestinationRule
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ msglen |= (int(b) & 0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ if msglen < 0 {
+ return ErrInvalidLengthDestinationRule
+ }
+ postIndex := iNdEx + msglen
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ if m.TcpKeepalive == nil {
+ m.TcpKeepalive = &ConnectionPoolSettings_TCPSettings_TcpKeepalive{}
+ }
+ if err := m.TcpKeepalive.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ iNdEx = postIndex
+ default:
+ iNdEx = preIndex
+ skippy, err := skipDestinationRule(dAtA[iNdEx:])
+ if err != nil {
+ return err
+ }
+ if skippy < 0 {
+ return ErrInvalidLengthDestinationRule
+ }
+ if (iNdEx + skippy) > l {
+ return io.ErrUnexpectedEOF
+ }
+ iNdEx += skippy
+ }
+ }
+
+ if iNdEx > l {
+ return io.ErrUnexpectedEOF
+ }
+ return nil
+}
+func (m *ConnectionPoolSettings_TCPSettings_TcpKeepalive) Unmarshal(dAtA []byte) error {
+ l := len(dAtA)
+ iNdEx := 0
+ for iNdEx < l {
+ preIndex := iNdEx
+ var wire uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowDestinationRule
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ wire |= (uint64(b) & 0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ fieldNum := int32(wire >> 3)
+ wireType := int(wire & 0x7)
+ if wireType == 4 {
+ return fmt.Errorf("proto: TcpKeepalive: wiretype end group for non-group")
+ }
+ if fieldNum <= 0 {
+ return fmt.Errorf("proto: TcpKeepalive: illegal tag %d (wire type %d)", fieldNum, wire)
+ }
+ switch fieldNum {
+ case 1:
+ if wireType != 0 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Probes", wireType)
+ }
+ m.Probes = 0
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowDestinationRule
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ m.Probes |= (uint32(b) & 0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ case 2:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Time", wireType)
+ }
+ var msglen int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowDestinationRule
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ msglen |= (int(b) & 0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ if msglen < 0 {
+ return ErrInvalidLengthDestinationRule
+ }
+ postIndex := iNdEx + msglen
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ if m.Time == nil {
+ m.Time = &google_protobuf.Duration{}
+ }
+ if err := m.Time.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ iNdEx = postIndex
+ case 3:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Interval", wireType)
+ }
+ var msglen int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowDestinationRule
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ msglen |= (int(b) & 0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ if msglen < 0 {
+ return ErrInvalidLengthDestinationRule
+ }
+ postIndex := iNdEx + msglen
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ if m.Interval == nil {
+ m.Interval = &google_protobuf.Duration{}
+ }
+ if err := m.Interval.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ iNdEx = postIndex
default:
iNdEx = preIndex
skippy, err := skipDestinationRule(dAtA[iNdEx:])
@@ -4155,87 +4458,92 @@ func init() {
}
var fileDescriptorDestinationRule = []byte{
- // 1312 bytes of a gzipped FileDescriptorProto
- 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x57, 0xcf, 0x6e, 0x1b, 0x37,
- 0x13, 0xb7, 0xfe, 0xc6, 0x1e, 0xc5, 0xb2, 0xcc, 0xcf, 0xf8, 0x3e, 0x45, 0x1f, 0xe0, 0xb8, 0x42,
- 0xd1, 0xb8, 0x69, 0xb3, 0xaa, 0x1d, 0x14, 0x48, 0x13, 0xa4, 0x88, 0x65, 0x0b, 0x91, 0x11, 0xd9,
- 0x12, 0xb8, 0x32, 0x50, 0xe4, 0xb2, 0xa0, 0x56, 0xb4, 0xc4, 0x78, 0x77, 0xb9, 0x25, 0xb9, 0xaa,
- 0x9d, 0xf7, 0x68, 0xd1, 0x6b, 0x2f, 0x7d, 0x81, 0xbe, 0x44, 0xd1, 0x53, 0xaf, 0xed, 0xa5, 0x45,
- 0x5e, 0xa0, 0xa7, 0xde, 0x0b, 0x72, 0x77, 0x25, 0x39, 0x71, 0x9c, 0x18, 0x69, 0x6e, 0x5c, 0xce,
- 0xfc, 0x7e, 0x33, 0xe4,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 0x73, 0x44, 0x52, 0x0b, 0xa0, 0x8c, 0x06, 0xfa, 0x3e, 0x1c, 0xe2, 0x29, 0x23, 0xe1, 0xf1, 0xcf,
- 0xb4, 0x25, 0xbc, 0x92, 0x18, 0x76, 0x3c, 0xa5, 0x15, 0x5c, 0xea, 0x49, 0x28, 0x03, 0x56, 0x2d,
- 0xc6, 0x93, 0x50, 0x06, 0xac, 0xfe, 0x08, 0xae, 0x25, 0xe7, 0x40, 0x25, 0xb8, 0xb6, 0xb7, 0x6f,
- 0xef, 0x34, 0x3b, 0xad, 0xca, 0x82, 0x16, 0x22, 0x7b, 0xff, 0xa0, 0xd7, 0x69, 0xc5, 0xa2, 0x74,
- 0x70, 0xd4, 0x3f, 0xda, 0xe9, 0x54, 0xb2, 0xa8, 0x02, 0xd7, 0xf7, 0xed, 0xfe, 0x7e, 0xd7, 0x49,
- 0x76, 0x72, 0x4d, 0xeb, 0xe7, 0x17, 0xeb, 0x99, 0x5f, 0x5f, 0xac, 0x67, 0xfe, 0x7c, 0xb1, 0x9e,
- 0x79, 0xba, 0x11, 0xdf, 0x1d, 0xe3, 0x0d, 0x12, 0xb2, 0xc6, 0x05, 0x7f, 0x49, 0x06, 0x45, 0xd3,
- 0x01, 0x77, 0xff, 0x09, 0x00, 0x00, 0xff, 0xff, 0xb3, 0x95, 0xd0, 0xbb, 0x17, 0x0d, 0x00, 0x00,
+ // 1379 bytes of a gzipped FileDescriptorProto
+ 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x57, 0xcd, 0x6e, 0x1b, 0xb7,
+ 0x16, 0xb6, 0x7e, 0x63, 0x1f, 0xf9, 0x47, 0xe6, 0x35, 0x72, 0x15, 0x5d, 0xc0, 0xf1, 0x15, 0x8a,
+ 0xc6, 0x4d, 0x9b, 0x51, 0xed, 0xa0, 0x40, 0x9a, 0x20, 0x45, 0x2c, 0xdb, 0x88, 0xdc, 0xc8, 0x96,
+ 0x40, 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x8d, 0xdd, 0xe2, 0x8c, 0xae, 0xc4, 0xed, 0xbd, 0xfd, 0x56, 0x63,
+ 0x37, 0xae, 0xca, 0xfb, 0x87, 0x9d, 0xc3, 0xad, 0x46, 0x31, 0x8d, 0x8a, 0x30, 0xbf, 0xd7, 0xee,
+ 0xec, 0x35, 0x5d, 0x3b, 0x93, 0xa9, 0x39, 0x3f, 0xbd, 0x5c, 0x4d, 0xfd, 0xf2, 0x72, 0x35, 0xf5,
+ 0xc7, 0xcb, 0xd5, 0xd4, 0xd3, 0xb5, 0x38, 0x76, 0x8c, 0x57, 0x49, 0xc8, 0xaa, 0xe7, 0xfc, 0x93,
+ 0x75, 0xf3, 0x26, 0x03, 0xee, 0xfe, 0x13, 0x00, 0x00, 0xff, 0xff, 0x9a, 0x4a, 0x6d, 0x05, 0x18,
+ 0x0e, 0x00, 0x00,
}
diff --git a/networking/v1alpha3/destination_rule.proto b/networking/v1alpha3/destination_rule.proto
index 188fdc6a1a..a19091e2c3 100644
--- a/networking/v1alpha3/destination_rule.proto
+++ b/networking/v1alpha3/destination_rule.proto
@@ -351,15 +351,39 @@ message LoadBalancerSettings {
// tcp:
// maxConnections: 100
// connectTimeout: 30ms
+// tcpKeepalive:
+// time: 7200s
+// interval: 75s
// ```
message ConnectionPoolSettings {
// Settings common to both HTTP and TCP upstream connections.
message TCPSettings {
+ // TCP keepalive.
+ message TcpKeepalive {
+ // Maximum number of keepalive probes to send without response before
+ // deciding the connection is dead. Default is to use the OS level configuration
+ // (unless overridden, Linux defaults to 9.)
+ uint32 probes = 1;
+
+ // The time duration a connection needs to be idle before keep-alive
+ // probes start being sent. Default is to use the OS level configuration
+ // (unless overridden, Linux defaults to 7200s (ie 2 hours.)
+ google.protobuf.Duration time = 2;
+
+ // The time duration between keep-alive probes.
+ // Default is to use the OS level configuration
+ // (unless overridden, Linux defaults to 75s.)
+ google.protobuf.Duration interval = 3;
+ };
+
// Maximum number of HTTP1 /TCP connections to a destination host.
int32 max_connections = 1;
// TCP connection timeout.
google.protobuf.Duration connect_timeout = 2;
+
+ // If set then set SO_KEEPALIVE on the socket to enable TCP Keepalives.
+ TcpKeepalive tcp_keepalive = 3;
};
// Settings applicable to HTTP1.1/HTTP2/GRPC connections.
diff --git a/networking/v1alpha3/istio.networking.v1alpha3.pb.html b/networking/v1alpha3/istio.networking.v1alpha3.pb.html
index 85633a8414..40618387f8 100644
--- a/networking/v1alpha3/istio.networking.v1alpha3.pb.html
+++ b/networking/v1alpha3/istio.networking.v1alpha3.pb.html
@@ -6,7 +6,7 @@
generator: protoc-gen-docs
aliases:
- /docs/reference/config/istio.routing.v1alpha1/
-number_of_entries: 52
+number_of_entries: 53
---
Configuration affecting traffic routing. Here are a few terms useful to define
in the context of traffic routing.
@@ -59,6 +59,9 @@ ConnectionPoolSettings
tcp:
maxConnections: 100
connectTimeout: 30ms
+ tcpKeepalive:
+ time: 7200s
+ interval: 75s
+
+ConnectionPoolSettings.TCPSettings.TcpKeepalive
+
+TCP keepalive.
+
+
+
+
+| Field |
+Type |
+Description |
+
+
+
+
+probes |
+uint32 |
+
+ Maximum number of keepalive probes to send without response before
+deciding the connection is dead. Default is to use the OS level configuration
+(unless overridden, Linux defaults to 9.)
+
+ |
+
+
+time |
+google.protobuf.Duration |
+
+ The time duration a connection needs to be idle before keep-alive
+probes start being sent. Default is to use the OS level configuration
+(unless overridden, Linux defaults to 7200s (ie 2 hours.)
+
+ |
+
+
+interval |
+google.protobuf.Duration |
+
+ The time duration between keep-alive probes.
+Default is to use the OS level configuration
+(unless overridden, Linux defaults to 75s.)
+
|
diff --git a/proto.lock b/proto.lock
index 3e8c8b2154..1602f9d220 100644
--- a/proto.lock
+++ b/proto.lock
@@ -731,6 +731,11 @@
"name": "connect_timeout",
"type": "google.protobuf.Duration"
},
+ {
+ "id": 28,
+ "name": "tcp_keepalive",
+ "type": "istio.networking.v1alpha3.ConnectionPoolSettings.TCPSettings.TcpKeepalive"
+ },
{
"id": 7,
"name": "ingress_class",
@@ -2624,6 +2629,33 @@
"id": 2,
"name": "connect_timeout",
"type": "google.protobuf.Duration"
+ },
+ {
+ "id": 3,
+ "name": "tcp_keepalive",
+ "type": "TcpKeepalive"
+ }
+ ],
+ "messages": [
+ {
+ "name": "TcpKeepalive",
+ "fields": [
+ {
+ "id": 1,
+ "name": "probes",
+ "type": "uint32"
+ },
+ {
+ "id": 2,
+ "name": "time",
+ "type": "google.protobuf.Duration"
+ },
+ {
+ "id": 3,
+ "name": "interval",
+ "type": "google.protobuf.Duration"
+ }
+ ]
}
]
},
diff --git a/python/istio_api/mesh/v1alpha1/config_pb2.py b/python/istio_api/mesh/v1alpha1/config_pb2.py
index 28143969be..4a48e30acd 100644
--- a/python/istio_api/mesh/v1alpha1/config_pb2.py
+++ b/python/istio_api/mesh/v1alpha1/config_pb2.py
@@ -22,7 +22,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\x1a*networking/v1alpha3/destination_rule.proto\"\xfa\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\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\x38\n\x11rds_refresh_delay\x18\x0b \x01(\x0b\x32\x19.google.protobuf.DurationB\x02\x18\x01\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\x12N\n\x13\x61\x63\x63\x65ss_log_encoding\x18\x1b \x01(\x0e\x32\x31.istio.mesh.v1alpha1.MeshConfig.AccessLogEncoding\x12\x38\n\x0e\x64\x65\x66\x61ult_config\x18\x0e \x01(\x0b\x32 .istio.mesh.v1alpha1.ProxyConfig\x12\x19\n\rmixer_address\x18\x10 \x01(\tB\x02\x18\x01\x12Z\n\x17outbound_traffic_policy\x18\x11 \x01(\x0b\x32\x35.istio.mesh.v1alpha1.MeshConfig.OutboundTrafficPolicyB\x02\x18\x01\x12\'\n\x1f\x65nable_client_side_policy_check\x18\x13 \x01(\x08\x12\x14\n\x0csds_uds_path\x18\x14 \x01(\t\x12\x38\n\x11sds_refresh_delay\x18\x15 \x01(\x0b\x32\x19.google.protobuf.DurationB\x02\x18\x01\x12\x39\n\x0e\x63onfig_sources\x18\x16 \x03(\x0b\x32!.istio.mesh.v1alpha1.ConfigSource\x12\x1e\n\x16\x65nable_sds_token_mount\x18\x17 \x01(\x08\x12\x14\n\x0ctrust_domain\x18\x1a \x01(\t\x1a\xb5\x01\n\x15OutboundTrafficPolicy\x12L\n\x04mode\x18\x01 \x01(\x0e\x32:.istio.mesh.v1alpha1.MeshConfig.OutboundTrafficPolicy.ModeB\x02\x18\x01\"N\n\x04Mode\x12\x15\n\rREGISTRY_ONLY\x10\x00\x1a\x02\x08\x01\x12\x11\n\tALLOW_ANY\x10\x01\x1a\x02\x08\x01\x12\x1c\n\x14VIRTUAL_SERVICE_ONLY\x10\x02\x1a\x02\x08\x01\"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\x11\x41\x63\x63\x65ssLogEncoding\x12\x08\n\x04TEXT\x10\x00\x12\x08\n\x04JSON\x10\x01J\x04\x08\x0f\x10\x10J\x04\x08\x12\x10\x13\"]\n\x0c\x43onfigSource\x12\x0f\n\x07\x61\x64\x64ress\x18\x01 \x01(\t\x12<\n\x0ctls_settings\x18\x02 \x01(\x0b\x32&.istio.networking.v1alpha3.TLSSettingsB\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\x1a*networking/v1alpha3/destination_rule.proto\"\xdd\x0b\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\x61\n\rtcp_keepalive\x18\x1c \x01(\x0b\x32J.istio.networking.v1alpha3.ConnectionPoolSettings.TCPSettings.TcpKeepalive\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\x38\n\x11rds_refresh_delay\x18\x0b \x01(\x0b\x32\x19.google.protobuf.DurationB\x02\x18\x01\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\x12N\n\x13\x61\x63\x63\x65ss_log_encoding\x18\x1b \x01(\x0e\x32\x31.istio.mesh.v1alpha1.MeshConfig.AccessLogEncoding\x12\x38\n\x0e\x64\x65\x66\x61ult_config\x18\x0e \x01(\x0b\x32 .istio.mesh.v1alpha1.ProxyConfig\x12\x19\n\rmixer_address\x18\x10 \x01(\tB\x02\x18\x01\x12Z\n\x17outbound_traffic_policy\x18\x11 \x01(\x0b\x32\x35.istio.mesh.v1alpha1.MeshConfig.OutboundTrafficPolicyB\x02\x18\x01\x12\'\n\x1f\x65nable_client_side_policy_check\x18\x13 \x01(\x08\x12\x14\n\x0csds_uds_path\x18\x14 \x01(\t\x12\x38\n\x11sds_refresh_delay\x18\x15 \x01(\x0b\x32\x19.google.protobuf.DurationB\x02\x18\x01\x12\x39\n\x0e\x63onfig_sources\x18\x16 \x03(\x0b\x32!.istio.mesh.v1alpha1.ConfigSource\x12\x1e\n\x16\x65nable_sds_token_mount\x18\x17 \x01(\x08\x12\x14\n\x0ctrust_domain\x18\x1a \x01(\t\x1a\xb5\x01\n\x15OutboundTrafficPolicy\x12L\n\x04mode\x18\x01 \x01(\x0e\x32:.istio.mesh.v1alpha1.MeshConfig.OutboundTrafficPolicy.ModeB\x02\x18\x01\"N\n\x04Mode\x12\x15\n\rREGISTRY_ONLY\x10\x00\x1a\x02\x08\x01\x12\x11\n\tALLOW_ANY\x10\x01\x1a\x02\x08\x01\x12\x1c\n\x14VIRTUAL_SERVICE_ONLY\x10\x02\x1a\x02\x08\x01\"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\x11\x41\x63\x63\x65ssLogEncoding\x12\x08\n\x04TEXT\x10\x00\x12\x08\n\x04JSON\x10\x01J\x04\x08\x0f\x10\x10J\x04\x08\x12\x10\x13\"]\n\x0c\x43onfigSource\x12\x0f\n\x07\x61\x64\x64ress\x18\x01 \x01(\t\x12<\n\x0ctls_settings\x18\x02 \x01(\x0b\x32&.istio.networking.v1alpha3.TLSSettingsB\x1cZ\x1aistio.io/api/mesh/v1alpha1b\x06proto3')
,
dependencies=[google_dot_protobuf_dot_duration__pb2.DESCRIPTOR,mesh_dot_v1alpha1_dot_proxy__pb2.DESCRIPTOR,networking_dot_v1alpha3_dot_destination__rule__pb2.DESCRIPTOR,])
@@ -49,8 +49,8 @@
],
containing_type=None,
options=None,
- serialized_start=1327,
- serialized_end=1405,
+ serialized_start=1426,
+ serialized_end=1504,
)
_sym_db.RegisterEnumDescriptor(_MESHCONFIG_OUTBOUNDTRAFFICPOLICY_MODE)
@@ -75,8 +75,8 @@
],
containing_type=None,
options=None,
- serialized_start=1407,
- serialized_end=1464,
+ serialized_start=1506,
+ serialized_end=1563,
)
_sym_db.RegisterEnumDescriptor(_MESHCONFIG_INGRESSCONTROLLERMODE)
@@ -97,8 +97,8 @@
],
containing_type=None,
options=None,
- serialized_start=1466,
- serialized_end=1504,
+ serialized_start=1565,
+ serialized_end=1603,
)
_sym_db.RegisterEnumDescriptor(_MESHCONFIG_AUTHPOLICY)
@@ -119,8 +119,8 @@
],
containing_type=None,
options=None,
- serialized_start=1506,
- serialized_end=1545,
+ serialized_start=1605,
+ serialized_end=1644,
)
_sym_db.RegisterEnumDescriptor(_MESHCONFIG_ACCESSLOGENCODING)
@@ -152,8 +152,8 @@
extension_ranges=[],
oneofs=[
],
- serialized_start=1224,
- serialized_end=1405,
+ serialized_start=1323,
+ serialized_end=1504,
)
_MESHCONFIG = _descriptor.Descriptor(
@@ -213,126 +213,133 @@
is_extension=False, extension_scope=None,
options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
- name='ingress_class', full_name='istio.mesh.v1alpha1.MeshConfig.ingress_class', index=7,
+ name='tcp_keepalive', full_name='istio.mesh.v1alpha1.MeshConfig.tcp_keepalive', index=7,
+ number=28, 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=8,
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=8,
+ name='ingress_service', full_name='istio.mesh.v1alpha1.MeshConfig.ingress_service', index=9,
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=9,
+ name='ingress_controller_mode', full_name='istio.mesh.v1alpha1.MeshConfig.ingress_controller_mode', index=10,
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=10,
+ name='auth_policy', full_name='istio.mesh.v1alpha1.MeshConfig.auth_policy', index=11,
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=11,
+ name='rds_refresh_delay', full_name='istio.mesh.v1alpha1.MeshConfig.rds_refresh_delay', index=12,
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=_descriptor._ParseOptions(descriptor_pb2.FieldOptions(), _b('\030\001')), file=DESCRIPTOR),
_descriptor.FieldDescriptor(
- name='enable_tracing', full_name='istio.mesh.v1alpha1.MeshConfig.enable_tracing', index=12,
+ name='enable_tracing', full_name='istio.mesh.v1alpha1.MeshConfig.enable_tracing', index=13,
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=13,
+ name='access_log_file', full_name='istio.mesh.v1alpha1.MeshConfig.access_log_file', index=14,
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='access_log_format', full_name='istio.mesh.v1alpha1.MeshConfig.access_log_format', index=14,
+ name='access_log_format', full_name='istio.mesh.v1alpha1.MeshConfig.access_log_format', index=15,
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='access_log_encoding', full_name='istio.mesh.v1alpha1.MeshConfig.access_log_encoding', index=15,
+ name='access_log_encoding', full_name='istio.mesh.v1alpha1.MeshConfig.access_log_encoding', index=16,
number=27, 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='default_config', full_name='istio.mesh.v1alpha1.MeshConfig.default_config', index=16,
+ name='default_config', full_name='istio.mesh.v1alpha1.MeshConfig.default_config', index=17,
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=17,
+ name='mixer_address', full_name='istio.mesh.v1alpha1.MeshConfig.mixer_address', index=18,
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=_descriptor._ParseOptions(descriptor_pb2.FieldOptions(), _b('\030\001')), file=DESCRIPTOR),
_descriptor.FieldDescriptor(
- name='outbound_traffic_policy', full_name='istio.mesh.v1alpha1.MeshConfig.outbound_traffic_policy', index=18,
+ name='outbound_traffic_policy', full_name='istio.mesh.v1alpha1.MeshConfig.outbound_traffic_policy', index=19,
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=_descriptor._ParseOptions(descriptor_pb2.FieldOptions(), _b('\030\001')), file=DESCRIPTOR),
_descriptor.FieldDescriptor(
- name='enable_client_side_policy_check', full_name='istio.mesh.v1alpha1.MeshConfig.enable_client_side_policy_check', index=19,
+ name='enable_client_side_policy_check', full_name='istio.mesh.v1alpha1.MeshConfig.enable_client_side_policy_check', index=20,
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=20,
+ name='sds_uds_path', full_name='istio.mesh.v1alpha1.MeshConfig.sds_uds_path', index=21,
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=21,
+ name='sds_refresh_delay', full_name='istio.mesh.v1alpha1.MeshConfig.sds_refresh_delay', index=22,
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,
is_extension=False, extension_scope=None,
options=_descriptor._ParseOptions(descriptor_pb2.FieldOptions(), _b('\030\001')), file=DESCRIPTOR),
_descriptor.FieldDescriptor(
- name='config_sources', full_name='istio.mesh.v1alpha1.MeshConfig.config_sources', index=22,
+ name='config_sources', full_name='istio.mesh.v1alpha1.MeshConfig.config_sources', index=23,
number=22, type=11, cpp_type=10, label=3,
has_default_value=False, default_value=[],
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=23,
+ name='enable_sds_token_mount', full_name='istio.mesh.v1alpha1.MeshConfig.enable_sds_token_mount', index=24,
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,
is_extension=False, extension_scope=None,
options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
- name='trust_domain', full_name='istio.mesh.v1alpha1.MeshConfig.trust_domain', index=24,
+ name='trust_domain', full_name='istio.mesh.v1alpha1.MeshConfig.trust_domain', index=25,
number=26, 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,
@@ -354,7 +361,7 @@
oneofs=[
],
serialized_start=155,
- serialized_end=1557,
+ serialized_end=1656,
)
@@ -391,14 +398,15 @@
extension_ranges=[],
oneofs=[
],
- serialized_start=1559,
- serialized_end=1652,
+ serialized_start=1658,
+ serialized_end=1751,
)
_MESHCONFIG_OUTBOUNDTRAFFICPOLICY.fields_by_name['mode'].enum_type = _MESHCONFIG_OUTBOUNDTRAFFICPOLICY_MODE
_MESHCONFIG_OUTBOUNDTRAFFICPOLICY.containing_type = _MESHCONFIG
_MESHCONFIG_OUTBOUNDTRAFFICPOLICY_MODE.containing_type = _MESHCONFIG_OUTBOUNDTRAFFICPOLICY
_MESHCONFIG.fields_by_name['connect_timeout'].message_type = google_dot_protobuf_dot_duration__pb2._DURATION
+_MESHCONFIG.fields_by_name['tcp_keepalive'].message_type = networking_dot_v1alpha3_dot_destination__rule__pb2._CONNECTIONPOOLSETTINGS_TCPSETTINGS_TCPKEEPALIVE
_MESHCONFIG.fields_by_name['ingress_controller_mode'].enum_type = _MESHCONFIG_INGRESSCONTROLLERMODE
_MESHCONFIG.fields_by_name['auth_policy'].enum_type = _MESHCONFIG_AUTHPOLICY
_MESHCONFIG.fields_by_name['rds_refresh_delay'].message_type = google_dot_protobuf_dot_duration__pb2._DURATION
diff --git a/python/istio_api/networking/v1alpha3/destination_rule_pb2.py b/python/istio_api/networking/v1alpha3/destination_rule_pb2.py
index 36effb9013..e352885f81 100644
--- a/python/istio_api/networking/v1alpha3/destination_rule_pb2.py
+++ b/python/istio_api/networking/v1alpha3/destination_rule_pb2.py
@@ -22,7 +22,7 @@
name='networking/v1alpha3/destination_rule.proto',
package='istio.networking.v1alpha3',
syntax='proto3',
- serialized_pb=_b('\n*networking/v1alpha3/destination_rule.proto\x12\x19istio.networking.v1alpha3\x1a\x1egoogle/protobuf/duration.proto\x1a)networking/v1alpha3/virtual_service.proto\x1a\x14gogoproto/gogo.proto\"\x95\x01\n\x0f\x44\x65stinationRule\x12\x0c\n\x04host\x18\x01 \x01(\t\x12@\n\x0etraffic_policy\x18\x02 \x01(\x0b\x32(.istio.networking.v1alpha3.TrafficPolicy\x12\x32\n\x07subsets\x18\x03 \x03(\x0b\x32!.istio.networking.v1alpha3.Subset\"\xd7\x05\n\rTrafficPolicy\x12\x46\n\rload_balancer\x18\x01 \x01(\x0b\x32/.istio.networking.v1alpha3.LoadBalancerSettings\x12J\n\x0f\x63onnection_pool\x18\x02 \x01(\x0b\x32\x31.istio.networking.v1alpha3.ConnectionPoolSettings\x12\x46\n\x11outlier_detection\x18\x03 \x01(\x0b\x32+.istio.networking.v1alpha3.OutlierDetection\x12\x33\n\x03tls\x18\x04 \x01(\x0b\x32&.istio.networking.v1alpha3.TLSSettings\x12W\n\x13port_level_settings\x18\x05 \x03(\x0b\x32:.istio.networking.v1alpha3.TrafficPolicy.PortTrafficPolicy\x1a\xdb\x02\n\x11PortTrafficPolicy\x12\x35\n\x04port\x18\x01 \x01(\x0b\x32\'.istio.networking.v1alpha3.PortSelector\x12\x46\n\rload_balancer\x18\x02 \x01(\x0b\x32/.istio.networking.v1alpha3.LoadBalancerSettings\x12J\n\x0f\x63onnection_pool\x18\x03 \x01(\x0b\x32\x31.istio.networking.v1alpha3.ConnectionPoolSettings\x12\x46\n\x11outlier_detection\x18\x04 \x01(\x0b\x32+.istio.networking.v1alpha3.OutlierDetection\x12\x33\n\x03tls\x18\x05 \x01(\x0b\x32&.istio.networking.v1alpha3.TLSSettings\"\xc6\x01\n\x06Subset\x12\x0c\n\x04name\x18\x01 \x01(\t\x12=\n\x06labels\x18\x02 \x03(\x0b\x32-.istio.networking.v1alpha3.Subset.LabelsEntry\x12@\n\x0etraffic_policy\x18\x03 \x01(\x0b\x32(.istio.networking.v1alpha3.TrafficPolicy\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\xc3\x04\n\x14LoadBalancerSettings\x12J\n\x06simple\x18\x01 \x01(\x0e\x32\x38.istio.networking.v1alpha3.LoadBalancerSettings.SimpleLBH\x00\x12[\n\x0f\x63onsistent_hash\x18\x02 \x01(\x0b\x32@.istio.networking.v1alpha3.LoadBalancerSettings.ConsistentHashLBH\x00\x1a\xaa\x02\n\x10\x43onsistentHashLB\x12\x1a\n\x10http_header_name\x18\x01 \x01(\tH\x00\x12\x62\n\x0bhttp_cookie\x18\x02 \x01(\x0b\x32K.istio.networking.v1alpha3.LoadBalancerSettings.ConsistentHashLB.HTTPCookieH\x00\x12\x17\n\ruse_source_ip\x18\x03 \x01(\x08H\x00\x12\x19\n\x11minimum_ring_size\x18\x04 \x01(\x04\x1aV\n\nHTTPCookie\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0c\n\x04path\x18\x02 \x01(\t\x12,\n\x03ttl\x18\x03 \x01(\x0b\x32\x19.google.protobuf.DurationB\x04\x98\xdf\x1f\x01\x42\n\n\x08hash_key\"H\n\x08SimpleLB\x12\x0f\n\x0bROUND_ROBIN\x10\x00\x12\x0e\n\nLEAST_CONN\x10\x01\x12\n\n\x06RANDOM\x10\x02\x12\x0f\n\x0bPASSTHROUGH\x10\x03\x42\x0b\n\tlb_policy\"\x99\x03\n\x16\x43onnectionPoolSettings\x12J\n\x03tcp\x18\x01 \x01(\x0b\x32=.istio.networking.v1alpha3.ConnectionPoolSettings.TCPSettings\x12L\n\x04http\x18\x02 \x01(\x0b\x32>.istio.networking.v1alpha3.ConnectionPoolSettings.HTTPSettings\x1aZ\n\x0bTCPSettings\x12\x17\n\x0fmax_connections\x18\x01 \x01(\x05\x12\x32\n\x0f\x63onnect_timeout\x18\x02 \x01(\x0b\x32\x19.google.protobuf.Duration\x1a\x88\x01\n\x0cHTTPSettings\x12\"\n\x1ahttp1_max_pending_requests\x18\x01 \x01(\x05\x12\x1a\n\x12http2_max_requests\x18\x02 \x01(\x05\x12#\n\x1bmax_requests_per_connection\x18\x03 \x01(\x05\x12\x13\n\x0bmax_retries\x18\x04 \x01(\x05\"\xcc\x01\n\x10OutlierDetection\x12\x1a\n\x12\x63onsecutive_errors\x18\x01 \x01(\x05\x12+\n\x08interval\x18\x02 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x35\n\x12\x62\x61se_ejection_time\x18\x03 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x1c\n\x14max_ejection_percent\x18\x04 \x01(\x05\x12\x1a\n\x12min_health_percent\x18\x05 \x01(\x05\"\xff\x01\n\x0bTLSSettings\x12<\n\x04mode\x18\x01 \x01(\x0e\x32..istio.networking.v1alpha3.TLSSettings.TLSmode\x12\x1a\n\x12\x63lient_certificate\x18\x02 \x01(\t\x12\x13\n\x0bprivate_key\x18\x03 \x01(\t\x12\x17\n\x0f\x63\x61_certificates\x18\x04 \x01(\t\x12\x19\n\x11subject_alt_names\x18\x05 \x03(\t\x12\x0b\n\x03sni\x18\x06 \x01(\t\"@\n\x07TLSmode\x12\x0b\n\x07\x44ISABLE\x10\x00\x12\n\n\x06SIMPLE\x10\x01\x12\n\n\x06MUTUAL\x10\x02\x12\x10\n\x0cISTIO_MUTUAL\x10\x03\x42\"Z istio.io/api/networking/v1alpha3b\x06proto3')
+ serialized_pb=_b('\n*networking/v1alpha3/destination_rule.proto\x12\x19istio.networking.v1alpha3\x1a\x1egoogle/protobuf/duration.proto\x1a)networking/v1alpha3/virtual_service.proto\x1a\x14gogoproto/gogo.proto\"\x95\x01\n\x0f\x44\x65stinationRule\x12\x0c\n\x04host\x18\x01 \x01(\t\x12@\n\x0etraffic_policy\x18\x02 \x01(\x0b\x32(.istio.networking.v1alpha3.TrafficPolicy\x12\x32\n\x07subsets\x18\x03 \x03(\x0b\x32!.istio.networking.v1alpha3.Subset\"\xd7\x05\n\rTrafficPolicy\x12\x46\n\rload_balancer\x18\x01 \x01(\x0b\x32/.istio.networking.v1alpha3.LoadBalancerSettings\x12J\n\x0f\x63onnection_pool\x18\x02 \x01(\x0b\x32\x31.istio.networking.v1alpha3.ConnectionPoolSettings\x12\x46\n\x11outlier_detection\x18\x03 \x01(\x0b\x32+.istio.networking.v1alpha3.OutlierDetection\x12\x33\n\x03tls\x18\x04 \x01(\x0b\x32&.istio.networking.v1alpha3.TLSSettings\x12W\n\x13port_level_settings\x18\x05 \x03(\x0b\x32:.istio.networking.v1alpha3.TrafficPolicy.PortTrafficPolicy\x1a\xdb\x02\n\x11PortTrafficPolicy\x12\x35\n\x04port\x18\x01 \x01(\x0b\x32\'.istio.networking.v1alpha3.PortSelector\x12\x46\n\rload_balancer\x18\x02 \x01(\x0b\x32/.istio.networking.v1alpha3.LoadBalancerSettings\x12J\n\x0f\x63onnection_pool\x18\x03 \x01(\x0b\x32\x31.istio.networking.v1alpha3.ConnectionPoolSettings\x12\x46\n\x11outlier_detection\x18\x04 \x01(\x0b\x32+.istio.networking.v1alpha3.OutlierDetection\x12\x33\n\x03tls\x18\x05 \x01(\x0b\x32&.istio.networking.v1alpha3.TLSSettings\"\xc6\x01\n\x06Subset\x12\x0c\n\x04name\x18\x01 \x01(\t\x12=\n\x06labels\x18\x02 \x03(\x0b\x32-.istio.networking.v1alpha3.Subset.LabelsEntry\x12@\n\x0etraffic_policy\x18\x03 \x01(\x0b\x32(.istio.networking.v1alpha3.TrafficPolicy\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\xc3\x04\n\x14LoadBalancerSettings\x12J\n\x06simple\x18\x01 \x01(\x0e\x32\x38.istio.networking.v1alpha3.LoadBalancerSettings.SimpleLBH\x00\x12[\n\x0f\x63onsistent_hash\x18\x02 \x01(\x0b\x32@.istio.networking.v1alpha3.LoadBalancerSettings.ConsistentHashLBH\x00\x1a\xaa\x02\n\x10\x43onsistentHashLB\x12\x1a\n\x10http_header_name\x18\x01 \x01(\tH\x00\x12\x62\n\x0bhttp_cookie\x18\x02 \x01(\x0b\x32K.istio.networking.v1alpha3.LoadBalancerSettings.ConsistentHashLB.HTTPCookieH\x00\x12\x17\n\ruse_source_ip\x18\x03 \x01(\x08H\x00\x12\x19\n\x11minimum_ring_size\x18\x04 \x01(\x04\x1aV\n\nHTTPCookie\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0c\n\x04path\x18\x02 \x01(\t\x12,\n\x03ttl\x18\x03 \x01(\x0b\x32\x19.google.protobuf.DurationB\x04\x98\xdf\x1f\x01\x42\n\n\x08hash_key\"H\n\x08SimpleLB\x12\x0f\n\x0bROUND_ROBIN\x10\x00\x12\x0e\n\nLEAST_CONN\x10\x01\x12\n\n\x06RANDOM\x10\x02\x12\x0f\n\x0bPASSTHROUGH\x10\x03\x42\x0b\n\tlb_policy\"\xf3\x04\n\x16\x43onnectionPoolSettings\x12J\n\x03tcp\x18\x01 \x01(\x0b\x32=.istio.networking.v1alpha3.ConnectionPoolSettings.TCPSettings\x12L\n\x04http\x18\x02 \x01(\x0b\x32>.istio.networking.v1alpha3.ConnectionPoolSettings.HTTPSettings\x1a\xb3\x02\n\x0bTCPSettings\x12\x17\n\x0fmax_connections\x18\x01 \x01(\x05\x12\x32\n\x0f\x63onnect_timeout\x18\x02 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x61\n\rtcp_keepalive\x18\x03 \x01(\x0b\x32J.istio.networking.v1alpha3.ConnectionPoolSettings.TCPSettings.TcpKeepalive\x1at\n\x0cTcpKeepalive\x12\x0e\n\x06probes\x18\x01 \x01(\r\x12\'\n\x04time\x18\x02 \x01(\x0b\x32\x19.google.protobuf.Duration\x12+\n\x08interval\x18\x03 \x01(\x0b\x32\x19.google.protobuf.Duration\x1a\x88\x01\n\x0cHTTPSettings\x12\"\n\x1ahttp1_max_pending_requests\x18\x01 \x01(\x05\x12\x1a\n\x12http2_max_requests\x18\x02 \x01(\x05\x12#\n\x1bmax_requests_per_connection\x18\x03 \x01(\x05\x12\x13\n\x0bmax_retries\x18\x04 \x01(\x05\"\xcc\x01\n\x10OutlierDetection\x12\x1a\n\x12\x63onsecutive_errors\x18\x01 \x01(\x05\x12+\n\x08interval\x18\x02 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x35\n\x12\x62\x61se_ejection_time\x18\x03 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x1c\n\x14max_ejection_percent\x18\x04 \x01(\x05\x12\x1a\n\x12min_health_percent\x18\x05 \x01(\x05\"\xff\x01\n\x0bTLSSettings\x12<\n\x04mode\x18\x01 \x01(\x0e\x32..istio.networking.v1alpha3.TLSSettings.TLSmode\x12\x1a\n\x12\x63lient_certificate\x18\x02 \x01(\t\x12\x13\n\x0bprivate_key\x18\x03 \x01(\t\x12\x17\n\x0f\x63\x61_certificates\x18\x04 \x01(\t\x12\x19\n\x11subject_alt_names\x18\x05 \x03(\t\x12\x0b\n\x03sni\x18\x06 \x01(\t\"@\n\x07TLSmode\x12\x0b\n\x07\x44ISABLE\x10\x00\x12\n\n\x06SIMPLE\x10\x01\x12\n\n\x06MUTUAL\x10\x02\x12\x10\n\x0cISTIO_MUTUAL\x10\x03\x42\"Z istio.io/api/networking/v1alpha3b\x06proto3')
,
dependencies=[google_dot_protobuf_dot_duration__pb2.DESCRIPTOR,networking_dot_v1alpha3_dot_virtual__service__pb2.DESCRIPTOR,gogoproto_dot_gogo__pb2.DESCRIPTOR,])
@@ -83,8 +83,8 @@
],
containing_type=None,
options=None,
- serialized_start=2646,
- serialized_end=2710,
+ serialized_start=2864,
+ serialized_end=2928,
)
_sym_db.RegisterEnumDescriptor(_TLSSETTINGS_TLSMODE)
@@ -473,6 +473,50 @@
)
+_CONNECTIONPOOLSETTINGS_TCPSETTINGS_TCPKEEPALIVE = _descriptor.Descriptor(
+ name='TcpKeepalive',
+ full_name='istio.networking.v1alpha3.ConnectionPoolSettings.TCPSettings.TcpKeepalive',
+ filename=None,
+ file=DESCRIPTOR,
+ containing_type=None,
+ fields=[
+ _descriptor.FieldDescriptor(
+ name='probes', full_name='istio.networking.v1alpha3.ConnectionPoolSettings.TCPSettings.TcpKeepalive.probes', index=0,
+ number=1, type=13, cpp_type=3, 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='time', full_name='istio.networking.v1alpha3.ConnectionPoolSettings.TCPSettings.TcpKeepalive.time', index=1,
+ number=2, 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='interval', full_name='istio.networking.v1alpha3.ConnectionPoolSettings.TCPSettings.TcpKeepalive.interval', index=2,
+ number=3, 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),
+ ],
+ extensions=[
+ ],
+ nested_types=[],
+ enum_types=[
+ ],
+ options=None,
+ is_extendable=False,
+ syntax='proto3',
+ extension_ranges=[],
+ oneofs=[
+ ],
+ serialized_start=2208,
+ serialized_end=2324,
+)
+
_CONNECTIONPOOLSETTINGS_TCPSETTINGS = _descriptor.Descriptor(
name='TCPSettings',
full_name='istio.networking.v1alpha3.ConnectionPoolSettings.TCPSettings',
@@ -494,10 +538,17 @@
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None, file=DESCRIPTOR),
+ _descriptor.FieldDescriptor(
+ name='tcp_keepalive', full_name='istio.networking.v1alpha3.ConnectionPoolSettings.TCPSettings.tcp_keepalive', index=2,
+ number=3, 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),
],
extensions=[
],
- nested_types=[],
+ nested_types=[_CONNECTIONPOOLSETTINGS_TCPSETTINGS_TCPKEEPALIVE, ],
enum_types=[
],
options=None,
@@ -506,8 +557,8 @@
extension_ranges=[],
oneofs=[
],
- serialized_start=2016,
- serialized_end=2106,
+ serialized_start=2017,
+ serialized_end=2324,
)
_CONNECTIONPOOLSETTINGS_HTTPSETTINGS = _descriptor.Descriptor(
@@ -557,8 +608,8 @@
extension_ranges=[],
oneofs=[
],
- serialized_start=2109,
- serialized_end=2245,
+ serialized_start=2327,
+ serialized_end=2463,
)
_CONNECTIONPOOLSETTINGS = _descriptor.Descriptor(
@@ -595,7 +646,7 @@
oneofs=[
],
serialized_start=1836,
- serialized_end=2245,
+ serialized_end=2463,
)
@@ -653,8 +704,8 @@
extension_ranges=[],
oneofs=[
],
- serialized_start=2248,
- serialized_end=2452,
+ serialized_start=2466,
+ serialized_end=2670,
)
@@ -720,8 +771,8 @@
extension_ranges=[],
oneofs=[
],
- serialized_start=2455,
- serialized_end=2710,
+ serialized_start=2673,
+ serialized_end=2928,
)
_DESTINATIONRULE.fields_by_name['traffic_policy'].message_type = _TRAFFICPOLICY
@@ -762,7 +813,11 @@
_LOADBALANCERSETTINGS.oneofs_by_name['lb_policy'].fields.append(
_LOADBALANCERSETTINGS.fields_by_name['consistent_hash'])
_LOADBALANCERSETTINGS.fields_by_name['consistent_hash'].containing_oneof = _LOADBALANCERSETTINGS.oneofs_by_name['lb_policy']
+_CONNECTIONPOOLSETTINGS_TCPSETTINGS_TCPKEEPALIVE.fields_by_name['time'].message_type = google_dot_protobuf_dot_duration__pb2._DURATION
+_CONNECTIONPOOLSETTINGS_TCPSETTINGS_TCPKEEPALIVE.fields_by_name['interval'].message_type = google_dot_protobuf_dot_duration__pb2._DURATION
+_CONNECTIONPOOLSETTINGS_TCPSETTINGS_TCPKEEPALIVE.containing_type = _CONNECTIONPOOLSETTINGS_TCPSETTINGS
_CONNECTIONPOOLSETTINGS_TCPSETTINGS.fields_by_name['connect_timeout'].message_type = google_dot_protobuf_dot_duration__pb2._DURATION
+_CONNECTIONPOOLSETTINGS_TCPSETTINGS.fields_by_name['tcp_keepalive'].message_type = _CONNECTIONPOOLSETTINGS_TCPSETTINGS_TCPKEEPALIVE
_CONNECTIONPOOLSETTINGS_TCPSETTINGS.containing_type = _CONNECTIONPOOLSETTINGS
_CONNECTIONPOOLSETTINGS_HTTPSETTINGS.containing_type = _CONNECTIONPOOLSETTINGS
_CONNECTIONPOOLSETTINGS.fields_by_name['tcp'].message_type = _CONNECTIONPOOLSETTINGS_TCPSETTINGS
@@ -843,6 +898,13 @@
ConnectionPoolSettings = _reflection.GeneratedProtocolMessageType('ConnectionPoolSettings', (_message.Message,), dict(
TCPSettings = _reflection.GeneratedProtocolMessageType('TCPSettings', (_message.Message,), dict(
+
+ TcpKeepalive = _reflection.GeneratedProtocolMessageType('TcpKeepalive', (_message.Message,), dict(
+ DESCRIPTOR = _CONNECTIONPOOLSETTINGS_TCPSETTINGS_TCPKEEPALIVE,
+ __module__ = 'networking.v1alpha3.destination_rule_pb2'
+ # @@protoc_insertion_point(class_scope:istio.networking.v1alpha3.ConnectionPoolSettings.TCPSettings.TcpKeepalive)
+ ))
+ ,
DESCRIPTOR = _CONNECTIONPOOLSETTINGS_TCPSETTINGS,
__module__ = 'networking.v1alpha3.destination_rule_pb2'
# @@protoc_insertion_point(class_scope:istio.networking.v1alpha3.ConnectionPoolSettings.TCPSettings)
@@ -861,6 +923,7 @@
))
_sym_db.RegisterMessage(ConnectionPoolSettings)
_sym_db.RegisterMessage(ConnectionPoolSettings.TCPSettings)
+_sym_db.RegisterMessage(ConnectionPoolSettings.TCPSettings.TcpKeepalive)
_sym_db.RegisterMessage(ConnectionPoolSettings.HTTPSettings)
OutlierDetection = _reflection.GeneratedProtocolMessageType('OutlierDetection', (_message.Message,), dict(
From 1a7788d738d2c6b07ba22106fca19bfef3843fa1 Mon Sep 17 00:00:00 2001
From: Itay Shakury
Date: Mon, 26 Nov 2018 05:40:04 +0200
Subject: [PATCH 08/10] allow setting headers (#709)
* refactor headers
* proto-commit
* settle num entries with 1.1 state
---
networking/v1alpha3/destination_rule.pb.go | 1 +
.../istio.networking.v1alpha3.pb.html | 141 +-
networking/v1alpha3/virtual_service.pb.go | 1149 ++++++++++++++---
networking/v1alpha3/virtual_service.proto | 75 +-
proto.lock | 56 +
.../v1alpha3/virtual_service_pb2.py | 351 ++++-
6 files changed, 1479 insertions(+), 294 deletions(-)
diff --git a/networking/v1alpha3/destination_rule.pb.go b/networking/v1alpha3/destination_rule.pb.go
index f7d392d8a5..0eb5af0c0b 100644
--- a/networking/v1alpha3/destination_rule.pb.go
+++ b/networking/v1alpha3/destination_rule.pb.go
@@ -27,6 +27,7 @@
VirtualService
Destination
HTTPRoute
+ Headers
TLSRoute
TCPRoute
HTTPMatchRequest
diff --git a/networking/v1alpha3/istio.networking.v1alpha3.pb.html b/networking/v1alpha3/istio.networking.v1alpha3.pb.html
index 40618387f8..c6cc9e88ae 100644
--- a/networking/v1alpha3/istio.networking.v1alpha3.pb.html
+++ b/networking/v1alpha3/istio.networking.v1alpha3.pb.html
@@ -6,7 +6,7 @@
generator: protoc-gen-docs
aliases:
- /docs/reference/config/istio.routing.v1alpha1/
-number_of_entries: 53
+number_of_entries: 55
---
Configuration affecting traffic routing. Here are a few terms useful to define
in the context of traffic routing.
@@ -1819,43 +1819,52 @@ HTTPRoute
appendHeaders |
map<string, string> |
- Use of append_headers is deprecated. Use the append_request_headers
+ Use of append_headers is deprecated. Use the headers
field instead.
|
-
-
-
-
+
@@ -1957,38 +1966,122 @@ HTTPRouteDestination
-
-
-
-
+
+
+
+
+
+
+Header manipulation rules
+
+
+
+
+| Field |
+Type |
+Description |
+
+
+
+
+
+
+
+
+
+
+HeaderOperations Describes the header manipulations to apply
+
+
+
+
+| Field |
+Type |
+Description |
+
+
+
+
+
+
diff --git a/networking/v1alpha3/virtual_service.pb.go b/networking/v1alpha3/virtual_service.pb.go
index c7c80c8ead..26eca07a01 100644
--- a/networking/v1alpha3/virtual_service.pb.go
+++ b/networking/v1alpha3/virtual_service.pb.go
@@ -398,20 +398,23 @@ type HTTPRoute struct {
// https://developer.mozilla.org/en-US/docs/Web/HTTP/Access_control_CORS
// for further details about cross origin resource sharing.
CorsPolicy *CorsPolicy `protobuf:"bytes,10,opt,name=cors_policy,json=corsPolicy" json:"cors_policy,omitempty"`
- // Use of `append_headers` is deprecated. Use the `append_request_headers`
+ // Use of `append_headers` is deprecated. Use the `headers`
// field instead.
AppendHeaders map[string]string `protobuf:"bytes,11,rep,name=append_headers,json=appendHeaders" json:"append_headers,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
- // HTTP headers to remove before returning a response to the caller.
+ // Use of `remove_response_header` is deprecated. Use the `headers`
+ // field instead.
RemoveResponseHeaders []string `protobuf:"bytes,12,rep,name=remove_response_headers,json=removeResponseHeaders" json:"remove_response_headers,omitempty"`
- // Additional HTTP headers to add before returning a response to the
- // caller.
+ // Use of `append_response_headers` is deprecated. Use the `headers`
+ // field instead.
AppendResponseHeaders map[string]string `protobuf:"bytes,13,rep,name=append_response_headers,json=appendResponseHeaders" json:"append_response_headers,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
- // HTTP headers to remove before forwarding a request to the
- // destination service.
+ // Use of `remove_request_headers` is deprecated. Use the `headers`
+ // field instead.
RemoveRequestHeaders []string `protobuf:"bytes,14,rep,name=remove_request_headers,json=removeRequestHeaders" json:"remove_request_headers,omitempty"`
- // Additional HTTP headers to add before forwarding a request to the
- // destination service.
+ // Use of `append_request_headers` is deprecated. Use the `headers`
+ // field instead.
AppendRequestHeaders map[string]string `protobuf:"bytes,15,rep,name=append_request_headers,json=appendRequestHeaders" json:"append_request_headers,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
+ // Header manipulation rules
+ Headers *Headers `protobuf:"bytes,16,opt,name=headers" json:"headers,omitempty"`
}
func (m *HTTPRoute) Reset() { *m = HTTPRoute{} }
@@ -524,6 +527,81 @@ func (m *HTTPRoute) GetAppendRequestHeaders() map[string]string {
return nil
}
+func (m *HTTPRoute) GetHeaders() *Headers {
+ if m != nil {
+ return m.Headers
+ }
+ return nil
+}
+
+// Header manipulation rules
+type Headers struct {
+ // Header manipulation rules to apply before forwarding a request
+ // to the destination service
+ Request *Headers_HeaderOperations `protobuf:"bytes,1,opt,name=request" json:"request,omitempty"`
+ // Header manipulation rules to apply before returning a response
+ // to the caller
+ Response *Headers_HeaderOperations `protobuf:"bytes,2,opt,name=response" json:"response,omitempty"`
+}
+
+func (m *Headers) Reset() { *m = Headers{} }
+func (m *Headers) String() string { return proto.CompactTextString(m) }
+func (*Headers) ProtoMessage() {}
+func (*Headers) Descriptor() ([]byte, []int) { return fileDescriptorVirtualService, []int{3} }
+
+func (m *Headers) GetRequest() *Headers_HeaderOperations {
+ if m != nil {
+ return m.Request
+ }
+ return nil
+}
+
+func (m *Headers) GetResponse() *Headers_HeaderOperations {
+ if m != nil {
+ return m.Response
+ }
+ return nil
+}
+
+// HeaderOperations Describes the header manipulations to apply
+type Headers_HeaderOperations struct {
+ // Overwrite the headers specified by key with the given values
+ Set map[string]string `protobuf:"bytes,1,rep,name=set" json:"set,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
+ // Apppend the given values to the the headers specified by keys
+ // (will create a comma seperated list of values)
+ Add map[string]string `protobuf:"bytes,2,rep,name=add" json:"add,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
+ // Remove a the specified headers
+ Remove []string `protobuf:"bytes,3,rep,name=remove" json:"remove,omitempty"`
+}
+
+func (m *Headers_HeaderOperations) Reset() { *m = Headers_HeaderOperations{} }
+func (m *Headers_HeaderOperations) String() string { return proto.CompactTextString(m) }
+func (*Headers_HeaderOperations) ProtoMessage() {}
+func (*Headers_HeaderOperations) Descriptor() ([]byte, []int) {
+ return fileDescriptorVirtualService, []int{3, 0}
+}
+
+func (m *Headers_HeaderOperations) GetSet() map[string]string {
+ if m != nil {
+ return m.Set
+ }
+ return nil
+}
+
+func (m *Headers_HeaderOperations) GetAdd() map[string]string {
+ if m != nil {
+ return m.Add
+ }
+ return nil
+}
+
+func (m *Headers_HeaderOperations) GetRemove() []string {
+ if m != nil {
+ return m.Remove
+ }
+ return nil
+}
+
// Describes match conditions and actions for routing unterminated TLS
// traffic (TLS/HTTPS) The following routing rule forwards unterminated TLS
// traffic arriving at port 443 of gateway called "mygateway" to internal
@@ -568,7 +646,7 @@ type TLSRoute struct {
func (m *TLSRoute) Reset() { *m = TLSRoute{} }
func (m *TLSRoute) String() string { return proto.CompactTextString(m) }
func (*TLSRoute) ProtoMessage() {}
-func (*TLSRoute) Descriptor() ([]byte, []int) { return fileDescriptorVirtualService, []int{3} }
+func (*TLSRoute) Descriptor() ([]byte, []int) { return fileDescriptorVirtualService, []int{4} }
func (m *TLSRoute) GetMatch() []*TLSMatchAttributes {
if m != nil {
@@ -618,7 +696,7 @@ type TCPRoute struct {
func (m *TCPRoute) Reset() { *m = TCPRoute{} }
func (m *TCPRoute) String() string { return proto.CompactTextString(m) }
func (*TCPRoute) ProtoMessage() {}
-func (*TCPRoute) Descriptor() ([]byte, []int) { return fileDescriptorVirtualService, []int{4} }
+func (*TCPRoute) Descriptor() ([]byte, []int) { return fileDescriptorVirtualService, []int{5} }
func (m *TCPRoute) GetMatch() []*L4MatchAttributes {
if m != nil {
@@ -733,7 +811,7 @@ type HTTPMatchRequest struct {
func (m *HTTPMatchRequest) Reset() { *m = HTTPMatchRequest{} }
func (m *HTTPMatchRequest) String() string { return proto.CompactTextString(m) }
func (*HTTPMatchRequest) ProtoMessage() {}
-func (*HTTPMatchRequest) Descriptor() ([]byte, []int) { return fileDescriptorVirtualService, []int{5} }
+func (*HTTPMatchRequest) Descriptor() ([]byte, []int) { return fileDescriptorVirtualService, []int{6} }
func (m *HTTPMatchRequest) GetUri() *StringMatch {
if m != nil {
@@ -866,24 +944,27 @@ type HTTPRouteDestination struct {
// If there is only one destination in a rule, the weight value is assumed to
// be 100.
Weight int32 `protobuf:"varint,2,opt,name=weight,proto3" json:"weight,omitempty"`
- // HTTP headers to remove before returning a response to the caller.
+ // Use of `remove_response_header` is deprecated. Use the `headers`
+ // field instead.
RemoveResponseHeaders []string `protobuf:"bytes,3,rep,name=remove_response_headers,json=removeResponseHeaders" json:"remove_response_headers,omitempty"`
- // Additional HTTP headers to add before returning a response to the
- // caller.
+ // Use of `append_response_headers` is deprecated. Use the `headers`
+ // field instead.
AppendResponseHeaders map[string]string `protobuf:"bytes,4,rep,name=append_response_headers,json=appendResponseHeaders" json:"append_response_headers,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
- // HTTP headers to remove before forwarding a request to the
- // destination service.
+ // Use of `remove_request_headers` is deprecated. Use the `headers`
+ // field instead.
RemoveRequestHeaders []string `protobuf:"bytes,5,rep,name=remove_request_headers,json=removeRequestHeaders" json:"remove_request_headers,omitempty"`
- // Additional HTTP headers to add before forwarding a request to the
- // destination service.
+ // Use of `append_request_headers` is deprecated. Use the `headers`
+ // field instead.
AppendRequestHeaders map[string]string `protobuf:"bytes,6,rep,name=append_request_headers,json=appendRequestHeaders" json:"append_request_headers,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
+ // Header manipulation rules
+ Headers *Headers `protobuf:"bytes,7,opt,name=headers" json:"headers,omitempty"`
}
func (m *HTTPRouteDestination) Reset() { *m = HTTPRouteDestination{} }
func (m *HTTPRouteDestination) String() string { return proto.CompactTextString(m) }
func (*HTTPRouteDestination) ProtoMessage() {}
func (*HTTPRouteDestination) Descriptor() ([]byte, []int) {
- return fileDescriptorVirtualService, []int{6}
+ return fileDescriptorVirtualService, []int{7}
}
func (m *HTTPRouteDestination) GetDestination() *Destination {
@@ -928,6 +1009,13 @@ func (m *HTTPRouteDestination) GetAppendRequestHeaders() map[string]string {
return nil
}
+func (m *HTTPRouteDestination) GetHeaders() *Headers {
+ if m != nil {
+ return m.Headers
+ }
+ return nil
+}
+
// L4 routing rule weighted destination.
type RouteDestination struct {
// REQUIRED. Destination uniquely identifies the instances of a service
@@ -942,7 +1030,7 @@ type RouteDestination struct {
func (m *RouteDestination) Reset() { *m = RouteDestination{} }
func (m *RouteDestination) String() string { return proto.CompactTextString(m) }
func (*RouteDestination) ProtoMessage() {}
-func (*RouteDestination) Descriptor() ([]byte, []int) { return fileDescriptorVirtualService, []int{7} }
+func (*RouteDestination) Descriptor() ([]byte, []int) { return fileDescriptorVirtualService, []int{8} }
func (m *RouteDestination) GetDestination() *Destination {
if m != nil {
@@ -986,7 +1074,7 @@ type L4MatchAttributes struct {
func (m *L4MatchAttributes) Reset() { *m = L4MatchAttributes{} }
func (m *L4MatchAttributes) String() string { return proto.CompactTextString(m) }
func (*L4MatchAttributes) ProtoMessage() {}
-func (*L4MatchAttributes) Descriptor() ([]byte, []int) { return fileDescriptorVirtualService, []int{8} }
+func (*L4MatchAttributes) Descriptor() ([]byte, []int) { return fileDescriptorVirtualService, []int{9} }
func (m *L4MatchAttributes) GetDestinationSubnets() []string {
if m != nil {
@@ -1053,10 +1141,12 @@ type TLSMatchAttributes struct {
Gateways []string `protobuf:"bytes,6,rep,name=gateways" json:"gateways,omitempty"`
}
-func (m *TLSMatchAttributes) Reset() { *m = TLSMatchAttributes{} }
-func (m *TLSMatchAttributes) String() string { return proto.CompactTextString(m) }
-func (*TLSMatchAttributes) ProtoMessage() {}
-func (*TLSMatchAttributes) Descriptor() ([]byte, []int) { return fileDescriptorVirtualService, []int{9} }
+func (m *TLSMatchAttributes) Reset() { *m = TLSMatchAttributes{} }
+func (m *TLSMatchAttributes) String() string { return proto.CompactTextString(m) }
+func (*TLSMatchAttributes) ProtoMessage() {}
+func (*TLSMatchAttributes) Descriptor() ([]byte, []int) {
+ return fileDescriptorVirtualService, []int{10}
+}
func (m *TLSMatchAttributes) GetSniHosts() []string {
if m != nil {
@@ -1136,7 +1226,7 @@ type HTTPRedirect struct {
func (m *HTTPRedirect) Reset() { *m = HTTPRedirect{} }
func (m *HTTPRedirect) String() string { return proto.CompactTextString(m) }
func (*HTTPRedirect) ProtoMessage() {}
-func (*HTTPRedirect) Descriptor() ([]byte, []int) { return fileDescriptorVirtualService, []int{10} }
+func (*HTTPRedirect) Descriptor() ([]byte, []int) { return fileDescriptorVirtualService, []int{11} }
func (m *HTTPRedirect) GetUri() string {
if m != nil {
@@ -1190,7 +1280,7 @@ type HTTPRewrite struct {
func (m *HTTPRewrite) Reset() { *m = HTTPRewrite{} }
func (m *HTTPRewrite) String() string { return proto.CompactTextString(m) }
func (*HTTPRewrite) ProtoMessage() {}
-func (*HTTPRewrite) Descriptor() ([]byte, []int) { return fileDescriptorVirtualService, []int{11} }
+func (*HTTPRewrite) Descriptor() ([]byte, []int) { return fileDescriptorVirtualService, []int{12} }
func (m *HTTPRewrite) GetUri() string {
if m != nil {
@@ -1219,7 +1309,7 @@ type StringMatch struct {
func (m *StringMatch) Reset() { *m = StringMatch{} }
func (m *StringMatch) String() string { return proto.CompactTextString(m) }
func (*StringMatch) ProtoMessage() {}
-func (*StringMatch) Descriptor() ([]byte, []int) { return fileDescriptorVirtualService, []int{12} }
+func (*StringMatch) Descriptor() ([]byte, []int) { return fileDescriptorVirtualService, []int{13} }
type isStringMatch_MatchType interface {
isStringMatch_MatchType()
@@ -1391,7 +1481,7 @@ type HTTPRetry struct {
func (m *HTTPRetry) Reset() { *m = HTTPRetry{} }
func (m *HTTPRetry) String() string { return proto.CompactTextString(m) }
func (*HTTPRetry) ProtoMessage() {}
-func (*HTTPRetry) Descriptor() ([]byte, []int) { return fileDescriptorVirtualService, []int{13} }
+func (*HTTPRetry) Descriptor() ([]byte, []int) { return fileDescriptorVirtualService, []int{14} }
func (m *HTTPRetry) GetAttempts() int32 {
if m != nil {
@@ -1474,7 +1564,7 @@ type CorsPolicy struct {
func (m *CorsPolicy) Reset() { *m = CorsPolicy{} }
func (m *CorsPolicy) String() string { return proto.CompactTextString(m) }
func (*CorsPolicy) ProtoMessage() {}
-func (*CorsPolicy) Descriptor() ([]byte, []int) { return fileDescriptorVirtualService, []int{14} }
+func (*CorsPolicy) Descriptor() ([]byte, []int) { return fileDescriptorVirtualService, []int{15} }
func (m *CorsPolicy) GetAllowOrigin() []string {
if m != nil {
@@ -1539,7 +1629,7 @@ func (m *HTTPFaultInjection) Reset() { *m = HTTPFaultInjection{} }
func (m *HTTPFaultInjection) String() string { return proto.CompactTextString(m) }
func (*HTTPFaultInjection) ProtoMessage() {}
func (*HTTPFaultInjection) Descriptor() ([]byte, []int) {
- return fileDescriptorVirtualService, []int{15}
+ return fileDescriptorVirtualService, []int{16}
}
func (m *HTTPFaultInjection) GetDelay() *HTTPFaultInjection_Delay {
@@ -1604,7 +1694,7 @@ func (m *HTTPFaultInjection_Delay) Reset() { *m = HTTPFaultInjection_Del
func (m *HTTPFaultInjection_Delay) String() string { return proto.CompactTextString(m) }
func (*HTTPFaultInjection_Delay) ProtoMessage() {}
func (*HTTPFaultInjection_Delay) Descriptor() ([]byte, []int) {
- return fileDescriptorVirtualService, []int{15, 0}
+ return fileDescriptorVirtualService, []int{16, 0}
}
type isHTTPFaultInjection_Delay_HttpDelayType interface {
@@ -1778,7 +1868,7 @@ func (m *HTTPFaultInjection_Abort) Reset() { *m = HTTPFaultInjection_Abo
func (m *HTTPFaultInjection_Abort) String() string { return proto.CompactTextString(m) }
func (*HTTPFaultInjection_Abort) ProtoMessage() {}
func (*HTTPFaultInjection_Abort) Descriptor() ([]byte, []int) {
- return fileDescriptorVirtualService, []int{15, 1}
+ return fileDescriptorVirtualService, []int{16, 1}
}
type isHTTPFaultInjection_Abort_ErrorType interface {
@@ -1935,7 +2025,7 @@ type PortSelector struct {
func (m *PortSelector) Reset() { *m = PortSelector{} }
func (m *PortSelector) String() string { return proto.CompactTextString(m) }
func (*PortSelector) ProtoMessage() {}
-func (*PortSelector) Descriptor() ([]byte, []int) { return fileDescriptorVirtualService, []int{16} }
+func (*PortSelector) Descriptor() ([]byte, []int) { return fileDescriptorVirtualService, []int{17} }
type isPortSelector_Port interface {
isPortSelector_Port()
@@ -2047,7 +2137,7 @@ type Percent struct {
func (m *Percent) Reset() { *m = Percent{} }
func (m *Percent) String() string { return proto.CompactTextString(m) }
func (*Percent) ProtoMessage() {}
-func (*Percent) Descriptor() ([]byte, []int) { return fileDescriptorVirtualService, []int{17} }
+func (*Percent) Descriptor() ([]byte, []int) { return fileDescriptorVirtualService, []int{18} }
func (m *Percent) GetValue() float64 {
if m != nil {
@@ -2060,6 +2150,8 @@ func init() {
proto.RegisterType((*VirtualService)(nil), "istio.networking.v1alpha3.VirtualService")
proto.RegisterType((*Destination)(nil), "istio.networking.v1alpha3.Destination")
proto.RegisterType((*HTTPRoute)(nil), "istio.networking.v1alpha3.HTTPRoute")
+ proto.RegisterType((*Headers)(nil), "istio.networking.v1alpha3.Headers")
+ proto.RegisterType((*Headers_HeaderOperations)(nil), "istio.networking.v1alpha3.Headers.HeaderOperations")
proto.RegisterType((*TLSRoute)(nil), "istio.networking.v1alpha3.TLSRoute")
proto.RegisterType((*TCPRoute)(nil), "istio.networking.v1alpha3.TCPRoute")
proto.RegisterType((*HTTPMatchRequest)(nil), "istio.networking.v1alpha3.HTTPMatchRequest")
@@ -2402,6 +2494,123 @@ func (m *HTTPRoute) MarshalTo(dAtA []byte) (int, error) {
i += copy(dAtA[i:], v)
}
}
+ if m.Headers != nil {
+ dAtA[i] = 0x82
+ i++
+ dAtA[i] = 0x1
+ i++
+ i = encodeVarintVirtualService(dAtA, i, uint64(m.Headers.Size()))
+ n9, err := m.Headers.MarshalTo(dAtA[i:])
+ if err != nil {
+ return 0, err
+ }
+ i += n9
+ }
+ return i, nil
+}
+
+func (m *Headers) Marshal() (dAtA []byte, err error) {
+ size := m.Size()
+ dAtA = make([]byte, size)
+ n, err := m.MarshalTo(dAtA)
+ if err != nil {
+ return nil, err
+ }
+ return dAtA[:n], nil
+}
+
+func (m *Headers) MarshalTo(dAtA []byte) (int, error) {
+ var i int
+ _ = i
+ var l int
+ _ = l
+ if m.Request != nil {
+ dAtA[i] = 0xa
+ i++
+ i = encodeVarintVirtualService(dAtA, i, uint64(m.Request.Size()))
+ n10, err := m.Request.MarshalTo(dAtA[i:])
+ if err != nil {
+ return 0, err
+ }
+ i += n10
+ }
+ if m.Response != nil {
+ dAtA[i] = 0x12
+ i++
+ i = encodeVarintVirtualService(dAtA, i, uint64(m.Response.Size()))
+ n11, err := m.Response.MarshalTo(dAtA[i:])
+ if err != nil {
+ return 0, err
+ }
+ i += n11
+ }
+ return i, nil
+}
+
+func (m *Headers_HeaderOperations) Marshal() (dAtA []byte, err error) {
+ size := m.Size()
+ dAtA = make([]byte, size)
+ n, err := m.MarshalTo(dAtA)
+ if err != nil {
+ return nil, err
+ }
+ return dAtA[:n], nil
+}
+
+func (m *Headers_HeaderOperations) MarshalTo(dAtA []byte) (int, error) {
+ var i int
+ _ = i
+ var l int
+ _ = l
+ if len(m.Set) > 0 {
+ for k, _ := range m.Set {
+ dAtA[i] = 0xa
+ i++
+ v := m.Set[k]
+ mapSize := 1 + len(k) + sovVirtualService(uint64(len(k))) + 1 + len(v) + sovVirtualService(uint64(len(v)))
+ i = encodeVarintVirtualService(dAtA, i, uint64(mapSize))
+ dAtA[i] = 0xa
+ i++
+ i = encodeVarintVirtualService(dAtA, i, uint64(len(k)))
+ i += copy(dAtA[i:], k)
+ dAtA[i] = 0x12
+ i++
+ i = encodeVarintVirtualService(dAtA, i, uint64(len(v)))
+ i += copy(dAtA[i:], v)
+ }
+ }
+ if len(m.Add) > 0 {
+ for k, _ := range m.Add {
+ dAtA[i] = 0x12
+ i++
+ v := m.Add[k]
+ mapSize := 1 + len(k) + sovVirtualService(uint64(len(k))) + 1 + len(v) + sovVirtualService(uint64(len(v)))
+ i = encodeVarintVirtualService(dAtA, i, uint64(mapSize))
+ dAtA[i] = 0xa
+ i++
+ i = encodeVarintVirtualService(dAtA, i, uint64(len(k)))
+ i += copy(dAtA[i:], k)
+ dAtA[i] = 0x12
+ i++
+ i = encodeVarintVirtualService(dAtA, i, uint64(len(v)))
+ i += copy(dAtA[i:], v)
+ }
+ }
+ if len(m.Remove) > 0 {
+ for _, s := range m.Remove {
+ dAtA[i] = 0x1a
+ i++
+ l = len(s)
+ for l >= 1<<7 {
+ dAtA[i] = uint8(uint64(l)&0x7f | 0x80)
+ l >>= 7
+ i++
+ }
+ dAtA[i] = uint8(l)
+ i++
+ i += copy(dAtA[i:], s)
+ }
+ }
return i, nil
}
@@ -2508,41 +2717,41 @@ func (m *HTTPMatchRequest) MarshalTo(dAtA []byte) (int, error) {
dAtA[i] = 0xa
i++
i = encodeVarintVirtualService(dAtA, i, uint64(m.Uri.Size()))
- n9, err := m.Uri.MarshalTo(dAtA[i:])
+ n12, err := m.Uri.MarshalTo(dAtA[i:])
if err != nil {
return 0, err
}
- i += n9
+ i += n12
}
if m.Scheme != nil {
dAtA[i] = 0x12
i++
i = encodeVarintVirtualService(dAtA, i, uint64(m.Scheme.Size()))
- n10, err := m.Scheme.MarshalTo(dAtA[i:])
+ n13, err := m.Scheme.MarshalTo(dAtA[i:])
if err != nil {
return 0, err
}
- i += n10
+ i += n13
}
if m.Method != nil {
dAtA[i] = 0x1a
i++
i = encodeVarintVirtualService(dAtA, i, uint64(m.Method.Size()))
- n11, err := m.Method.MarshalTo(dAtA[i:])
+ n14, err := m.Method.MarshalTo(dAtA[i:])
if err != nil {
return 0, err
}
- i += n11
+ i += n14
}
if m.Authority != nil {
dAtA[i] = 0x22
i++
i = encodeVarintVirtualService(dAtA, i, uint64(m.Authority.Size()))
- n12, err := m.Authority.MarshalTo(dAtA[i:])
+ n15, err := m.Authority.MarshalTo(dAtA[i:])
if err != nil {
return 0, err
}
- i += n12
+ i += n15
}
if len(m.Headers) > 0 {
for k, _ := range m.Headers {
@@ -2564,11 +2773,11 @@ func (m *HTTPMatchRequest) MarshalTo(dAtA []byte) (int, error) {
dAtA[i] = 0x12
i++
i = encodeVarintVirtualService(dAtA, i, uint64(v.Size()))
- n13, err := v.MarshalTo(dAtA[i:])
+ n16, err := v.MarshalTo(dAtA[i:])
if err != nil {
return 0, err
}
- i += n13
+ i += n16
}
}
}
@@ -2631,11 +2840,11 @@ func (m *HTTPRouteDestination) MarshalTo(dAtA []byte) (int, error) {
dAtA[i] = 0xa
i++
i = encodeVarintVirtualService(dAtA, i, uint64(m.Destination.Size()))
- n14, err := m.Destination.MarshalTo(dAtA[i:])
+ n17, err := m.Destination.MarshalTo(dAtA[i:])
if err != nil {
return 0, err
}
- i += n14
+ i += n17
}
if m.Weight != 0 {
dAtA[i] = 0x10
@@ -2706,6 +2915,16 @@ func (m *HTTPRouteDestination) MarshalTo(dAtA []byte) (int, error) {
i += copy(dAtA[i:], v)
}
}
+ if m.Headers != nil {
+ dAtA[i] = 0x3a
+ i++
+ i = encodeVarintVirtualService(dAtA, i, uint64(m.Headers.Size()))
+ n18, err := m.Headers.MarshalTo(dAtA[i:])
+ if err != nil {
+ return 0, err
+ }
+ i += n18
+ }
return i, nil
}
@@ -2728,11 +2947,11 @@ func (m *RouteDestination) MarshalTo(dAtA []byte) (int, error) {
dAtA[i] = 0xa
i++
i = encodeVarintVirtualService(dAtA, i, uint64(m.Destination.Size()))
- n15, err := m.Destination.MarshalTo(dAtA[i:])
+ n19, err := m.Destination.MarshalTo(dAtA[i:])
if err != nil {
return 0, err
}
- i += n15
+ i += n19
}
if m.Weight != 0 {
dAtA[i] = 0x10
@@ -2985,11 +3204,11 @@ func (m *StringMatch) MarshalTo(dAtA []byte) (int, error) {
var l int
_ = l
if m.MatchType != nil {
- nn16, err := m.MatchType.MarshalTo(dAtA[i:])
+ nn20, err := m.MatchType.MarshalTo(dAtA[i:])
if err != nil {
return 0, err
}
- i += nn16
+ i += nn20
}
return i, nil
}
@@ -3042,11 +3261,11 @@ func (m *HTTPRetry) MarshalTo(dAtA []byte) (int, error) {
dAtA[i] = 0x12
i++
i = encodeVarintVirtualService(dAtA, i, uint64(m.PerTryTimeout.Size()))
- n17, err := m.PerTryTimeout.MarshalTo(dAtA[i:])
+ n21, err := m.PerTryTimeout.MarshalTo(dAtA[i:])
if err != nil {
return 0, err
}
- i += n17
+ i += n21
}
if len(m.RetryOn) > 0 {
dAtA[i] = 0x1a
@@ -3136,21 +3355,21 @@ func (m *CorsPolicy) MarshalTo(dAtA []byte) (int, error) {
dAtA[i] = 0x2a
i++
i = encodeVarintVirtualService(dAtA, i, uint64(m.MaxAge.Size()))
- n18, err := m.MaxAge.MarshalTo(dAtA[i:])
+ n22, err := m.MaxAge.MarshalTo(dAtA[i:])
if err != nil {
return 0, err
}
- i += n18
+ i += n22
}
if m.AllowCredentials != nil {
dAtA[i] = 0x32
i++
i = encodeVarintVirtualService(dAtA, i, uint64(m.AllowCredentials.Size()))
- n19, err := m.AllowCredentials.MarshalTo(dAtA[i:])
+ n23, err := m.AllowCredentials.MarshalTo(dAtA[i:])
if err != nil {
return 0, err
}
- i += n19
+ i += n23
}
return i, nil
}
@@ -3174,21 +3393,21 @@ func (m *HTTPFaultInjection) MarshalTo(dAtA []byte) (int, error) {
dAtA[i] = 0xa
i++
i = encodeVarintVirtualService(dAtA, i, uint64(m.Delay.Size()))
- n20, err := m.Delay.MarshalTo(dAtA[i:])
+ n24, err := m.Delay.MarshalTo(dAtA[i:])
if err != nil {
return 0, err
}
- i += n20
+ i += n24
}
if m.Abort != nil {
dAtA[i] = 0x12
i++
i = encodeVarintVirtualService(dAtA, i, uint64(m.Abort.Size()))
- n21, err := m.Abort.MarshalTo(dAtA[i:])
+ n25, err := m.Abort.MarshalTo(dAtA[i:])
if err != nil {
return 0, err
}
- i += n21
+ i += n25
}
return i, nil
}
@@ -3214,21 +3433,21 @@ func (m *HTTPFaultInjection_Delay) MarshalTo(dAtA []byte) (int, error) {
i = encodeVarintVirtualService(dAtA, i, uint64(m.Percent))
}
if m.HttpDelayType != nil {
- nn22, err := m.HttpDelayType.MarshalTo(dAtA[i:])
+ nn26, err := m.HttpDelayType.MarshalTo(dAtA[i:])
if err != nil {
return 0, err
}
- i += nn22
+ i += nn26
}
if m.Percentage != nil {
dAtA[i] = 0x2a
i++
i = encodeVarintVirtualService(dAtA, i, uint64(m.Percentage.Size()))
- n23, err := m.Percentage.MarshalTo(dAtA[i:])
+ n27, err := m.Percentage.MarshalTo(dAtA[i:])
if err != nil {
return 0, err
}
- i += n23
+ i += n27
}
return i, nil
}
@@ -3239,11 +3458,11 @@ func (m *HTTPFaultInjection_Delay_FixedDelay) MarshalTo(dAtA []byte) (int, error
dAtA[i] = 0x12
i++
i = encodeVarintVirtualService(dAtA, i, uint64(m.FixedDelay.Size()))
- n24, err := m.FixedDelay.MarshalTo(dAtA[i:])
+ n28, err := m.FixedDelay.MarshalTo(dAtA[i:])
if err != nil {
return 0, err
}
- i += n24
+ i += n28
}
return i, nil
}
@@ -3253,11 +3472,11 @@ func (m *HTTPFaultInjection_Delay_ExponentialDelay) MarshalTo(dAtA []byte) (int,
dAtA[i] = 0x1a
i++
i = encodeVarintVirtualService(dAtA, i, uint64(m.ExponentialDelay.Size()))
- n25, err := m.ExponentialDelay.MarshalTo(dAtA[i:])
+ n29, err := m.ExponentialDelay.MarshalTo(dAtA[i:])
if err != nil {
return 0, err
}
- i += n25
+ i += n29
}
return i, nil
}
@@ -3282,21 +3501,21 @@ func (m *HTTPFaultInjection_Abort) MarshalTo(dAtA []byte) (int, error) {
i = encodeVarintVirtualService(dAtA, i, uint64(m.Percent))
}
if m.ErrorType != nil {
- nn26, err := m.ErrorType.MarshalTo(dAtA[i:])
+ nn30, err := m.ErrorType.MarshalTo(dAtA[i:])
if err != nil {
return 0, err
}
- i += nn26
+ i += nn30
}
if m.Percentage != nil {
dAtA[i] = 0x2a
i++
i = encodeVarintVirtualService(dAtA, i, uint64(m.Percentage.Size()))
- n27, err := m.Percentage.MarshalTo(dAtA[i:])
+ n31, err := m.Percentage.MarshalTo(dAtA[i:])
if err != nil {
return 0, err
}
- i += n27
+ i += n31
}
return i, nil
}
@@ -3340,11 +3559,11 @@ func (m *PortSelector) MarshalTo(dAtA []byte) (int, error) {
var l int
_ = l
if m.Port != nil {
- nn28, err := m.Port.MarshalTo(dAtA[i:])
+ nn32, err := m.Port.MarshalTo(dAtA[i:])
if err != nil {
return 0, err
}
- i += nn28
+ i += nn32
}
return i, nil
}
@@ -3533,6 +3752,52 @@ func (m *HTTPRoute) Size() (n int) {
n += mapEntrySize + 1 + sovVirtualService(uint64(mapEntrySize))
}
}
+ if m.Headers != nil {
+ l = m.Headers.Size()
+ n += 2 + l + sovVirtualService(uint64(l))
+ }
+ return n
+}
+
+func (m *Headers) Size() (n int) {
+ var l int
+ _ = l
+ if m.Request != nil {
+ l = m.Request.Size()
+ n += 1 + l + sovVirtualService(uint64(l))
+ }
+ if m.Response != nil {
+ l = m.Response.Size()
+ n += 1 + l + sovVirtualService(uint64(l))
+ }
+ return n
+}
+
+func (m *Headers_HeaderOperations) Size() (n int) {
+ var l int
+ _ = l
+ if len(m.Set) > 0 {
+ for k, v := range m.Set {
+ _ = k
+ _ = v
+ mapEntrySize := 1 + len(k) + sovVirtualService(uint64(len(k))) + 1 + len(v) + sovVirtualService(uint64(len(v)))
+ n += mapEntrySize + 1 + sovVirtualService(uint64(mapEntrySize))
+ }
+ }
+ if len(m.Add) > 0 {
+ for k, v := range m.Add {
+ _ = k
+ _ = v
+ mapEntrySize := 1 + len(k) + sovVirtualService(uint64(len(k))) + 1 + len(v) + sovVirtualService(uint64(len(v)))
+ n += mapEntrySize + 1 + sovVirtualService(uint64(mapEntrySize))
+ }
+ }
+ if len(m.Remove) > 0 {
+ for _, s := range m.Remove {
+ l = len(s)
+ n += 1 + l + sovVirtualService(uint64(l))
+ }
+ }
return n
}
@@ -3662,6 +3927,10 @@ func (m *HTTPRouteDestination) Size() (n int) {
n += mapEntrySize + 1 + sovVirtualService(uint64(mapEntrySize))
}
}
+ if m.Headers != nil {
+ l = m.Headers.Size()
+ n += 1 + l + sovVirtualService(uint64(l))
+ }
return n
}
@@ -5087,6 +5356,39 @@ func (m *HTTPRoute) Unmarshal(dAtA []byte) error {
}
m.AppendRequestHeaders[mapkey] = mapvalue
iNdEx = postIndex
+ case 16:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Headers", wireType)
+ }
+ var msglen int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowVirtualService
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ msglen |= (int(b) & 0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ if msglen < 0 {
+ return ErrInvalidLengthVirtualService
+ }
+ postIndex := iNdEx + msglen
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ if m.Headers == nil {
+ m.Headers = &Headers{}
+ }
+ if err := m.Headers.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ iNdEx = postIndex
default:
iNdEx = preIndex
skippy, err := skipVirtualService(dAtA[iNdEx:])
@@ -5108,7 +5410,7 @@ func (m *HTTPRoute) Unmarshal(dAtA []byte) error {
}
return nil
}
-func (m *TLSRoute) Unmarshal(dAtA []byte) error {
+func (m *Headers) Unmarshal(dAtA []byte) error {
l := len(dAtA)
iNdEx := 0
for iNdEx < l {
@@ -5131,15 +5433,15 @@ func (m *TLSRoute) Unmarshal(dAtA []byte) error {
fieldNum := int32(wire >> 3)
wireType := int(wire & 0x7)
if wireType == 4 {
- return fmt.Errorf("proto: TLSRoute: wiretype end group for non-group")
+ return fmt.Errorf("proto: Headers: wiretype end group for non-group")
}
if fieldNum <= 0 {
- return fmt.Errorf("proto: TLSRoute: illegal tag %d (wire type %d)", fieldNum, wire)
+ return fmt.Errorf("proto: Headers: illegal tag %d (wire type %d)", fieldNum, wire)
}
switch fieldNum {
case 1:
if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Match", wireType)
+ return fmt.Errorf("proto: wrong wireType = %d for field Request", wireType)
}
var msglen int
for shift := uint(0); ; shift += 7 {
@@ -5163,14 +5465,16 @@ func (m *TLSRoute) Unmarshal(dAtA []byte) error {
if postIndex > l {
return io.ErrUnexpectedEOF
}
- m.Match = append(m.Match, &TLSMatchAttributes{})
- if err := m.Match[len(m.Match)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ if m.Request == nil {
+ m.Request = &Headers_HeaderOperations{}
+ }
+ if err := m.Request.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
return err
}
iNdEx = postIndex
case 2:
if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Route", wireType)
+ return fmt.Errorf("proto: wrong wireType = %d for field Response", wireType)
}
var msglen int
for shift := uint(0); ; shift += 7 {
@@ -5194,8 +5498,437 @@ func (m *TLSRoute) Unmarshal(dAtA []byte) error {
if postIndex > l {
return io.ErrUnexpectedEOF
}
- m.Route = append(m.Route, &RouteDestination{})
- if err := m.Route[len(m.Route)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ if m.Response == nil {
+ m.Response = &Headers_HeaderOperations{}
+ }
+ if err := m.Response.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ iNdEx = postIndex
+ default:
+ iNdEx = preIndex
+ skippy, err := skipVirtualService(dAtA[iNdEx:])
+ if err != nil {
+ return err
+ }
+ if skippy < 0 {
+ return ErrInvalidLengthVirtualService
+ }
+ if (iNdEx + skippy) > l {
+ return io.ErrUnexpectedEOF
+ }
+ iNdEx += skippy
+ }
+ }
+
+ if iNdEx > l {
+ return io.ErrUnexpectedEOF
+ }
+ return nil
+}
+func (m *Headers_HeaderOperations) Unmarshal(dAtA []byte) error {
+ l := len(dAtA)
+ iNdEx := 0
+ for iNdEx < l {
+ preIndex := iNdEx
+ var wire uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowVirtualService
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ wire |= (uint64(b) & 0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ fieldNum := int32(wire >> 3)
+ wireType := int(wire & 0x7)
+ if wireType == 4 {
+ return fmt.Errorf("proto: HeaderOperations: wiretype end group for non-group")
+ }
+ if fieldNum <= 0 {
+ return fmt.Errorf("proto: HeaderOperations: illegal tag %d (wire type %d)", fieldNum, wire)
+ }
+ switch fieldNum {
+ case 1:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Set", wireType)
+ }
+ var msglen int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowVirtualService
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ msglen |= (int(b) & 0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ if msglen < 0 {
+ return ErrInvalidLengthVirtualService
+ }
+ postIndex := iNdEx + msglen
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ if m.Set == nil {
+ m.Set = make(map[string]string)
+ }
+ var mapkey string
+ var mapvalue string
+ for iNdEx < postIndex {
+ entryPreIndex := iNdEx
+ var wire uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowVirtualService
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ wire |= (uint64(b) & 0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ fieldNum := int32(wire >> 3)
+ if fieldNum == 1 {
+ var stringLenmapkey uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowVirtualService
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ stringLenmapkey |= (uint64(b) & 0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ intStringLenmapkey := int(stringLenmapkey)
+ if intStringLenmapkey < 0 {
+ return ErrInvalidLengthVirtualService
+ }
+ postStringIndexmapkey := iNdEx + intStringLenmapkey
+ if postStringIndexmapkey > l {
+ return io.ErrUnexpectedEOF
+ }
+ mapkey = string(dAtA[iNdEx:postStringIndexmapkey])
+ iNdEx = postStringIndexmapkey
+ } else if fieldNum == 2 {
+ var stringLenmapvalue uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowVirtualService
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ stringLenmapvalue |= (uint64(b) & 0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ intStringLenmapvalue := int(stringLenmapvalue)
+ if intStringLenmapvalue < 0 {
+ return ErrInvalidLengthVirtualService
+ }
+ postStringIndexmapvalue := iNdEx + intStringLenmapvalue
+ if postStringIndexmapvalue > l {
+ return io.ErrUnexpectedEOF
+ }
+ mapvalue = string(dAtA[iNdEx:postStringIndexmapvalue])
+ iNdEx = postStringIndexmapvalue
+ } else {
+ iNdEx = entryPreIndex
+ skippy, err := skipVirtualService(dAtA[iNdEx:])
+ if err != nil {
+ return err
+ }
+ if skippy < 0 {
+ return ErrInvalidLengthVirtualService
+ }
+ if (iNdEx + skippy) > postIndex {
+ return io.ErrUnexpectedEOF
+ }
+ iNdEx += skippy
+ }
+ }
+ m.Set[mapkey] = mapvalue
+ iNdEx = postIndex
+ case 2:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Add", wireType)
+ }
+ var msglen int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowVirtualService
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ msglen |= (int(b) & 0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ if msglen < 0 {
+ return ErrInvalidLengthVirtualService
+ }
+ postIndex := iNdEx + msglen
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ if m.Add == nil {
+ m.Add = make(map[string]string)
+ }
+ var mapkey string
+ var mapvalue string
+ for iNdEx < postIndex {
+ entryPreIndex := iNdEx
+ var wire uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowVirtualService
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ wire |= (uint64(b) & 0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ fieldNum := int32(wire >> 3)
+ if fieldNum == 1 {
+ var stringLenmapkey uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowVirtualService
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ stringLenmapkey |= (uint64(b) & 0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ intStringLenmapkey := int(stringLenmapkey)
+ if intStringLenmapkey < 0 {
+ return ErrInvalidLengthVirtualService
+ }
+ postStringIndexmapkey := iNdEx + intStringLenmapkey
+ if postStringIndexmapkey > l {
+ return io.ErrUnexpectedEOF
+ }
+ mapkey = string(dAtA[iNdEx:postStringIndexmapkey])
+ iNdEx = postStringIndexmapkey
+ } else if fieldNum == 2 {
+ var stringLenmapvalue uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowVirtualService
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ stringLenmapvalue |= (uint64(b) & 0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ intStringLenmapvalue := int(stringLenmapvalue)
+ if intStringLenmapvalue < 0 {
+ return ErrInvalidLengthVirtualService
+ }
+ postStringIndexmapvalue := iNdEx + intStringLenmapvalue
+ if postStringIndexmapvalue > l {
+ return io.ErrUnexpectedEOF
+ }
+ mapvalue = string(dAtA[iNdEx:postStringIndexmapvalue])
+ iNdEx = postStringIndexmapvalue
+ } else {
+ iNdEx = entryPreIndex
+ skippy, err := skipVirtualService(dAtA[iNdEx:])
+ if err != nil {
+ return err
+ }
+ if skippy < 0 {
+ return ErrInvalidLengthVirtualService
+ }
+ if (iNdEx + skippy) > postIndex {
+ return io.ErrUnexpectedEOF
+ }
+ iNdEx += skippy
+ }
+ }
+ m.Add[mapkey] = mapvalue
+ iNdEx = postIndex
+ case 3:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Remove", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowVirtualService
+ }
+ 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 ErrInvalidLengthVirtualService
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.Remove = append(m.Remove, string(dAtA[iNdEx:postIndex]))
+ iNdEx = postIndex
+ default:
+ iNdEx = preIndex
+ skippy, err := skipVirtualService(dAtA[iNdEx:])
+ if err != nil {
+ return err
+ }
+ if skippy < 0 {
+ return ErrInvalidLengthVirtualService
+ }
+ if (iNdEx + skippy) > l {
+ return io.ErrUnexpectedEOF
+ }
+ iNdEx += skippy
+ }
+ }
+
+ if iNdEx > l {
+ return io.ErrUnexpectedEOF
+ }
+ return nil
+}
+func (m *TLSRoute) Unmarshal(dAtA []byte) error {
+ l := len(dAtA)
+ iNdEx := 0
+ for iNdEx < l {
+ preIndex := iNdEx
+ var wire uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowVirtualService
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ wire |= (uint64(b) & 0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ fieldNum := int32(wire >> 3)
+ wireType := int(wire & 0x7)
+ if wireType == 4 {
+ return fmt.Errorf("proto: TLSRoute: wiretype end group for non-group")
+ }
+ if fieldNum <= 0 {
+ return fmt.Errorf("proto: TLSRoute: illegal tag %d (wire type %d)", fieldNum, wire)
+ }
+ switch fieldNum {
+ case 1:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Match", wireType)
+ }
+ var msglen int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowVirtualService
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ msglen |= (int(b) & 0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ if msglen < 0 {
+ return ErrInvalidLengthVirtualService
+ }
+ postIndex := iNdEx + msglen
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.Match = append(m.Match, &TLSMatchAttributes{})
+ if err := m.Match[len(m.Match)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ iNdEx = postIndex
+ case 2:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Route", wireType)
+ }
+ var msglen int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowVirtualService
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ msglen |= (int(b) & 0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ if msglen < 0 {
+ return ErrInvalidLengthVirtualService
+ }
+ postIndex := iNdEx + msglen
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.Route = append(m.Route, &RouteDestination{})
+ if err := m.Route[len(m.Route)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
return err
}
iNdEx = postIndex
@@ -6178,6 +6911,39 @@ func (m *HTTPRouteDestination) Unmarshal(dAtA []byte) error {
}
m.AppendRequestHeaders[mapkey] = mapvalue
iNdEx = postIndex
+ case 7:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Headers", wireType)
+ }
+ var msglen int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowVirtualService
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ msglen |= (int(b) & 0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ if msglen < 0 {
+ return ErrInvalidLengthVirtualService
+ }
+ postIndex := iNdEx + msglen
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ if m.Headers == nil {
+ m.Headers = &Headers{}
+ }
+ if err := m.Headers.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ iNdEx = postIndex
default:
iNdEx = preIndex
skippy, err := skipVirtualService(dAtA[iNdEx:])
@@ -8326,107 +9092,116 @@ func init() {
}
var fileDescriptorVirtualService = []byte{
- // 1631 bytes of a gzipped FileDescriptorProto
- 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x58, 0xdf, 0x6f, 0x1b, 0xc5,
- 0x13, 0xef, 0xd9, 0x3e, 0x27, 0x1e, 0x3b, 0x69, 0xb2, 0xdf, 0x34, 0xbd, 0xf8, 0x5b, 0x85, 0xd4,
- 0xa5, 0x10, 0x54, 0x6a, 0x8b, 0xa4, 0x40, 0x04, 0x6d, 0xda, 0x38, 0x69, 0xeb, 0xa2, 0x56, 0xad,
- 0x2e, 0xa1, 0x0f, 0x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, 0x68, 0x20, 0x2c, 0x11, 0x06, 0x2a, 0x53, 0xca, 0xb3, 0xca, 0xc9, 0x7d, 0x9c, 0x93,
- 0x22, 0x2d, 0xee, 0xdb, 0xb1, 0x48, 0xfc, 0xa4, 0x41, 0x4e, 0x0e, 0x44, 0x24, 0x60, 0xa3, 0x4e,
- 0xf1, 0xc7, 0x49, 0x26, 0x16, 0xc1, 0xc9, 0xfb, 0xf8, 0x5b, 0xe4, 0x75, 0x9c, 0xb3, 0x00, 0x80,
- 0x1b, 0x28, 0xfa, 0x78, 0x00, 0x85, 0xe4, 0x4f, 0x3c, 0x49, 0x47, 0x5e, 0xd8, 0x69, 0x50, 0x8e,
- 0xe7, 0x9c, 0x93, 0x74, 0xa4, 0xc6, 0x64, 0x09, 0x32, 0x9e, 0x15, 0xb5, 0x4e, 0xd2, 0x2e, 0x1c,
- 0x55, 0xb3, 0x2a, 0xc1, 0x94, 0xde, 0x80, 0x99, 0x68, 0xb3, 0x01, 0x23, 0x4b, 0x0d, 0x5a, 0xc4,
- 0xc8, 0xd5, 0xf2, 0x2f, 0xaf, 0x56, 0xb5, 0x5f, 0x5f, 0xad, 0x6a, 0x2f, 0x5f, 0xad, 0x6a, 0x9f,
- 0xad, 0x29, 0x9b, 0x1d, 0x56, 0xb1, 0x7c, 0xa7, 0x72, 0xc6, 0xdf, 0xe1, 0x46, 0x16, 0x6f, 0x7e,
- 0xf3, 0xcf, 0x00, 0x00, 0x00, 0xff, 0xff, 0x77, 0x6d, 0xd7, 0xd3, 0x3b, 0x16, 0x00, 0x00,
+ // 1771 bytes of a gzipped FileDescriptorProto
+ 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x59, 0x4f, 0x73, 0xdb, 0xc6,
+ 0x15, 0x37, 0x48, 0x82, 0x7f, 0x1e, 0x29, 0x99, 0xda, 0xca, 0x32, 0xc4, 0x7a, 0x54, 0x99, 0xae,
+ 0x5b, 0x75, 0x5c,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7, 0x44, 0xa5, 0x64, 0x67, 0x65, 0x9b, 0x6d, 0xbe, 0xc7, 0x44, 0x7a, 0xc4, 0xd5, 0x43,
+ 0x91, 0xf0, 0x4a, 0x03, 0xdb, 0x1c, 0x8b, 0x30, 0xc0, 0x66, 0x07, 0xf3, 0xf1, 0x5d, 0x26, 0x14,
+ 0xe1, 0x9b, 0x4f, 0xf9, 0x70, 0xee, 0x7d, 0x9c, 0xb3, 0x04, 0xc0, 0x15, 0x88, 0xf4, 0xf1, 0x0c,
+ 0x4a, 0xf1, 0x51, 0x32, 0x4b, 0x47, 0xb6, 0x3f, 0xe8, 0x62, 0xc2, 0xcf, 0xb9, 0xc0, 0xd2, 0x91,
+ 0x58, 0xa3, 0x65, 0xc8, 0xd8, 0x5a, 0xf0, 0x25, 0xc6, 0xec, 0xe2, 0xab, 0x66, 0x56, 0x14, 0x98,
+ 0xea, 0x6f, 0x20, 0x17, 0x28, 0x1b, 0x67, 0x64, 0xc6, 0x20, 0x05, 0x19, 0xb9, 0x59, 0xfb, 0xf2,
+ 0xdd, 0x9a, 0xf4, 0xf5, 0xbb, 0x35, 0xe9, 0xed, 0xbb, 0x35, 0xe9, 0x5f, 0xeb, 0xc2, 0x66, 0xd3,
+ 0xa9, 0x6b, 0xae, 0x59, 0xbf, 0xe0, 0x7f, 0x14, 0xdd, 0x2c, 0x7f, 0xf3, 0x5b, 0x3f, 0x04, 0x00,
+ 0x00, 0xff, 0xff, 0x9e, 0x6d, 0x35, 0x27, 0xc1, 0x18, 0x00, 0x00,
}
diff --git a/networking/v1alpha3/virtual_service.proto b/networking/v1alpha3/virtual_service.proto
index 80f6201f0d..946dca69e2 100644
--- a/networking/v1alpha3/virtual_service.proto
+++ b/networking/v1alpha3/virtual_service.proto
@@ -385,24 +385,49 @@ message HTTPRoute {
// for further details about cross origin resource sharing.
CorsPolicy cors_policy = 10;
- // Use of `append_headers` is deprecated. Use the `append_request_headers`
+ // Use of `append_headers` is deprecated. Use the `headers`
// field instead.
map append_headers = 11 [deprecated=true];
- // HTTP headers to remove before returning a response to the caller.
- repeated string remove_response_headers = 12;
+ // Use of `remove_response_header` is deprecated. Use the `headers`
+ // field instead.
+ repeated string remove_response_headers = 12 [deprecated=true];
- // Additional HTTP headers to add before returning a response to the
- // caller.
- map append_response_headers = 13;
+ // Use of `append_response_headers` is deprecated. Use the `headers`
+ // field instead.
+ map append_response_headers = 13 [deprecated=true];
- // HTTP headers to remove before forwarding a request to the
- // destination service.
- repeated string remove_request_headers = 14;
+ // Use of `remove_request_headers` is deprecated. Use the `headers`
+ // field instead.
+ repeated string remove_request_headers = 14 [deprecated=true];
- // Additional HTTP headers to add before forwarding a request to the
- // destination service.
- map append_request_headers = 15;
+ // Use of `append_request_headers` is deprecated. Use the `headers`
+ // field instead.
+ map append_request_headers = 15 [deprecated=true];
+
+ // Header manipulation rules
+ Headers headers = 16;
+}
+
+// Header manipulation rules
+message Headers {
+ // Header manipulation rules to apply before forwarding a request
+ // to the destination service
+ HeaderOperations request = 1;
+ // Header manipulation rules to apply before returning a response
+ // to the caller
+ HeaderOperations response = 2;
+
+ // HeaderOperations Describes the header manipulations to apply
+ message HeaderOperations {
+ // Overwrite the headers specified by key with the given values
+ map set = 1;
+ // Apppend the given values to the the headers specified by keys
+ // (will create a comma seperated list of values)
+ map add = 2;
+ // Remove a the specified headers
+ repeated string remove = 3;
+ }
}
// Describes match conditions and actions for routing unterminated TLS
@@ -659,20 +684,24 @@ message HTTPRouteDestination {
// be 100.
int32 weight = 2;
- // HTTP headers to remove before returning a response to the caller.
- repeated string remove_response_headers = 3;
+ // Use of `remove_response_header` is deprecated. Use the `headers`
+ // field instead.
+ repeated string remove_response_headers = 3 [deprecated=true];
+
+ // Use of `append_response_headers` is deprecated. Use the `headers`
+ // field instead.
+ map append_response_headers = 4 [deprecated=true];
- // Additional HTTP headers to add before returning a response to the
- // caller.
- map append_response_headers = 4;
+ // Use of `remove_request_headers` is deprecated. Use the `headers`
+ // field instead.
+ repeated string remove_request_headers = 5 [deprecated=true];
- // HTTP headers to remove before forwarding a request to the
- // destination service.
- repeated string remove_request_headers = 5;
+ // Use of `append_request_headers` is deprecated. Use the `headers`
+ // field instead.
+ map append_request_headers = 6 [deprecated=true];
- // Additional HTTP headers to add before forwarding a request to the
- // destination service.
- map append_request_headers = 6;
+ // Header manipulation rules
+ Headers headers = 7;
}
// L4 routing rule weighted destination.
diff --git a/proto.lock b/proto.lock
index 1602f9d220..9002723a2f 100644
--- a/proto.lock
+++ b/proto.lock
@@ -3358,6 +3358,11 @@
"name": "remove_request_headers",
"type": "string",
"is_repeated": true
+ },
+ {
+ "id": 16,
+ "name": "headers",
+ "type": "Headers"
}
],
"maps": [
@@ -3387,6 +3392,52 @@
}
]
},
+ {
+ "name": "Headers",
+ "fields": [
+ {
+ "id": 1,
+ "name": "request",
+ "type": "HeaderOperations"
+ },
+ {
+ "id": 2,
+ "name": "response",
+ "type": "HeaderOperations"
+ }
+ ],
+ "messages": [
+ {
+ "name": "HeaderOperations",
+ "fields": [
+ {
+ "id": 3,
+ "name": "remove",
+ "type": "string",
+ "is_repeated": true
+ }
+ ],
+ "maps": [
+ {
+ "key_type": "string",
+ "field": {
+ "id": 1,
+ "name": "set",
+ "type": "string"
+ }
+ },
+ {
+ "key_type": "string",
+ "field": {
+ "id": 2,
+ "name": "add",
+ "type": "string"
+ }
+ }
+ ]
+ }
+ ]
+ },
{
"name": "TLSRoute",
"fields": [
@@ -3499,6 +3550,11 @@
"name": "remove_request_headers",
"type": "string",
"is_repeated": true
+ },
+ {
+ "id": 7,
+ "name": "headers",
+ "type": "Headers"
}
],
"maps": [
diff --git a/python/istio_api/networking/v1alpha3/virtual_service_pb2.py b/python/istio_api/networking/v1alpha3/virtual_service_pb2.py
index 4588a89298..69497908ab 100644
--- a/python/istio_api/networking/v1alpha3/virtual_service_pb2.py
+++ b/python/istio_api/networking/v1alpha3/virtual_service_pb2.py
@@ -21,7 +21,7 @@
name='networking/v1alpha3/virtual_service.proto',
package='istio.networking.v1alpha3',
syntax='proto3',
- serialized_pb=_b('\n)networking/v1alpha3/virtual_service.proto\x12\x19istio.networking.v1alpha3\x1a\x1egoogle/protobuf/duration.proto\x1a\x1egoogle/protobuf/wrappers.proto\"\xc9\x01\n\x0eVirtualService\x12\r\n\x05hosts\x18\x01 \x03(\t\x12\x10\n\x08gateways\x18\x02 \x03(\t\x12\x32\n\x04http\x18\x03 \x03(\x0b\x32$.istio.networking.v1alpha3.HTTPRoute\x12\x30\n\x03tls\x18\x05 \x03(\x0b\x32#.istio.networking.v1alpha3.TLSRoute\x12\x30\n\x03tcp\x18\x04 \x03(\x0b\x32#.istio.networking.v1alpha3.TCPRoute\"b\n\x0b\x44\x65stination\x12\x0c\n\x04host\x18\x01 \x01(\t\x12\x0e\n\x06subset\x18\x02 \x01(\t\x12\x35\n\x04port\x18\x03 \x01(\x0b\x32\'.istio.networking.v1alpha3.PortSelector\"\xb4\x08\n\tHTTPRoute\x12:\n\x05match\x18\x01 \x03(\x0b\x32+.istio.networking.v1alpha3.HTTPMatchRequest\x12>\n\x05route\x18\x02 \x03(\x0b\x32/.istio.networking.v1alpha3.HTTPRouteDestination\x12\x39\n\x08redirect\x18\x03 \x01(\x0b\x32\'.istio.networking.v1alpha3.HTTPRedirect\x12\x37\n\x07rewrite\x18\x04 \x01(\x0b\x32&.istio.networking.v1alpha3.HTTPRewrite\x12\x19\n\x11websocket_upgrade\x18\x05 \x01(\x08\x12*\n\x07timeout\x18\x06 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x35\n\x07retries\x18\x07 \x01(\x0b\x32$.istio.networking.v1alpha3.HTTPRetry\x12<\n\x05\x66\x61ult\x18\x08 \x01(\x0b\x32-.istio.networking.v1alpha3.HTTPFaultInjection\x12\x36\n\x06mirror\x18\t \x01(\x0b\x32&.istio.networking.v1alpha3.Destination\x12:\n\x0b\x63ors_policy\x18\n \x01(\x0b\x32%.istio.networking.v1alpha3.CorsPolicy\x12S\n\x0e\x61ppend_headers\x18\x0b \x03(\x0b\x32\x37.istio.networking.v1alpha3.HTTPRoute.AppendHeadersEntryB\x02\x18\x01\x12\x1f\n\x17remove_response_headers\x18\x0c \x03(\t\x12`\n\x17\x61ppend_response_headers\x18\r \x03(\x0b\x32?.istio.networking.v1alpha3.HTTPRoute.AppendResponseHeadersEntry\x12\x1e\n\x16remove_request_headers\x18\x0e \x03(\t\x12^\n\x16\x61ppend_request_headers\x18\x0f \x03(\x0b\x32>.istio.networking.v1alpha3.HTTPRoute.AppendRequestHeadersEntry\x1a\x34\n\x12\x41ppendHeadersEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a<\n\x1a\x41ppendResponseHeadersEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a;\n\x19\x41ppendRequestHeadersEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\x84\x01\n\x08TLSRoute\x12<\n\x05match\x18\x01 \x03(\x0b\x32-.istio.networking.v1alpha3.TLSMatchAttributes\x12:\n\x05route\x18\x02 \x03(\x0b\x32+.istio.networking.v1alpha3.RouteDestination\"\x83\x01\n\x08TCPRoute\x12;\n\x05match\x18\x01 \x03(\x0b\x32,.istio.networking.v1alpha3.L4MatchAttributes\x12:\n\x05route\x18\x02 \x03(\x0b\x32+.istio.networking.v1alpha3.RouteDestination\"\xc0\x04\n\x10HTTPMatchRequest\x12\x33\n\x03uri\x18\x01 \x01(\x0b\x32&.istio.networking.v1alpha3.StringMatch\x12\x36\n\x06scheme\x18\x02 \x01(\x0b\x32&.istio.networking.v1alpha3.StringMatch\x12\x36\n\x06method\x18\x03 \x01(\x0b\x32&.istio.networking.v1alpha3.StringMatch\x12\x39\n\tauthority\x18\x04 \x01(\x0b\x32&.istio.networking.v1alpha3.StringMatch\x12I\n\x07headers\x18\x05 \x03(\x0b\x32\x38.istio.networking.v1alpha3.HTTPMatchRequest.HeadersEntry\x12\x0c\n\x04port\x18\x06 \x01(\r\x12T\n\rsource_labels\x18\x07 \x03(\x0b\x32=.istio.networking.v1alpha3.HTTPMatchRequest.SourceLabelsEntry\x12\x10\n\x08gateways\x18\x08 \x03(\t\x1aV\n\x0cHeadersEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x35\n\x05value\x18\x02 \x01(\x0b\x32&.istio.networking.v1alpha3.StringMatch:\x02\x38\x01\x1a\x33\n\x11SourceLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\xf7\x03\n\x14HTTPRouteDestination\x12;\n\x0b\x64\x65stination\x18\x01 \x01(\x0b\x32&.istio.networking.v1alpha3.Destination\x12\x0e\n\x06weight\x18\x02 \x01(\x05\x12\x1f\n\x17remove_response_headers\x18\x03 \x03(\t\x12k\n\x17\x61ppend_response_headers\x18\x04 \x03(\x0b\x32J.istio.networking.v1alpha3.HTTPRouteDestination.AppendResponseHeadersEntry\x12\x1e\n\x16remove_request_headers\x18\x05 \x03(\t\x12i\n\x16\x61ppend_request_headers\x18\x06 \x03(\x0b\x32I.istio.networking.v1alpha3.HTTPRouteDestination.AppendRequestHeadersEntry\x1a<\n\x1a\x41ppendResponseHeadersEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a;\n\x19\x41ppendRequestHeadersEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"_\n\x10RouteDestination\x12;\n\x0b\x64\x65stination\x18\x01 \x01(\x0b\x32&.istio.networking.v1alpha3.Destination\x12\x0e\n\x06weight\x18\x02 \x01(\x05\"\xf3\x01\n\x11L4MatchAttributes\x12\x1b\n\x13\x64\x65stination_subnets\x18\x01 \x03(\t\x12\x0c\n\x04port\x18\x02 \x01(\r\x12\x15\n\rsource_subnet\x18\x03 \x01(\t\x12U\n\rsource_labels\x18\x04 \x03(\x0b\x32>.istio.networking.v1alpha3.L4MatchAttributes.SourceLabelsEntry\x12\x10\n\x08gateways\x18\x05 \x03(\t\x1a\x33\n\x11SourceLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\x88\x02\n\x12TLSMatchAttributes\x12\x11\n\tsni_hosts\x18\x01 \x03(\t\x12\x1b\n\x13\x64\x65stination_subnets\x18\x02 \x03(\t\x12\x0c\n\x04port\x18\x03 \x01(\r\x12\x15\n\rsource_subnet\x18\x04 \x01(\t\x12V\n\rsource_labels\x18\x05 \x03(\x0b\x32?.istio.networking.v1alpha3.TLSMatchAttributes.SourceLabelsEntry\x12\x10\n\x08gateways\x18\x06 \x03(\t\x1a\x33\n\x11SourceLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\".\n\x0cHTTPRedirect\x12\x0b\n\x03uri\x18\x01 \x01(\t\x12\x11\n\tauthority\x18\x02 \x01(\t\"-\n\x0bHTTPRewrite\x12\x0b\n\x03uri\x18\x01 \x01(\t\x12\x11\n\tauthority\x18\x02 \x01(\t\"O\n\x0bStringMatch\x12\x0f\n\x05\x65xact\x18\x01 \x01(\tH\x00\x12\x10\n\x06prefix\x18\x02 \x01(\tH\x00\x12\x0f\n\x05regex\x18\x03 \x01(\tH\x00\x42\x0c\n\nmatch_type\"c\n\tHTTPRetry\x12\x10\n\x08\x61ttempts\x18\x01 \x01(\x05\x12\x32\n\x0fper_try_timeout\x18\x02 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x10\n\x08retry_on\x18\x03 \x01(\t\"\xcb\x01\n\nCorsPolicy\x12\x14\n\x0c\x61llow_origin\x18\x01 \x03(\t\x12\x15\n\rallow_methods\x18\x02 \x03(\t\x12\x15\n\rallow_headers\x18\x03 \x03(\t\x12\x16\n\x0e\x65xpose_headers\x18\x04 \x03(\t\x12*\n\x07max_age\x18\x05 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x35\n\x11\x61llow_credentials\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.BoolValue\"\x9a\x04\n\x12HTTPFaultInjection\x12\x42\n\x05\x64\x65lay\x18\x01 \x01(\x0b\x32\x33.istio.networking.v1alpha3.HTTPFaultInjection.Delay\x12\x42\n\x05\x61\x62ort\x18\x02 \x01(\x0b\x32\x33.istio.networking.v1alpha3.HTTPFaultInjection.Abort\x1a\xd1\x01\n\x05\x44\x65lay\x12\x13\n\x07percent\x18\x01 \x01(\x05\x42\x02\x18\x01\x12\x30\n\x0b\x66ixed_delay\x18\x02 \x01(\x0b\x32\x19.google.protobuf.DurationH\x00\x12\x36\n\x11\x65xponential_delay\x18\x03 \x01(\x0b\x32\x19.google.protobuf.DurationH\x00\x12\x36\n\npercentage\x18\x05 \x01(\x0b\x32\".istio.networking.v1alpha3.PercentB\x11\n\x0fhttp_delay_type\x1a\xa7\x01\n\x05\x41\x62ort\x12\x13\n\x07percent\x18\x01 \x01(\x05\x42\x02\x18\x01\x12\x15\n\x0bhttp_status\x18\x02 \x01(\x05H\x00\x12\x15\n\x0bgrpc_status\x18\x03 \x01(\tH\x00\x12\x15\n\x0bhttp2_error\x18\x04 \x01(\tH\x00\x12\x36\n\npercentage\x18\x05 \x01(\x0b\x32\".istio.networking.v1alpha3.PercentB\x0c\n\nerror_type\"8\n\x0cPortSelector\x12\x10\n\x06number\x18\x01 \x01(\rH\x00\x12\x0e\n\x04name\x18\x02 \x01(\tH\x00\x42\x06\n\x04port\"\x18\n\x07Percent\x12\r\n\x05value\x18\x01 \x01(\x01\x42\"Z istio.io/api/networking/v1alpha3b\x06proto3')
+ serialized_pb=_b('\n)networking/v1alpha3/virtual_service.proto\x12\x19istio.networking.v1alpha3\x1a\x1egoogle/protobuf/duration.proto\x1a\x1egoogle/protobuf/wrappers.proto\"\xc9\x01\n\x0eVirtualService\x12\r\n\x05hosts\x18\x01 \x03(\t\x12\x10\n\x08gateways\x18\x02 \x03(\t\x12\x32\n\x04http\x18\x03 \x03(\x0b\x32$.istio.networking.v1alpha3.HTTPRoute\x12\x30\n\x03tls\x18\x05 \x03(\x0b\x32#.istio.networking.v1alpha3.TLSRoute\x12\x30\n\x03tcp\x18\x04 \x03(\x0b\x32#.istio.networking.v1alpha3.TCPRoute\"b\n\x0b\x44\x65stination\x12\x0c\n\x04host\x18\x01 \x01(\t\x12\x0e\n\x06subset\x18\x02 \x01(\t\x12\x35\n\x04port\x18\x03 \x01(\x0b\x32\'.istio.networking.v1alpha3.PortSelector\"\xf9\x08\n\tHTTPRoute\x12:\n\x05match\x18\x01 \x03(\x0b\x32+.istio.networking.v1alpha3.HTTPMatchRequest\x12>\n\x05route\x18\x02 \x03(\x0b\x32/.istio.networking.v1alpha3.HTTPRouteDestination\x12\x39\n\x08redirect\x18\x03 \x01(\x0b\x32\'.istio.networking.v1alpha3.HTTPRedirect\x12\x37\n\x07rewrite\x18\x04 \x01(\x0b\x32&.istio.networking.v1alpha3.HTTPRewrite\x12\x19\n\x11websocket_upgrade\x18\x05 \x01(\x08\x12*\n\x07timeout\x18\x06 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x35\n\x07retries\x18\x07 \x01(\x0b\x32$.istio.networking.v1alpha3.HTTPRetry\x12<\n\x05\x66\x61ult\x18\x08 \x01(\x0b\x32-.istio.networking.v1alpha3.HTTPFaultInjection\x12\x36\n\x06mirror\x18\t \x01(\x0b\x32&.istio.networking.v1alpha3.Destination\x12:\n\x0b\x63ors_policy\x18\n \x01(\x0b\x32%.istio.networking.v1alpha3.CorsPolicy\x12S\n\x0e\x61ppend_headers\x18\x0b \x03(\x0b\x32\x37.istio.networking.v1alpha3.HTTPRoute.AppendHeadersEntryB\x02\x18\x01\x12#\n\x17remove_response_headers\x18\x0c \x03(\tB\x02\x18\x01\x12\x64\n\x17\x61ppend_response_headers\x18\r \x03(\x0b\x32?.istio.networking.v1alpha3.HTTPRoute.AppendResponseHeadersEntryB\x02\x18\x01\x12\"\n\x16remove_request_headers\x18\x0e \x03(\tB\x02\x18\x01\x12\x62\n\x16\x61ppend_request_headers\x18\x0f \x03(\x0b\x32>.istio.networking.v1alpha3.HTTPRoute.AppendRequestHeadersEntryB\x02\x18\x01\x12\x33\n\x07headers\x18\x10 \x01(\x0b\x32\".istio.networking.v1alpha3.Headers\x1a\x34\n\x12\x41ppendHeadersEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a<\n\x1a\x41ppendResponseHeadersEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a;\n\x19\x41ppendRequestHeadersEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\xa9\x03\n\x07Headers\x12\x44\n\x07request\x18\x01 \x01(\x0b\x32\x33.istio.networking.v1alpha3.Headers.HeaderOperations\x12\x45\n\x08response\x18\x02 \x01(\x0b\x32\x33.istio.networking.v1alpha3.Headers.HeaderOperations\x1a\x90\x02\n\x10HeaderOperations\x12I\n\x03set\x18\x01 \x03(\x0b\x32<.istio.networking.v1alpha3.Headers.HeaderOperations.SetEntry\x12I\n\x03\x61\x64\x64\x18\x02 \x03(\x0b\x32<.istio.networking.v1alpha3.Headers.HeaderOperations.AddEntry\x12\x0e\n\x06remove\x18\x03 \x03(\t\x1a*\n\x08SetEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a*\n\x08\x41\x64\x64\x45ntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\x84\x01\n\x08TLSRoute\x12<\n\x05match\x18\x01 \x03(\x0b\x32-.istio.networking.v1alpha3.TLSMatchAttributes\x12:\n\x05route\x18\x02 \x03(\x0b\x32+.istio.networking.v1alpha3.RouteDestination\"\x83\x01\n\x08TCPRoute\x12;\n\x05match\x18\x01 \x03(\x0b\x32,.istio.networking.v1alpha3.L4MatchAttributes\x12:\n\x05route\x18\x02 \x03(\x0b\x32+.istio.networking.v1alpha3.RouteDestination\"\xc0\x04\n\x10HTTPMatchRequest\x12\x33\n\x03uri\x18\x01 \x01(\x0b\x32&.istio.networking.v1alpha3.StringMatch\x12\x36\n\x06scheme\x18\x02 \x01(\x0b\x32&.istio.networking.v1alpha3.StringMatch\x12\x36\n\x06method\x18\x03 \x01(\x0b\x32&.istio.networking.v1alpha3.StringMatch\x12\x39\n\tauthority\x18\x04 \x01(\x0b\x32&.istio.networking.v1alpha3.StringMatch\x12I\n\x07headers\x18\x05 \x03(\x0b\x32\x38.istio.networking.v1alpha3.HTTPMatchRequest.HeadersEntry\x12\x0c\n\x04port\x18\x06 \x01(\r\x12T\n\rsource_labels\x18\x07 \x03(\x0b\x32=.istio.networking.v1alpha3.HTTPMatchRequest.SourceLabelsEntry\x12\x10\n\x08gateways\x18\x08 \x03(\t\x1aV\n\x0cHeadersEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x35\n\x05value\x18\x02 \x01(\x0b\x32&.istio.networking.v1alpha3.StringMatch:\x02\x38\x01\x1a\x33\n\x11SourceLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\xbc\x04\n\x14HTTPRouteDestination\x12;\n\x0b\x64\x65stination\x18\x01 \x01(\x0b\x32&.istio.networking.v1alpha3.Destination\x12\x0e\n\x06weight\x18\x02 \x01(\x05\x12#\n\x17remove_response_headers\x18\x03 \x03(\tB\x02\x18\x01\x12o\n\x17\x61ppend_response_headers\x18\x04 \x03(\x0b\x32J.istio.networking.v1alpha3.HTTPRouteDestination.AppendResponseHeadersEntryB\x02\x18\x01\x12\"\n\x16remove_request_headers\x18\x05 \x03(\tB\x02\x18\x01\x12m\n\x16\x61ppend_request_headers\x18\x06 \x03(\x0b\x32I.istio.networking.v1alpha3.HTTPRouteDestination.AppendRequestHeadersEntryB\x02\x18\x01\x12\x33\n\x07headers\x18\x07 \x01(\x0b\x32\".istio.networking.v1alpha3.Headers\x1a<\n\x1a\x41ppendResponseHeadersEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a;\n\x19\x41ppendRequestHeadersEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"_\n\x10RouteDestination\x12;\n\x0b\x64\x65stination\x18\x01 \x01(\x0b\x32&.istio.networking.v1alpha3.Destination\x12\x0e\n\x06weight\x18\x02 \x01(\x05\"\xf3\x01\n\x11L4MatchAttributes\x12\x1b\n\x13\x64\x65stination_subnets\x18\x01 \x03(\t\x12\x0c\n\x04port\x18\x02 \x01(\r\x12\x15\n\rsource_subnet\x18\x03 \x01(\t\x12U\n\rsource_labels\x18\x04 \x03(\x0b\x32>.istio.networking.v1alpha3.L4MatchAttributes.SourceLabelsEntry\x12\x10\n\x08gateways\x18\x05 \x03(\t\x1a\x33\n\x11SourceLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\x88\x02\n\x12TLSMatchAttributes\x12\x11\n\tsni_hosts\x18\x01 \x03(\t\x12\x1b\n\x13\x64\x65stination_subnets\x18\x02 \x03(\t\x12\x0c\n\x04port\x18\x03 \x01(\r\x12\x15\n\rsource_subnet\x18\x04 \x01(\t\x12V\n\rsource_labels\x18\x05 \x03(\x0b\x32?.istio.networking.v1alpha3.TLSMatchAttributes.SourceLabelsEntry\x12\x10\n\x08gateways\x18\x06 \x03(\t\x1a\x33\n\x11SourceLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\".\n\x0cHTTPRedirect\x12\x0b\n\x03uri\x18\x01 \x01(\t\x12\x11\n\tauthority\x18\x02 \x01(\t\"-\n\x0bHTTPRewrite\x12\x0b\n\x03uri\x18\x01 \x01(\t\x12\x11\n\tauthority\x18\x02 \x01(\t\"O\n\x0bStringMatch\x12\x0f\n\x05\x65xact\x18\x01 \x01(\tH\x00\x12\x10\n\x06prefix\x18\x02 \x01(\tH\x00\x12\x0f\n\x05regex\x18\x03 \x01(\tH\x00\x42\x0c\n\nmatch_type\"c\n\tHTTPRetry\x12\x10\n\x08\x61ttempts\x18\x01 \x01(\x05\x12\x32\n\x0fper_try_timeout\x18\x02 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x10\n\x08retry_on\x18\x03 \x01(\t\"\xcb\x01\n\nCorsPolicy\x12\x14\n\x0c\x61llow_origin\x18\x01 \x03(\t\x12\x15\n\rallow_methods\x18\x02 \x03(\t\x12\x15\n\rallow_headers\x18\x03 \x03(\t\x12\x16\n\x0e\x65xpose_headers\x18\x04 \x03(\t\x12*\n\x07max_age\x18\x05 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x35\n\x11\x61llow_credentials\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.BoolValue\"\x9a\x04\n\x12HTTPFaultInjection\x12\x42\n\x05\x64\x65lay\x18\x01 \x01(\x0b\x32\x33.istio.networking.v1alpha3.HTTPFaultInjection.Delay\x12\x42\n\x05\x61\x62ort\x18\x02 \x01(\x0b\x32\x33.istio.networking.v1alpha3.HTTPFaultInjection.Abort\x1a\xd1\x01\n\x05\x44\x65lay\x12\x13\n\x07percent\x18\x01 \x01(\x05\x42\x02\x18\x01\x12\x30\n\x0b\x66ixed_delay\x18\x02 \x01(\x0b\x32\x19.google.protobuf.DurationH\x00\x12\x36\n\x11\x65xponential_delay\x18\x03 \x01(\x0b\x32\x19.google.protobuf.DurationH\x00\x12\x36\n\npercentage\x18\x05 \x01(\x0b\x32\".istio.networking.v1alpha3.PercentB\x11\n\x0fhttp_delay_type\x1a\xa7\x01\n\x05\x41\x62ort\x12\x13\n\x07percent\x18\x01 \x01(\x05\x42\x02\x18\x01\x12\x15\n\x0bhttp_status\x18\x02 \x01(\x05H\x00\x12\x15\n\x0bgrpc_status\x18\x03 \x01(\tH\x00\x12\x15\n\x0bhttp2_error\x18\x04 \x01(\tH\x00\x12\x36\n\npercentage\x18\x05 \x01(\x0b\x32\".istio.networking.v1alpha3.PercentB\x0c\n\nerror_type\"8\n\x0cPortSelector\x12\x10\n\x06number\x18\x01 \x01(\rH\x00\x12\x0e\n\x04name\x18\x02 \x01(\tH\x00\x42\x06\n\x04port\"\x18\n\x07Percent\x12\r\n\x05value\x18\x01 \x01(\x01\x42\"Z istio.io/api/networking/v1alpha3b\x06proto3')
,
dependencies=[google_dot_protobuf_dot_duration__pb2.DESCRIPTOR,google_dot_protobuf_dot_wrappers__pb2.DESCRIPTOR,])
@@ -165,8 +165,8 @@
extension_ranges=[],
oneofs=[
],
- serialized_start=1342,
- serialized_end=1394,
+ serialized_start=1411,
+ serialized_end=1463,
)
_HTTPROUTE_APPENDRESPONSEHEADERSENTRY = _descriptor.Descriptor(
@@ -202,8 +202,8 @@
extension_ranges=[],
oneofs=[
],
- serialized_start=1396,
- serialized_end=1456,
+ serialized_start=1465,
+ serialized_end=1525,
)
_HTTPROUTE_APPENDREQUESTHEADERSENTRY = _descriptor.Descriptor(
@@ -239,8 +239,8 @@
extension_ranges=[],
oneofs=[
],
- serialized_start=1458,
- serialized_end=1517,
+ serialized_start=1527,
+ serialized_end=1586,
)
_HTTPROUTE = _descriptor.Descriptor(
@@ -333,27 +333,34 @@
has_default_value=False, default_value=[],
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
- options=None, file=DESCRIPTOR),
+ options=_descriptor._ParseOptions(descriptor_pb2.FieldOptions(), _b('\030\001')), file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='append_response_headers', full_name='istio.networking.v1alpha3.HTTPRoute.append_response_headers', index=12,
number=13, type=11, cpp_type=10, label=3,
has_default_value=False, default_value=[],
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
- options=None, file=DESCRIPTOR),
+ options=_descriptor._ParseOptions(descriptor_pb2.FieldOptions(), _b('\030\001')), file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='remove_request_headers', full_name='istio.networking.v1alpha3.HTTPRoute.remove_request_headers', index=13,
number=14, type=9, cpp_type=9, label=3,
has_default_value=False, default_value=[],
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
- options=None, file=DESCRIPTOR),
+ options=_descriptor._ParseOptions(descriptor_pb2.FieldOptions(), _b('\030\001')), file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='append_request_headers', full_name='istio.networking.v1alpha3.HTTPRoute.append_request_headers', index=14,
number=15, type=11, cpp_type=10, label=3,
has_default_value=False, default_value=[],
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='headers', full_name='istio.networking.v1alpha3.HTTPRoute.headers', index=15,
+ number=16, 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),
],
extensions=[
@@ -368,7 +375,163 @@
oneofs=[
],
serialized_start=441,
- serialized_end=1517,
+ serialized_end=1586,
+)
+
+
+_HEADERS_HEADEROPERATIONS_SETENTRY = _descriptor.Descriptor(
+ name='SetEntry',
+ full_name='istio.networking.v1alpha3.Headers.HeaderOperations.SetEntry',
+ filename=None,
+ file=DESCRIPTOR,
+ containing_type=None,
+ fields=[
+ _descriptor.FieldDescriptor(
+ name='key', full_name='istio.networking.v1alpha3.Headers.HeaderOperations.SetEntry.key', index=0,
+ number=1, 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='value', full_name='istio.networking.v1alpha3.Headers.HeaderOperations.SetEntry.value', index=1,
+ number=2, 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),
+ ],
+ extensions=[
+ ],
+ nested_types=[],
+ enum_types=[
+ ],
+ options=_descriptor._ParseOptions(descriptor_pb2.MessageOptions(), _b('8\001')),
+ is_extendable=False,
+ syntax='proto3',
+ extension_ranges=[],
+ oneofs=[
+ ],
+ serialized_start=1928,
+ serialized_end=1970,
+)
+
+_HEADERS_HEADEROPERATIONS_ADDENTRY = _descriptor.Descriptor(
+ name='AddEntry',
+ full_name='istio.networking.v1alpha3.Headers.HeaderOperations.AddEntry',
+ filename=None,
+ file=DESCRIPTOR,
+ containing_type=None,
+ fields=[
+ _descriptor.FieldDescriptor(
+ name='key', full_name='istio.networking.v1alpha3.Headers.HeaderOperations.AddEntry.key', index=0,
+ number=1, 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='value', full_name='istio.networking.v1alpha3.Headers.HeaderOperations.AddEntry.value', index=1,
+ number=2, 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),
+ ],
+ extensions=[
+ ],
+ nested_types=[],
+ enum_types=[
+ ],
+ options=_descriptor._ParseOptions(descriptor_pb2.MessageOptions(), _b('8\001')),
+ is_extendable=False,
+ syntax='proto3',
+ extension_ranges=[],
+ oneofs=[
+ ],
+ serialized_start=1972,
+ serialized_end=2014,
+)
+
+_HEADERS_HEADEROPERATIONS = _descriptor.Descriptor(
+ name='HeaderOperations',
+ full_name='istio.networking.v1alpha3.Headers.HeaderOperations',
+ filename=None,
+ file=DESCRIPTOR,
+ containing_type=None,
+ fields=[
+ _descriptor.FieldDescriptor(
+ name='set', full_name='istio.networking.v1alpha3.Headers.HeaderOperations.set', index=0,
+ number=1, type=11, cpp_type=10, label=3,
+ has_default_value=False, default_value=[],
+ message_type=None, enum_type=None, containing_type=None,
+ is_extension=False, extension_scope=None,
+ options=None, file=DESCRIPTOR),
+ _descriptor.FieldDescriptor(
+ name='add', full_name='istio.networking.v1alpha3.Headers.HeaderOperations.add', index=1,
+ number=2, type=11, cpp_type=10, label=3,
+ has_default_value=False, default_value=[],
+ message_type=None, enum_type=None, containing_type=None,
+ is_extension=False, extension_scope=None,
+ options=None, file=DESCRIPTOR),
+ _descriptor.FieldDescriptor(
+ name='remove', full_name='istio.networking.v1alpha3.Headers.HeaderOperations.remove', index=2,
+ number=3, type=9, cpp_type=9, label=3,
+ has_default_value=False, default_value=[],
+ message_type=None, enum_type=None, containing_type=None,
+ is_extension=False, extension_scope=None,
+ options=None, file=DESCRIPTOR),
+ ],
+ extensions=[
+ ],
+ nested_types=[_HEADERS_HEADEROPERATIONS_SETENTRY, _HEADERS_HEADEROPERATIONS_ADDENTRY, ],
+ enum_types=[
+ ],
+ options=None,
+ is_extendable=False,
+ syntax='proto3',
+ extension_ranges=[],
+ oneofs=[
+ ],
+ serialized_start=1742,
+ serialized_end=2014,
+)
+
+_HEADERS = _descriptor.Descriptor(
+ name='Headers',
+ full_name='istio.networking.v1alpha3.Headers',
+ filename=None,
+ file=DESCRIPTOR,
+ containing_type=None,
+ fields=[
+ _descriptor.FieldDescriptor(
+ name='request', full_name='istio.networking.v1alpha3.Headers.request', index=0,
+ number=1, 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='response', full_name='istio.networking.v1alpha3.Headers.response', index=1,
+ number=2, 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),
+ ],
+ extensions=[
+ ],
+ nested_types=[_HEADERS_HEADEROPERATIONS, ],
+ enum_types=[
+ ],
+ options=None,
+ is_extendable=False,
+ syntax='proto3',
+ extension_ranges=[],
+ oneofs=[
+ ],
+ serialized_start=1589,
+ serialized_end=2014,
)
@@ -405,8 +568,8 @@
extension_ranges=[],
oneofs=[
],
- serialized_start=1520,
- serialized_end=1652,
+ serialized_start=2017,
+ serialized_end=2149,
)
@@ -443,8 +606,8 @@
extension_ranges=[],
oneofs=[
],
- serialized_start=1655,
- serialized_end=1786,
+ serialized_start=2152,
+ serialized_end=2283,
)
@@ -481,8 +644,8 @@
extension_ranges=[],
oneofs=[
],
- serialized_start=2226,
- serialized_end=2312,
+ serialized_start=2723,
+ serialized_end=2809,
)
_HTTPMATCHREQUEST_SOURCELABELSENTRY = _descriptor.Descriptor(
@@ -518,8 +681,8 @@
extension_ranges=[],
oneofs=[
],
- serialized_start=2314,
- serialized_end=2365,
+ serialized_start=2811,
+ serialized_end=2862,
)
_HTTPMATCHREQUEST = _descriptor.Descriptor(
@@ -597,8 +760,8 @@
extension_ranges=[],
oneofs=[
],
- serialized_start=1789,
- serialized_end=2365,
+ serialized_start=2286,
+ serialized_end=2862,
)
@@ -635,8 +798,8 @@
extension_ranges=[],
oneofs=[
],
- serialized_start=1396,
- serialized_end=1456,
+ serialized_start=1465,
+ serialized_end=1525,
)
_HTTPROUTEDESTINATION_APPENDREQUESTHEADERSENTRY = _descriptor.Descriptor(
@@ -672,8 +835,8 @@
extension_ranges=[],
oneofs=[
],
- serialized_start=1458,
- serialized_end=1517,
+ serialized_start=1527,
+ serialized_end=1586,
)
_HTTPROUTEDESTINATION = _descriptor.Descriptor(
@@ -703,27 +866,34 @@
has_default_value=False, default_value=[],
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
- options=None, file=DESCRIPTOR),
+ options=_descriptor._ParseOptions(descriptor_pb2.FieldOptions(), _b('\030\001')), file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='append_response_headers', full_name='istio.networking.v1alpha3.HTTPRouteDestination.append_response_headers', index=3,
number=4, type=11, cpp_type=10, label=3,
has_default_value=False, default_value=[],
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
- options=None, file=DESCRIPTOR),
+ options=_descriptor._ParseOptions(descriptor_pb2.FieldOptions(), _b('\030\001')), file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='remove_request_headers', full_name='istio.networking.v1alpha3.HTTPRouteDestination.remove_request_headers', index=4,
number=5, type=9, cpp_type=9, label=3,
has_default_value=False, default_value=[],
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
- options=None, file=DESCRIPTOR),
+ options=_descriptor._ParseOptions(descriptor_pb2.FieldOptions(), _b('\030\001')), file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='append_request_headers', full_name='istio.networking.v1alpha3.HTTPRouteDestination.append_request_headers', index=5,
number=6, type=11, cpp_type=10, label=3,
has_default_value=False, default_value=[],
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='headers', full_name='istio.networking.v1alpha3.HTTPRouteDestination.headers', index=6,
+ number=7, 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),
],
extensions=[
@@ -737,8 +907,8 @@
extension_ranges=[],
oneofs=[
],
- serialized_start=2368,
- serialized_end=2871,
+ serialized_start=2865,
+ serialized_end=3437,
)
@@ -775,8 +945,8 @@
extension_ranges=[],
oneofs=[
],
- serialized_start=2873,
- serialized_end=2968,
+ serialized_start=3439,
+ serialized_end=3534,
)
@@ -813,8 +983,8 @@
extension_ranges=[],
oneofs=[
],
- serialized_start=2314,
- serialized_end=2365,
+ serialized_start=2811,
+ serialized_end=2862,
)
_L4MATCHATTRIBUTES = _descriptor.Descriptor(
@@ -871,8 +1041,8 @@
extension_ranges=[],
oneofs=[
],
- serialized_start=2971,
- serialized_end=3214,
+ serialized_start=3537,
+ serialized_end=3780,
)
@@ -909,8 +1079,8 @@
extension_ranges=[],
oneofs=[
],
- serialized_start=2314,
- serialized_end=2365,
+ serialized_start=2811,
+ serialized_end=2862,
)
_TLSMATCHATTRIBUTES = _descriptor.Descriptor(
@@ -974,8 +1144,8 @@
extension_ranges=[],
oneofs=[
],
- serialized_start=3217,
- serialized_end=3481,
+ serialized_start=3783,
+ serialized_end=4047,
)
@@ -1012,8 +1182,8 @@
extension_ranges=[],
oneofs=[
],
- serialized_start=3483,
- serialized_end=3529,
+ serialized_start=4049,
+ serialized_end=4095,
)
@@ -1050,8 +1220,8 @@
extension_ranges=[],
oneofs=[
],
- serialized_start=3531,
- serialized_end=3576,
+ serialized_start=4097,
+ serialized_end=4142,
)
@@ -1098,8 +1268,8 @@
name='match_type', full_name='istio.networking.v1alpha3.StringMatch.match_type',
index=0, containing_type=None, fields=[]),
],
- serialized_start=3578,
- serialized_end=3657,
+ serialized_start=4144,
+ serialized_end=4223,
)
@@ -1143,8 +1313,8 @@
extension_ranges=[],
oneofs=[
],
- serialized_start=3659,
- serialized_end=3758,
+ serialized_start=4225,
+ serialized_end=4324,
)
@@ -1209,8 +1379,8 @@
extension_ranges=[],
oneofs=[
],
- serialized_start=3761,
- serialized_end=3964,
+ serialized_start=4327,
+ serialized_end=4530,
)
@@ -1264,8 +1434,8 @@
name='http_delay_type', full_name='istio.networking.v1alpha3.HTTPFaultInjection.Delay.http_delay_type',
index=0, containing_type=None, fields=[]),
],
- serialized_start=4126,
- serialized_end=4335,
+ serialized_start=4692,
+ serialized_end=4901,
)
_HTTPFAULTINJECTION_ABORT = _descriptor.Descriptor(
@@ -1325,8 +1495,8 @@
name='error_type', full_name='istio.networking.v1alpha3.HTTPFaultInjection.Abort.error_type',
index=0, containing_type=None, fields=[]),
],
- serialized_start=4338,
- serialized_end=4505,
+ serialized_start=4904,
+ serialized_end=5071,
)
_HTTPFAULTINJECTION = _descriptor.Descriptor(
@@ -1362,8 +1532,8 @@
extension_ranges=[],
oneofs=[
],
- serialized_start=3967,
- serialized_end=4505,
+ serialized_start=4533,
+ serialized_end=5071,
)
@@ -1403,8 +1573,8 @@
name='port', full_name='istio.networking.v1alpha3.PortSelector.port',
index=0, containing_type=None, fields=[]),
],
- serialized_start=4507,
- serialized_end=4563,
+ serialized_start=5073,
+ serialized_end=5129,
)
@@ -1434,8 +1604,8 @@
extension_ranges=[],
oneofs=[
],
- serialized_start=4565,
- serialized_end=4589,
+ serialized_start=5131,
+ serialized_end=5155,
)
_VIRTUALSERVICE.fields_by_name['http'].message_type = _HTTPROUTE
@@ -1457,6 +1627,14 @@
_HTTPROUTE.fields_by_name['append_headers'].message_type = _HTTPROUTE_APPENDHEADERSENTRY
_HTTPROUTE.fields_by_name['append_response_headers'].message_type = _HTTPROUTE_APPENDRESPONSEHEADERSENTRY
_HTTPROUTE.fields_by_name['append_request_headers'].message_type = _HTTPROUTE_APPENDREQUESTHEADERSENTRY
+_HTTPROUTE.fields_by_name['headers'].message_type = _HEADERS
+_HEADERS_HEADEROPERATIONS_SETENTRY.containing_type = _HEADERS_HEADEROPERATIONS
+_HEADERS_HEADEROPERATIONS_ADDENTRY.containing_type = _HEADERS_HEADEROPERATIONS
+_HEADERS_HEADEROPERATIONS.fields_by_name['set'].message_type = _HEADERS_HEADEROPERATIONS_SETENTRY
+_HEADERS_HEADEROPERATIONS.fields_by_name['add'].message_type = _HEADERS_HEADEROPERATIONS_ADDENTRY
+_HEADERS_HEADEROPERATIONS.containing_type = _HEADERS
+_HEADERS.fields_by_name['request'].message_type = _HEADERS_HEADEROPERATIONS
+_HEADERS.fields_by_name['response'].message_type = _HEADERS_HEADEROPERATIONS
_TLSROUTE.fields_by_name['match'].message_type = _TLSMATCHATTRIBUTES
_TLSROUTE.fields_by_name['route'].message_type = _ROUTEDESTINATION
_TCPROUTE.fields_by_name['match'].message_type = _L4MATCHATTRIBUTES
@@ -1475,6 +1653,7 @@
_HTTPROUTEDESTINATION.fields_by_name['destination'].message_type = _DESTINATION
_HTTPROUTEDESTINATION.fields_by_name['append_response_headers'].message_type = _HTTPROUTEDESTINATION_APPENDRESPONSEHEADERSENTRY
_HTTPROUTEDESTINATION.fields_by_name['append_request_headers'].message_type = _HTTPROUTEDESTINATION_APPENDREQUESTHEADERSENTRY
+_HTTPROUTEDESTINATION.fields_by_name['headers'].message_type = _HEADERS
_ROUTEDESTINATION.fields_by_name['destination'].message_type = _DESTINATION
_L4MATCHATTRIBUTES_SOURCELABELSENTRY.containing_type = _L4MATCHATTRIBUTES
_L4MATCHATTRIBUTES.fields_by_name['source_labels'].message_type = _L4MATCHATTRIBUTES_SOURCELABELSENTRY
@@ -1524,6 +1703,7 @@
DESCRIPTOR.message_types_by_name['VirtualService'] = _VIRTUALSERVICE
DESCRIPTOR.message_types_by_name['Destination'] = _DESTINATION
DESCRIPTOR.message_types_by_name['HTTPRoute'] = _HTTPROUTE
+DESCRIPTOR.message_types_by_name['Headers'] = _HEADERS
DESCRIPTOR.message_types_by_name['TLSRoute'] = _TLSROUTE
DESCRIPTOR.message_types_by_name['TCPRoute'] = _TCPROUTE
DESCRIPTOR.message_types_by_name['HTTPMatchRequest'] = _HTTPMATCHREQUEST
@@ -1586,6 +1766,37 @@
_sym_db.RegisterMessage(HTTPRoute.AppendResponseHeadersEntry)
_sym_db.RegisterMessage(HTTPRoute.AppendRequestHeadersEntry)
+Headers = _reflection.GeneratedProtocolMessageType('Headers', (_message.Message,), dict(
+
+ HeaderOperations = _reflection.GeneratedProtocolMessageType('HeaderOperations', (_message.Message,), dict(
+
+ SetEntry = _reflection.GeneratedProtocolMessageType('SetEntry', (_message.Message,), dict(
+ DESCRIPTOR = _HEADERS_HEADEROPERATIONS_SETENTRY,
+ __module__ = 'networking.v1alpha3.virtual_service_pb2'
+ # @@protoc_insertion_point(class_scope:istio.networking.v1alpha3.Headers.HeaderOperations.SetEntry)
+ ))
+ ,
+
+ AddEntry = _reflection.GeneratedProtocolMessageType('AddEntry', (_message.Message,), dict(
+ DESCRIPTOR = _HEADERS_HEADEROPERATIONS_ADDENTRY,
+ __module__ = 'networking.v1alpha3.virtual_service_pb2'
+ # @@protoc_insertion_point(class_scope:istio.networking.v1alpha3.Headers.HeaderOperations.AddEntry)
+ ))
+ ,
+ DESCRIPTOR = _HEADERS_HEADEROPERATIONS,
+ __module__ = 'networking.v1alpha3.virtual_service_pb2'
+ # @@protoc_insertion_point(class_scope:istio.networking.v1alpha3.Headers.HeaderOperations)
+ ))
+ ,
+ DESCRIPTOR = _HEADERS,
+ __module__ = 'networking.v1alpha3.virtual_service_pb2'
+ # @@protoc_insertion_point(class_scope:istio.networking.v1alpha3.Headers)
+ ))
+_sym_db.RegisterMessage(Headers)
+_sym_db.RegisterMessage(Headers.HeaderOperations)
+_sym_db.RegisterMessage(Headers.HeaderOperations.SetEntry)
+_sym_db.RegisterMessage(Headers.HeaderOperations.AddEntry)
+
TLSRoute = _reflection.GeneratedProtocolMessageType('TLSRoute', (_message.Message,), dict(
DESCRIPTOR = _TLSROUTE,
__module__ = 'networking.v1alpha3.virtual_service_pb2'
@@ -1766,6 +1977,18 @@
_HTTPROUTE_APPENDREQUESTHEADERSENTRY._options = _descriptor._ParseOptions(descriptor_pb2.MessageOptions(), _b('8\001'))
_HTTPROUTE.fields_by_name['append_headers'].has_options = True
_HTTPROUTE.fields_by_name['append_headers']._options = _descriptor._ParseOptions(descriptor_pb2.FieldOptions(), _b('\030\001'))
+_HTTPROUTE.fields_by_name['remove_response_headers'].has_options = True
+_HTTPROUTE.fields_by_name['remove_response_headers']._options = _descriptor._ParseOptions(descriptor_pb2.FieldOptions(), _b('\030\001'))
+_HTTPROUTE.fields_by_name['append_response_headers'].has_options = True
+_HTTPROUTE.fields_by_name['append_response_headers']._options = _descriptor._ParseOptions(descriptor_pb2.FieldOptions(), _b('\030\001'))
+_HTTPROUTE.fields_by_name['remove_request_headers'].has_options = True
+_HTTPROUTE.fields_by_name['remove_request_headers']._options = _descriptor._ParseOptions(descriptor_pb2.FieldOptions(), _b('\030\001'))
+_HTTPROUTE.fields_by_name['append_request_headers'].has_options = True
+_HTTPROUTE.fields_by_name['append_request_headers']._options = _descriptor._ParseOptions(descriptor_pb2.FieldOptions(), _b('\030\001'))
+_HEADERS_HEADEROPERATIONS_SETENTRY.has_options = True
+_HEADERS_HEADEROPERATIONS_SETENTRY._options = _descriptor._ParseOptions(descriptor_pb2.MessageOptions(), _b('8\001'))
+_HEADERS_HEADEROPERATIONS_ADDENTRY.has_options = True
+_HEADERS_HEADEROPERATIONS_ADDENTRY._options = _descriptor._ParseOptions(descriptor_pb2.MessageOptions(), _b('8\001'))
_HTTPMATCHREQUEST_HEADERSENTRY.has_options = True
_HTTPMATCHREQUEST_HEADERSENTRY._options = _descriptor._ParseOptions(descriptor_pb2.MessageOptions(), _b('8\001'))
_HTTPMATCHREQUEST_SOURCELABELSENTRY.has_options = True
@@ -1774,6 +1997,14 @@
_HTTPROUTEDESTINATION_APPENDRESPONSEHEADERSENTRY._options = _descriptor._ParseOptions(descriptor_pb2.MessageOptions(), _b('8\001'))
_HTTPROUTEDESTINATION_APPENDREQUESTHEADERSENTRY.has_options = True
_HTTPROUTEDESTINATION_APPENDREQUESTHEADERSENTRY._options = _descriptor._ParseOptions(descriptor_pb2.MessageOptions(), _b('8\001'))
+_HTTPROUTEDESTINATION.fields_by_name['remove_response_headers'].has_options = True
+_HTTPROUTEDESTINATION.fields_by_name['remove_response_headers']._options = _descriptor._ParseOptions(descriptor_pb2.FieldOptions(), _b('\030\001'))
+_HTTPROUTEDESTINATION.fields_by_name['append_response_headers'].has_options = True
+_HTTPROUTEDESTINATION.fields_by_name['append_response_headers']._options = _descriptor._ParseOptions(descriptor_pb2.FieldOptions(), _b('\030\001'))
+_HTTPROUTEDESTINATION.fields_by_name['remove_request_headers'].has_options = True
+_HTTPROUTEDESTINATION.fields_by_name['remove_request_headers']._options = _descriptor._ParseOptions(descriptor_pb2.FieldOptions(), _b('\030\001'))
+_HTTPROUTEDESTINATION.fields_by_name['append_request_headers'].has_options = True
+_HTTPROUTEDESTINATION.fields_by_name['append_request_headers']._options = _descriptor._ParseOptions(descriptor_pb2.FieldOptions(), _b('\030\001'))
_L4MATCHATTRIBUTES_SOURCELABELSENTRY.has_options = True
_L4MATCHATTRIBUTES_SOURCELABELSENTRY._options = _descriptor._ParseOptions(descriptor_pb2.MessageOptions(), _b('8\001'))
_TLSMATCHATTRIBUTES_SOURCELABELSENTRY.has_options = True
From 4f643c98546f632307978debedc7d5dbd0452aa2 Mon Sep 17 00:00:00 2001
From: Shriram Rajagopalan
Date: Wed, 28 Nov 2018 15:09:16 -0500
Subject: [PATCH 09/10] NetworkScopes (#719)
* default network scope
Signed-off-by: Shriram Rajagopalan
* protolock
Signed-off-by: Shriram Rajagopalan
* doc update
Signed-off-by: Shriram Rajagopalan
* NetworkScopes
Signed-off-by: Shriram Rajagopalan
* proto lock
Signed-off-by: Shriram Rajagopalan
* updates
Signed-off-by: Shriram Rajagopalan
* default network scope
Signed-off-by: Shriram Rajagopalan
* doc updates
Signed-off-by: Shriram Rajagopalan
* updates
Signed-off-by: Shriram Rajagopalan
* rename
* nits and final updates
Signed-off-by: Shriram Rajagopalan
---
Makefile | 3 +
mesh/v1alpha1/config.pb.go | 445 +++++++--
mesh/v1alpha1/config.proto | 35 +-
mesh/v1alpha1/istio.mesh.v1alpha1.pb.html | 82 +-
networking/v1alpha3/destination_rule.pb.go | 219 ++--
networking/v1alpha3/destination_rule.proto | 7 +
networking/v1alpha3/gateway.pb.go | 8 +-
networking/v1alpha3/gateway.proto | 8 +-
.../istio.networking.v1alpha3.pb.html | 258 ++++-
networking/v1alpha3/network_scope.pb.go | 933 ++++++++++++++++++
networking/v1alpha3/network_scope.proto | 168 ++++
networking/v1alpha3/service_entry.pb.go | 106 +-
networking/v1alpha3/service_entry.proto | 8 +
networking/v1alpha3/virtual_service.pb.go | 266 ++---
networking/v1alpha3/virtual_service.proto | 8 +
proto.lock | 120 +++
python/istio_api/mesh/v1alpha1/config_pb2.py | 109 +-
.../v1alpha3/destination_rule_pb2.py | 77 +-
.../networking/v1alpha3/network_scope_pb2.py | 241 +++++
.../networking/v1alpha3/service_entry_pb2.py | 37 +-
.../v1alpha3/virtual_service_pb2.py | 145 +--
21 files changed, 2831 insertions(+), 452 deletions(-)
create mode 100644 networking/v1alpha3/network_scope.pb.go
create mode 100644 networking/v1alpha3/network_scope.proto
create mode 100644 python/istio_api/networking/v1alpha3/network_scope_pb2.py
diff --git a/Makefile b/Makefile
index a74a1d6faa..5d804e31ac 100644
--- a/Makefile
+++ b/Makefile
@@ -351,6 +351,9 @@ clean-envoy:
proto-commit:
@$(docker_lock) commit
+proto-commit-force:
+ @$(docker_lock) commit --force
+
#####################
# Lint
#####################
diff --git a/mesh/v1alpha1/config.pb.go b/mesh/v1alpha1/config.pb.go
index f613644c60..7ae7af46e6 100644
--- a/mesh/v1alpha1/config.pb.go
+++ b/mesh/v1alpha1/config.pb.go
@@ -23,7 +23,7 @@ import proto "github.com/gogo/protobuf/proto"
import fmt "fmt"
import math "math"
import google_protobuf "github.com/gogo/protobuf/types"
-import istio_networking_v1alpha31 "istio.io/api/networking/v1alpha3"
+import istio_networking_v1alpha32 "istio.io/api/networking/v1alpha3"
import io "io"
@@ -152,6 +152,34 @@ func (MeshConfig_OutboundTrafficPolicy_Mode) EnumDescriptor() ([]byte, []int) {
return fileDescriptorConfig, []int{0, 0, 0}
}
+type MeshConfig_DefaultNetworkScope_Mode int32
+
+const (
+ // Configure routes to services in all namespaces, i.e. import
+ // services from all namespaces.
+ MeshConfig_DefaultNetworkScope_ALL_NAMESPACES MeshConfig_DefaultNetworkScope_Mode = 0
+ // Only configure routes to services that are in the same namespace
+ // as the workload as well as services in namespaces specified in
+ // importNamespaces.
+ MeshConfig_DefaultNetworkScope_SAME_NAMESPACE MeshConfig_DefaultNetworkScope_Mode = 1
+)
+
+var MeshConfig_DefaultNetworkScope_Mode_name = map[int32]string{
+ 0: "ALL_NAMESPACES",
+ 1: "SAME_NAMESPACE",
+}
+var MeshConfig_DefaultNetworkScope_Mode_value = map[string]int32{
+ "ALL_NAMESPACES": 0,
+ "SAME_NAMESPACE": 1,
+}
+
+func (x MeshConfig_DefaultNetworkScope_Mode) String() string {
+ return proto.EnumName(MeshConfig_DefaultNetworkScope_Mode_name, int32(x))
+}
+func (MeshConfig_DefaultNetworkScope_Mode) EnumDescriptor() ([]byte, []int) {
+ return fileDescriptorConfig, []int{0, 1, 0}
+}
+
// MeshConfig defines mesh-wide variables shared by all Envoy instances in the
// Istio service mesh.
//
@@ -189,7 +217,7 @@ type MeshConfig struct {
// Connection timeout used by Envoy. (MUST BE >=1ms)
ConnectTimeout *google_protobuf.Duration `protobuf:"bytes,6,opt,name=connect_timeout,json=connectTimeout" json:"connect_timeout,omitempty"`
// If set then set SO_KEEPALIVE on the socket to enable TCP Keepalives.
- TcpKeepalive *istio_networking_v1alpha31.ConnectionPoolSettings_TCPSettings_TcpKeepalive `protobuf:"bytes,28,opt,name=tcp_keepalive,json=tcpKeepalive" json:"tcp_keepalive,omitempty"`
+ TcpKeepalive *istio_networking_v1alpha32.ConnectionPoolSettings_TCPSettings_TcpKeepalive `protobuf:"bytes,28,opt,name=tcp_keepalive,json=tcpKeepalive" json:"tcp_keepalive,omitempty"`
// Class of ingress resources to be processed by Istio ingress
// controller. This corresponds to the value of
// "kubernetes.io/ingress.class" annotation.
@@ -250,6 +278,12 @@ type MeshConfig struct {
// Refer to https://github.com/spiffe/spiffe/blob/master/standards/SPIFFE-ID.md#21-trust-domain
// Fallback to old identity format(without trust domain) if not set.
TrustDomain string `protobuf:"bytes,26,opt,name=trust_domain,json=trustDomain,proto3" json:"trust_domain,omitempty"`
+ // The default network scope associated with every workload in the mesh.
+ // Pilot will program the routes in the sidecars and gateways
+ // accordingly. If omitted, sidecars will be configured to reach every
+ // service in the mesh. The default scope can be overriden by supplying a
+ // NetworkScope resource per namespace.
+ DefaultNetworkScope *MeshConfig_DefaultNetworkScope `protobuf:"bytes,29,opt,name=default_network_scope,json=defaultNetworkScope" json:"default_network_scope,omitempty"`
}
func (m *MeshConfig) Reset() { *m = MeshConfig{} }
@@ -306,7 +340,7 @@ func (m *MeshConfig) GetConnectTimeout() *google_protobuf.Duration {
return nil
}
-func (m *MeshConfig) GetTcpKeepalive() *istio_networking_v1alpha31.ConnectionPoolSettings_TCPSettings_TcpKeepalive {
+func (m *MeshConfig) GetTcpKeepalive() *istio_networking_v1alpha32.ConnectionPoolSettings_TCPSettings_TcpKeepalive {
if m != nil {
return m.TcpKeepalive
}
@@ -439,6 +473,13 @@ func (m *MeshConfig) GetTrustDomain() string {
return ""
}
+func (m *MeshConfig) GetDefaultNetworkScope() *MeshConfig_DefaultNetworkScope {
+ if m != nil {
+ return m.DefaultNetworkScope
+ }
+ return nil
+}
+
type MeshConfig_OutboundTrafficPolicy struct {
Mode MeshConfig_OutboundTrafficPolicy_Mode `protobuf:"varint,1,opt,name=mode,proto3,enum=istio.mesh.v1alpha1.MeshConfig_OutboundTrafficPolicy_Mode" json:"mode,omitempty"`
}
@@ -457,6 +498,41 @@ func (m *MeshConfig_OutboundTrafficPolicy) GetMode() MeshConfig_OutboundTrafficP
return MeshConfig_OutboundTrafficPolicy_REGISTRY_ONLY
}
+// Default network scope settings for each workload in the mesh. Network
+// scope controls the reachability of workloads to other services in the
+// mesh.
+type MeshConfig_DefaultNetworkScope struct {
+ // REQUIRED: The default import setting for every workload in the mesh.
+ ImportMode MeshConfig_DefaultNetworkScope_Mode `protobuf:"varint,1,opt,name=import_mode,json=importMode,proto3,enum=istio.mesh.v1alpha1.MeshConfig_DefaultNetworkScope_Mode" json:"import_mode,omitempty"`
+ // Specifies one or more namespaces that should be imported by default
+ // in all user defined NetworkScope resources in addition to the
+ // namespaces explicitly specified by the end user. Use this setting to
+ // automatically import services/resources from namespaces such as
+ // istio-system that all workloads in the mesh depend upon.
+ ImportNamespaces []string `protobuf:"bytes,2,rep,name=import_namespaces,json=importNamespaces" json:"import_namespaces,omitempty"`
+}
+
+func (m *MeshConfig_DefaultNetworkScope) Reset() { *m = MeshConfig_DefaultNetworkScope{} }
+func (m *MeshConfig_DefaultNetworkScope) String() string { return proto.CompactTextString(m) }
+func (*MeshConfig_DefaultNetworkScope) ProtoMessage() {}
+func (*MeshConfig_DefaultNetworkScope) Descriptor() ([]byte, []int) {
+ return fileDescriptorConfig, []int{0, 1}
+}
+
+func (m *MeshConfig_DefaultNetworkScope) GetImportMode() MeshConfig_DefaultNetworkScope_Mode {
+ if m != nil {
+ return m.ImportMode
+ }
+ return MeshConfig_DefaultNetworkScope_ALL_NAMESPACES
+}
+
+func (m *MeshConfig_DefaultNetworkScope) GetImportNamespaces() []string {
+ if m != nil {
+ return m.ImportNamespaces
+ }
+ return nil
+}
+
// ConfigSource describes information about a configuration store inside a
// mesh. A single control plane instance can interact with one or more data
// sources.
@@ -468,7 +544,7 @@ type ConfigSource struct {
// Use the tls_settings to specify the tls mode to use. If the MCP server
// uses Istio MTLS and shares the root CA with Pilot, specify the TLS
// mode as ISTIO_MUTUAL.
- TlsSettings *istio_networking_v1alpha31.TLSSettings `protobuf:"bytes,2,opt,name=tls_settings,json=tlsSettings" json:"tls_settings,omitempty"`
+ TlsSettings *istio_networking_v1alpha32.TLSSettings `protobuf:"bytes,2,opt,name=tls_settings,json=tlsSettings" json:"tls_settings,omitempty"`
}
func (m *ConfigSource) Reset() { *m = ConfigSource{} }
@@ -483,7 +559,7 @@ func (m *ConfigSource) GetAddress() string {
return ""
}
-func (m *ConfigSource) GetTlsSettings() *istio_networking_v1alpha31.TLSSettings {
+func (m *ConfigSource) GetTlsSettings() *istio_networking_v1alpha32.TLSSettings {
if m != nil {
return m.TlsSettings
}
@@ -493,11 +569,13 @@ func (m *ConfigSource) GetTlsSettings() *istio_networking_v1alpha31.TLSSettings
func init() {
proto.RegisterType((*MeshConfig)(nil), "istio.mesh.v1alpha1.MeshConfig")
proto.RegisterType((*MeshConfig_OutboundTrafficPolicy)(nil), "istio.mesh.v1alpha1.MeshConfig.OutboundTrafficPolicy")
+ proto.RegisterType((*MeshConfig_DefaultNetworkScope)(nil), "istio.mesh.v1alpha1.MeshConfig.DefaultNetworkScope")
proto.RegisterType((*ConfigSource)(nil), "istio.mesh.v1alpha1.ConfigSource")
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_AccessLogEncoding", MeshConfig_AccessLogEncoding_name, MeshConfig_AccessLogEncoding_value)
proto.RegisterEnum("istio.mesh.v1alpha1.MeshConfig_OutboundTrafficPolicy_Mode", MeshConfig_OutboundTrafficPolicy_Mode_name, MeshConfig_OutboundTrafficPolicy_Mode_value)
+ proto.RegisterEnum("istio.mesh.v1alpha1.MeshConfig_DefaultNetworkScope_Mode", MeshConfig_DefaultNetworkScope_Mode_name, MeshConfig_DefaultNetworkScope_Mode_value)
}
func (m *MeshConfig) Marshal() (dAtA []byte, err error) {
size := m.Size()
@@ -739,6 +817,18 @@ func (m *MeshConfig) MarshalTo(dAtA []byte) (int, error) {
}
i += n6
}
+ if m.DefaultNetworkScope != nil {
+ dAtA[i] = 0xea
+ i++
+ dAtA[i] = 0x1
+ i++
+ i = encodeVarintConfig(dAtA, i, uint64(m.DefaultNetworkScope.Size()))
+ n7, err := m.DefaultNetworkScope.MarshalTo(dAtA[i:])
+ if err != nil {
+ return 0, err
+ }
+ i += n7
+ }
return i, nil
}
@@ -765,6 +855,44 @@ func (m *MeshConfig_OutboundTrafficPolicy) MarshalTo(dAtA []byte) (int, error) {
return i, nil
}
+func (m *MeshConfig_DefaultNetworkScope) Marshal() (dAtA []byte, err error) {
+ size := m.Size()
+ dAtA = make([]byte, size)
+ n, err := m.MarshalTo(dAtA)
+ if err != nil {
+ return nil, err
+ }
+ return dAtA[:n], nil
+}
+
+func (m *MeshConfig_DefaultNetworkScope) MarshalTo(dAtA []byte) (int, error) {
+ var i int
+ _ = i
+ var l int
+ _ = l
+ if m.ImportMode != 0 {
+ dAtA[i] = 0x8
+ i++
+ i = encodeVarintConfig(dAtA, i, uint64(m.ImportMode))
+ }
+ if len(m.ImportNamespaces) > 0 {
+ for _, s := range m.ImportNamespaces {
+ dAtA[i] = 0x12
+ i++
+ l = len(s)
+ for l >= 1<<7 {
+ dAtA[i] = uint8(uint64(l)&0x7f | 0x80)
+ l >>= 7
+ i++
+ }
+ dAtA[i] = uint8(l)
+ i++
+ i += copy(dAtA[i:], s)
+ }
+ }
+ return i, nil
+}
+
func (m *ConfigSource) Marshal() (dAtA []byte, err error) {
size := m.Size()
dAtA = make([]byte, size)
@@ -790,11 +918,11 @@ func (m *ConfigSource) MarshalTo(dAtA []byte) (int, error) {
dAtA[i] = 0x12
i++
i = encodeVarintConfig(dAtA, i, uint64(m.TlsSettings.Size()))
- n7, err := m.TlsSettings.MarshalTo(dAtA[i:])
+ n8, err := m.TlsSettings.MarshalTo(dAtA[i:])
if err != nil {
return 0, err
}
- i += n7
+ i += n8
}
return i, nil
}
@@ -907,6 +1035,10 @@ func (m *MeshConfig) Size() (n int) {
l = m.TcpKeepalive.Size()
n += 2 + l + sovConfig(uint64(l))
}
+ if m.DefaultNetworkScope != nil {
+ l = m.DefaultNetworkScope.Size()
+ n += 2 + l + sovConfig(uint64(l))
+ }
return n
}
@@ -919,6 +1051,21 @@ func (m *MeshConfig_OutboundTrafficPolicy) Size() (n int) {
return n
}
+func (m *MeshConfig_DefaultNetworkScope) Size() (n int) {
+ var l int
+ _ = l
+ if m.ImportMode != 0 {
+ n += 1 + sovConfig(uint64(m.ImportMode))
+ }
+ if len(m.ImportNamespaces) > 0 {
+ for _, s := range m.ImportNamespaces {
+ l = len(s)
+ n += 1 + l + sovConfig(uint64(l))
+ }
+ }
+ return n
+}
+
func (m *ConfigSource) Size() (n int) {
var l int
_ = l
@@ -1654,12 +1801,45 @@ func (m *MeshConfig) Unmarshal(dAtA []byte) error {
return io.ErrUnexpectedEOF
}
if m.TcpKeepalive == nil {
- m.TcpKeepalive = &istio_networking_v1alpha31.ConnectionPoolSettings_TCPSettings_TcpKeepalive{}
+ m.TcpKeepalive = &istio_networking_v1alpha32.ConnectionPoolSettings_TCPSettings_TcpKeepalive{}
}
if err := m.TcpKeepalive.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
return err
}
iNdEx = postIndex
+ case 29:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field DefaultNetworkScope", wireType)
+ }
+ var msglen int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowConfig
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ msglen |= (int(b) & 0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ if msglen < 0 {
+ return ErrInvalidLengthConfig
+ }
+ postIndex := iNdEx + msglen
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ if m.DefaultNetworkScope == nil {
+ m.DefaultNetworkScope = &MeshConfig_DefaultNetworkScope{}
+ }
+ if err := m.DefaultNetworkScope.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ iNdEx = postIndex
default:
iNdEx = preIndex
skippy, err := skipConfig(dAtA[iNdEx:])
@@ -1750,6 +1930,104 @@ func (m *MeshConfig_OutboundTrafficPolicy) Unmarshal(dAtA []byte) error {
}
return nil
}
+func (m *MeshConfig_DefaultNetworkScope) Unmarshal(dAtA []byte) error {
+ l := len(dAtA)
+ iNdEx := 0
+ for iNdEx < l {
+ preIndex := iNdEx
+ var wire uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowConfig
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ wire |= (uint64(b) & 0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ fieldNum := int32(wire >> 3)
+ wireType := int(wire & 0x7)
+ if wireType == 4 {
+ return fmt.Errorf("proto: DefaultNetworkScope: wiretype end group for non-group")
+ }
+ if fieldNum <= 0 {
+ return fmt.Errorf("proto: DefaultNetworkScope: illegal tag %d (wire type %d)", fieldNum, wire)
+ }
+ switch fieldNum {
+ case 1:
+ if wireType != 0 {
+ return fmt.Errorf("proto: wrong wireType = %d for field ImportMode", wireType)
+ }
+ m.ImportMode = 0
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowConfig
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ m.ImportMode |= (MeshConfig_DefaultNetworkScope_Mode(b) & 0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ case 2:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field ImportNamespaces", 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.ImportNamespaces = append(m.ImportNamespaces, string(dAtA[iNdEx:postIndex]))
+ iNdEx = postIndex
+ default:
+ iNdEx = preIndex
+ skippy, err := skipConfig(dAtA[iNdEx:])
+ if err != nil {
+ return err
+ }
+ if skippy < 0 {
+ return ErrInvalidLengthConfig
+ }
+ if (iNdEx + skippy) > l {
+ return io.ErrUnexpectedEOF
+ }
+ iNdEx += skippy
+ }
+ }
+
+ if iNdEx > l {
+ return io.ErrUnexpectedEOF
+ }
+ return nil
+}
func (m *ConfigSource) Unmarshal(dAtA []byte) error {
l := len(dAtA)
iNdEx := 0
@@ -1835,7 +2113,7 @@ func (m *ConfigSource) Unmarshal(dAtA []byte) error {
return io.ErrUnexpectedEOF
}
if m.TlsSettings == nil {
- m.TlsSettings = &istio_networking_v1alpha31.TLSSettings{}
+ m.TlsSettings = &istio_networking_v1alpha32.TLSSettings{}
}
if err := m.TlsSettings.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
return err
@@ -1970,75 +2248,82 @@ var (
func init() { proto.RegisterFile("mesh/v1alpha1/config.proto", fileDescriptorConfig) }
var fileDescriptorConfig = []byte{
- // 1117 bytes of a gzipped FileDescriptorProto
- 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x56, 0xdd, 0x6e, 0xdb, 0x36,
- 0x14, 0x8e, 0xd2, 0xb4, 0x49, 0x8f, 0xff, 0x64, 0xa6, 0x6e, 0x59, 0xb7, 0xc8, 0xdc, 0x0c, 0x6b,
- 0x8d, 0x62, 0x90, 0xd1, 0x04, 0xbb, 0xd8, 0xee, 0x52, 0xc7, 0x69, 0x9d, 0x39, 0xb1, 0x21, 0x29,
- 0xdd, 0xba, 0x1b, 0x42, 0x91, 0x68, 0x9b, 0x88, 0x2c, 0x6a, 0x22, 0xd5, 0xb5, 0x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x3c, 0xea, 0x9b, 0x1b, 0xa8, 0x0a, 0x70, 0x76, 0xae, 0xf8, 0xf3,
+ 0x86, 0xae, 0x69, 0x1c, 0x3c, 0x85, 0xda, 0x27, 0x2d, 0x2f, 0xd5, 0xbd, 0xfe, 0x4f, 0x9e, 0xb9,
+ 0x21, 0xbf, 0x4e, 0xdd, 0xf1, 0xc8, 0x34, 0x4e, 0xb7, 0x77, 0xf7, 0x4c, 0xf3, 0x74, 0x7b, 0x17,
+ 0x99, 0xf5, 0x03, 0x0e, 0xe5, 0xd5, 0xd5, 0x81, 0x2c, 0xd8, 0x29, 0xd6, 0xb7, 0xfe, 0xa9, 0x29,
+ 0x8e, 0x68, 0x00, 0x65, 0x11, 0xc9, 0x67, 0x5a, 0xf7, 0xb8, 0xfa, 0x89, 0x29, 0x1d, 0x3e, 0xf9,
+ 0x97, 0x41, 0xf1, 0x86, 0x6e, 0x31, 0x11, 0x4e, 0x49, 0x44, 0xbc, 0x38, 0xbc, 0x68, 0xff, 0xfe,
+ 0x7e, 0xdf, 0xf8, 0xf3, 0xfd, 0xbe, 0xf1, 0xf7, 0xfb, 0x7d, 0xe3, 0xe7, 0xa6, 0xf6, 0x40, 0x59,
+ 0xc7, 0x4f, 0x68, 0xe7, 0x83, 0xbf, 0xb6, 0xcb, 0xdb, 0x6a, 0x59, 0x1e, 0xfd, 0x13, 0x00, 0x00,
+ 0xff, 0xff, 0xa3, 0x39, 0x16, 0x35, 0x1e, 0x0a, 0x00, 0x00,
}
diff --git a/mesh/v1alpha1/config.proto b/mesh/v1alpha1/config.proto
index 4a19be15ce..975d8c5a01 100644
--- a/mesh/v1alpha1/config.proto
+++ b/mesh/v1alpha1/config.proto
@@ -199,8 +199,41 @@ message MeshConfig {
// Fallback to old identity format(without trust domain) if not set.
string trust_domain = 26;
+ // Default network scope settings for each workload in the mesh. Network
+ // scope controls the reachability of workloads to other services in the
+ // mesh.
+ message DefaultNetworkScope {
+ enum Mode {
+ // Configure routes to services in all namespaces, i.e. import
+ // services from all namespaces.
+ ALL_NAMESPACES = 0;
+
+ // Only configure routes to services that are in the same namespace
+ // as the workload as well as services in namespaces specified in
+ // importNamespaces.
+ SAME_NAMESPACE = 1;
+ }
+
+ // REQUIRED: The default import setting for every workload in the mesh.
+ Mode import_mode = 1;
+
+ // Specifies one or more namespaces that should be imported by default
+ // in all user defined NetworkScope resources in addition to the
+ // namespaces explicitly specified by the end user. Use this setting to
+ // automatically import services/resources from namespaces such as
+ // istio-system that all workloads in the mesh depend upon.
+ repeated string import_namespaces = 2;
+ }
+
+ // The default network scope associated with every workload in the mesh.
+ // Pilot will program the routes in the sidecars and gateways
+ // accordingly. If omitted, sidecars will be configured to reach every
+ // service in the mesh. The default scope can be overriden by supplying a
+ // NetworkScope resource per namespace.
+ DefaultNetworkScope default_network_scope = 29;
+
// $hide_from_docs
- // Next available field number: 29
+ // Next available field number: 30
}
// 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 77ddc649ac..6296b26b6a 100644
--- a/mesh/v1alpha1/istio.mesh.v1alpha1.pb.html
+++ b/mesh/v1alpha1/istio.mesh.v1alpha1.pb.html
@@ -4,7 +4,7 @@
generator: protoc-gen-docs
aliases:
- /docs/reference/config/service-mesh.html
-number_of_entries: 16
+number_of_entries: 18
---
AuthenticationPolicy
@@ -303,6 +303,18 @@ MeshConfig
Refer to https://github.com/spiffe/spiffe/blob/master/standards/SPIFFE-ID.md#21-trust-domain
Fallback to old identity format(without trust domain) if not set.
+
+
+
+defaultNetworkScope |
+MeshConfig.DefaultNetworkScope |
+
+ The default network scope associated with every workload in the mesh.
+Pilot will program the routes in the sidecars and gateways
+accordingly. If omitted, sidecars will be configured to reach every
+service in the mesh. The default scope can be overriden by supplying a
+NetworkScope resource per namespace.
+
|
@@ -326,6 +338,74 @@ MeshConfig.AccessLogEncoding
JSON |
+ |
+
+
+
+
+MeshConfig.DefaultNetworkScope
+
+Default network scope settings for each workload in the mesh. Network
+scope controls the reachability of workloads to other services in the
+mesh.
+
+
+
+
+| Field |
+Type |
+Description |
+
+
+
+
+importMode |
+MeshConfig.DefaultNetworkScope.Mode |
+
+ REQUIRED: The default import setting for every workload in the mesh.
+
+ |
+
+
+importNamespaces |
+string[] |
+
+ Specifies one or more namespaces that should be imported by default
+in all user defined NetworkScope resources in addition to the
+namespaces explicitly specified by the end user. Use this setting to
+automatically import services/resources from namespaces such as
+istio-system that all workloads in the mesh depend upon.
+
+ |
+
+
+
+
+MeshConfig.DefaultNetworkScope.Mode
+
+
+
+
+| Name |
+Description |
+
+
+
+
+ALL_NAMESPACES |
+
+ Configure routes to services in all namespaces, i.e. import
+services from all namespaces.
+
+ |
+
+
+SAME_NAMESPACE |
+
+ Only configure routes to services that are in the same namespace
+as the workload as well as services in namespaces specified in
+importNamespaces.
+
|
diff --git a/networking/v1alpha3/destination_rule.pb.go b/networking/v1alpha3/destination_rule.pb.go
index 0eb5af0c0b..44df1d8164 100644
--- a/networking/v1alpha3/destination_rule.pb.go
+++ b/networking/v1alpha3/destination_rule.pb.go
@@ -8,6 +8,7 @@
networking/v1alpha3/destination_rule.proto
networking/v1alpha3/envoy_filter.proto
networking/v1alpha3/gateway.proto
+ networking/v1alpha3/network_scope.proto
networking/v1alpha3/service_entry.proto
networking/v1alpha3/virtual_service.proto
@@ -23,6 +24,7 @@
Gateway
Server
Port
+ NetworkScope
ServiceEntry
VirtualService
Destination
@@ -245,6 +247,11 @@ type DestinationRule struct {
// One or more named sets that represent individual versions of a
// service. Traffic policies can be overridden at subset level.
Subsets []*Subset `protobuf:"bytes,3,rep,name=subsets" json:"subsets,omitempty"`
+ // The visibility setting associated with this DestinationRule. Set to
+ // PRIVATE if this destination rule should not be exported, i.e. restrict
+ // the applicability of this destination rule to only workloads in the same
+ // namespace as the destination rule.
+ ConfigScope ConfigScope `protobuf:"varint,4,opt,name=config_scope,json=configScope,proto3,enum=istio.networking.v1alpha3.ConfigScope" json:"config_scope,omitempty"`
}
func (m *DestinationRule) Reset() { *m = DestinationRule{} }
@@ -273,6 +280,13 @@ func (m *DestinationRule) GetSubsets() []*Subset {
return nil
}
+func (m *DestinationRule) GetConfigScope() ConfigScope {
+ if m != nil {
+ return m.ConfigScope
+ }
+ return ConfigScope_PUBLIC
+}
+
// Traffic policies to apply for a specific destination, across all
// destination ports. See DestinationRule for examples.
type TrafficPolicy struct {
@@ -1322,6 +1336,11 @@ func (m *DestinationRule) MarshalTo(dAtA []byte) (int, error) {
i += n
}
}
+ if m.ConfigScope != 0 {
+ dAtA[i] = 0x20
+ i++
+ i = encodeVarintDestinationRule(dAtA, i, uint64(m.ConfigScope))
+ }
return i, nil
}
@@ -1967,6 +1986,9 @@ func (m *DestinationRule) Size() (n int) {
n += 1 + l + sovDestinationRule(uint64(l))
}
}
+ if m.ConfigScope != 0 {
+ n += 1 + sovDestinationRule(uint64(m.ConfigScope))
+ }
return n
}
@@ -2377,6 +2399,25 @@ func (m *DestinationRule) Unmarshal(dAtA []byte) error {
return err
}
iNdEx = postIndex
+ case 4:
+ if wireType != 0 {
+ return fmt.Errorf("proto: wrong wireType = %d for field ConfigScope", wireType)
+ }
+ m.ConfigScope = 0
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowDestinationRule
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ m.ConfigScope |= (ConfigScope(b) & 0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
default:
iNdEx = preIndex
skippy, err := skipDestinationRule(dAtA[iNdEx:])
@@ -4459,92 +4500,94 @@ func init() {
}
var fileDescriptorDestinationRule = []byte{
- // 1379 bytes of a gzipped FileDescriptorProto
- 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x57, 0xcd, 0x6e, 0x1b, 0xb7,
- 0x16, 0xb6, 0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xf8, 0x29, 0x20, 0x03, 0x56, 0x79, 0x04, 0xd7, 0xec, 0x39, 0x50, 0x01, 0xae,
- 0xed, 0xec, 0xb5, 0xb7, 0x6a, 0x8d, 0xdd, 0xe2, 0x8c, 0xae, 0xc4, 0xed, 0xbd, 0xfd, 0x56, 0x63,
- 0x37, 0xae, 0xca, 0xfb, 0x87, 0x9d, 0xc3, 0xad, 0x46, 0x31, 0x8d, 0x8a, 0x30, 0xbf, 0xd7, 0xee,
- 0xec, 0x35, 0x5d, 0x3b, 0x93, 0xa9, 0x39, 0x3f, 0xbd, 0x5c, 0x4d, 0xfd, 0xf2, 0x72, 0x35, 0xf5,
- 0xc7, 0xcb, 0xd5, 0xd4, 0xd3, 0xb5, 0x38, 0x76, 0x8c, 0x57, 0x49, 0xc8, 0xaa, 0xe7, 0xfc, 0x93,
- 0x75, 0xf3, 0x26, 0x03, 0xee, 0xfe, 0x13, 0x00, 0x00, 0xff, 0xff, 0x9a, 0x4a, 0x6d, 0x05, 0x18,
- 0x0e, 0x00, 0x00,
+ // 1416 bytes of a gzipped FileDescriptorProto
+ 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x57, 0x4f, 0x6f, 0x1b, 0xb7,
+ 0x12, 0xb7, 0xfe, 0xc6, 0x1e, 0xd9, 0xb2, 0xcc, 0x67, 0xe4, 0x29, 0x7a, 0x80, 0xe3, 0x27, 0x14,
+ 0x8d, 0x9b, 0x36, 0xab, 0xda, 0x41, 0x81, 0x34, 0x41, 0x8a, 0x58, 0xb6, 0x11, 0xb9, 0x91, 0x2d,
+ 0x81, 0x2b, 0x03, 0x45, 0x2e, 0x0b, 0x6a, 0x45, 0x4b, 0x8c, 0x57, 0xcb, 0xed, 0x92, 0xab, 0xda,
+ 0xf9, 0x0c, 0x3d, 0x07, 0xbd, 0xf6, 0xd2, 0xcf, 0x52, 0xf4, 0xd4, 0x6b, 0x7b, 0x69, 0x91, 0x2f,
+ 0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x07, 0x2a, 0xc0, 0xb5, 0xdd, 0x7d, 0x7b, 0xbb, 0xde, 0xdc, 0x2b, 0xcd, 0xa9, 0x4a,
+ 0x6c, 0xef, 0x1f, 0xb4, 0x9b, 0x7b, 0x71, 0x55, 0x3e, 0x38, 0xea, 0x1c, 0x6d, 0x37, 0x4b, 0x69,
+ 0x54, 0x82, 0xc5, 0x7d, 0xbb, 0xb3, 0xdf, 0x72, 0xcc, 0x4a, 0xa6, 0x6e, 0xfd, 0xf8, 0x72, 0x2d,
+ 0xf5, 0xf3, 0xcb, 0xb5, 0xd4, 0xef, 0x2f, 0xd7, 0x52, 0x4f, 0xd7, 0xe3, 0xd8, 0x31, 0x5e, 0x23,
+ 0x01, 0xab, 0x5d, 0xf0, 0x73, 0xd7, 0xcd, 0x6b, 0x05, 0xdc, 0xfd, 0x27, 0x00, 0x00, 0xff, 0xff,
+ 0xa1, 0xaa, 0x97, 0xcc, 0x8c, 0x0e, 0x00, 0x00,
}
diff --git a/networking/v1alpha3/destination_rule.proto b/networking/v1alpha3/destination_rule.proto
index a19091e2c3..ebd4faf38e 100644
--- a/networking/v1alpha3/destination_rule.proto
+++ b/networking/v1alpha3/destination_rule.proto
@@ -15,6 +15,7 @@ syntax = "proto3";
import "google/protobuf/duration.proto";
import "networking/v1alpha3/virtual_service.proto";
+import "networking/v1alpha3/network_scope.proto";
import "gogoproto/gogo.proto";
package istio.networking.v1alpha3;
@@ -117,6 +118,12 @@ message DestinationRule {
// One or more named sets that represent individual versions of a
// service. Traffic policies can be overridden at subset level.
repeated Subset subsets = 3;
+
+ // The visibility setting associated with this DestinationRule. Set to
+ // PRIVATE if this destination rule should not be exported, i.e. restrict
+ // the applicability of this destination rule to only workloads in the same
+ // namespace as the destination rule.
+ ConfigScope config_scope = 4;
}
// Traffic policies to apply for a specific destination, across all
diff --git a/networking/v1alpha3/gateway.pb.go b/networking/v1alpha3/gateway.pb.go
index cbab67e68e..2ae532566e 100644
--- a/networking/v1alpha3/gateway.pb.go
+++ b/networking/v1alpha3/gateway.pb.go
@@ -116,6 +116,7 @@ func (Server_TLSOptions_TLSProtocol) EnumDescriptor() ([]byte, []int) {
// kind: Gateway
// metadata:
// name: my-gateway
+// namespace: some-config-namespace
// spec:
// selector:
// app: my-gateway-controller
@@ -173,13 +174,14 @@ func (Server_TLSOptions_TLSProtocol) EnumDescriptor() ([]byte, []int) {
// kind: VirtualService
// metadata:
// name: bookinfo-rule
+// namespace: bookinfo-namespace
// spec:
// hosts:
// - reviews.prod.svc.cluster.local
// - uk.bookinfo.com
// - eu.bookinfo.com
// gateways:
-// - my-gateway
+// - some-config-namespace/my-gateway
// - mesh # applies to all the sidecars in the mesh
// http:
// - match:
@@ -215,11 +217,13 @@ func (Server_TLSOptions_TLSProtocol) EnumDescriptor() ([]byte, []int) {
// kind: VirtualService
// metadata:
// name: bookinfo-Mongo
+// namespace: bookinfo-namespace
// spec:
// hosts:
// - mongosvr.prod.svc.cluster.local #name of internal Mongo service
// gateways:
-// - my-gateway
+// - some-config-namespace/my-gateway # can omit the namespace if gateway is in same
+// namespace as virtual service.
// tcp:
// - match:
// - port: 27017
diff --git a/networking/v1alpha3/gateway.proto b/networking/v1alpha3/gateway.proto
index e7a54a41af..4f857dd8d2 100644
--- a/networking/v1alpha3/gateway.proto
+++ b/networking/v1alpha3/gateway.proto
@@ -36,6 +36,7 @@ option go_package = "istio.io/api/networking/v1alpha3";
// kind: Gateway
// metadata:
// name: my-gateway
+// namespace: some-config-namespace
// spec:
// selector:
// app: my-gateway-controller
@@ -93,13 +94,14 @@ option go_package = "istio.io/api/networking/v1alpha3";
// kind: VirtualService
// metadata:
// name: bookinfo-rule
+// namespace: bookinfo-namespace
// spec:
// hosts:
// - reviews.prod.svc.cluster.local
// - uk.bookinfo.com
// - eu.bookinfo.com
// gateways:
-// - my-gateway
+// - some-config-namespace/my-gateway
// - mesh # applies to all the sidecars in the mesh
// http:
// - match:
@@ -135,11 +137,13 @@ option go_package = "istio.io/api/networking/v1alpha3";
// kind: VirtualService
// metadata:
// name: bookinfo-Mongo
+// namespace: bookinfo-namespace
// spec:
// hosts:
// - mongosvr.prod.svc.cluster.local #name of internal Mongo service
// gateways:
-// - my-gateway
+// - some-config-namespace/my-gateway # can omit the namespace if gateway is in same
+// namespace as virtual service.
// tcp:
// - match:
// - port: 27017
diff --git a/networking/v1alpha3/istio.networking.v1alpha3.pb.html b/networking/v1alpha3/istio.networking.v1alpha3.pb.html
index c6cc9e88ae..4c91ad0146 100644
--- a/networking/v1alpha3/istio.networking.v1alpha3.pb.html
+++ b/networking/v1alpha3/istio.networking.v1alpha3.pb.html
@@ -6,7 +6,7 @@
generator: protoc-gen-docs
aliases:
- /docs/reference/config/istio.routing.v1alpha1/
-number_of_entries: 55
+number_of_entries: 59
---
Configuration affecting traffic routing. Here are a few terms useful to define
in the context of traffic routing.
@@ -37,6 +37,40 @@
application code to decouple itself from the evolution of dependent
services.
+ConfigScope
+
+ConfigScope defines the visibility of an Istio configuration artifact in
+a namespace when the namespace is imported. By default all
+configuration artifacts are public. Configurations with private scope
+will not be imported when the namespace containing the configuration is
+imported in a NetworkScope.
+
+
+
+
+| Name |
+Description |
+
+
+
+
+PUBLIC |
+
+ Config with this scope are visible to all workloads in the mesh
+
+ |
+
+
+PRIVATE |
+
+ Configs with this scope are visible to only workloads in the same
+namespace as the configuration resource.
+
+ |
+
+
+
+
ConnectionPoolSettings
Connection pool settings for an upstream host. The settings apply to
@@ -628,6 +662,17 @@
DestinationRule
One or more named sets that represent individual versions of a
service. Traffic policies can be overridden at subset level.
+
+
+
+configScope |
+ConfigScope |
+
+ The visibility setting associated with this DestinationRule. Set to
+PRIVATE if this destination rule should not be exported, i.e. restrict
+the applicability of this destination rule to only workloads in the same
+namespace as the destination rule.
+
|
@@ -1044,6 +1089,7 @@ Gateway
kind: Gateway
metadata:
name: my-gateway
+ namespace: some-config-namespace
spec:
selector:
app: my-gateway-controller
@@ -1101,13 +1147,14 @@ Gateway
kind: VirtualService
metadata:
name: bookinfo-rule
+ namespace: bookinfo-namespace
spec:
hosts:
- reviews.prod.svc.cluster.local
- uk.bookinfo.com
- eu.bookinfo.com
gateways:
- - my-gateway
+ - some-config-namespace/my-gateway
- mesh # applies to all the sidecars in the mesh
http:
- match:
@@ -1142,11 +1189,13 @@ Gateway
kind: VirtualService
metadata:
name: bookinfo-Mongo
+ namespace: bookinfo-namespace
spec:
hosts:
- mongosvr.prod.svc.cluster.local #name of internal Mongo service
gateways:
- - my-gateway
+ - some-config-namespace/my-gateway # can omit the namespace if gateway is in same
+ namespace as virtual service.
tcp:
- match:
- port: 27017
@@ -2353,6 +2402,186 @@ LoadBalancerSettings.SimpleLB
advanced use cases. Refer to Original Destination load balancer in
Envoy for further details.
+
+
+
+
+
+NetworkScope
+
+NetworkScope describes the set of services that a workload depends on
+for its operation. In other words, it describes the properties of
+outgoing traffic from a given workload. By default, the service mesh
+established by Istio will have a full mesh connectivity - i.e. every
+workload will have proxy configuration required to reach every other
+workload in the mesh. However most connectivity graphs are sparse in
+practice. The NetworkScope provides a way to declare the service
+dependencies associated with each workload such that the amount of
+configuration sent to the sidecars can be scoped to the requisite
+dependencies.
+
+Services and configuration in a mesh are organized into one or more
+namespaces (e.g., a Kubernetes namespace or a CF org/space). Workloads
+in a namespace have an implicit dependency on other workloads in the
+same namespace. In addition, to declare dependencies on workloads in
+other namespaces, a NetworkScope resource has to be specified in the
+current namespace. Each namespace MUST have only one NetworkScope
+resource named “default”. The behavior of the system is undefined if
+more than one NetworkScope resource exists in a given namespace. The set
+of dependencies specified in a NetworkScope resource will be used to
+compute the sidecar configuration for every workload in the namespace.
+
+NOTE 1: If workloads in the mesh depend only on other workloads in the
+same namespace, set defaultNetworkScope.importMode to SAME_NAMESPACE
+in the mesh global config map (in values.yaml).
+
+NOTE 2: To facilitate incremental pruning of the the sidecar
+configuration, the default import mode for the mesh is set to
+ALL_NAMESPACES. In other words, every workload will be able to reach
+every other workload. Adding a NetworkScope resource in a namespace will
+automatically prune the configuration for the workloads in that
+namespace.
+
+The following examples illustrate a few specific use cases of NetworkScope.
+
+The example below delcares a NetworkScope resource in the prod-us1
+namespace that specifies that workloads in the namespace will be able to
+reach the services in the prod-apis namespace only.
+
+apiVersion: networking.istio.io/v1alpha3
+kind: NetworkScope
+metadata:
+ name: default
+ namespace: prod-us1
+spec:
+ dependencies:
+ - imports:
+ - namespace: prod-apis
+
+
+In a mesh where the default network scope is set to SAME_NAMESPACE
+only, if one or more workloads need to be able to reach every other
+service in the mesh (e.g., metrics collection server), the following
+NetworkScope resource can be used to specify such a dependency:
+
+apiVersion: networking.istio.io/v1alpha3
+kind: NetworkScope
+metadata:
+ name: default
+ namespace: metrics-collection
+spec:
+ dependencies:
+ - imports:
+ - namespace: '*'
+
+
+The configuration above will allow workloads in the metrics-collection
+namespace to access service in any namespace while workloads in other
+namespaces will be configured for namespace local access as per the
+global default network scope (SAME_NAMESPACE).
+
+
+
+
+| Field |
+Type |
+Description |
+
+
+
+
+dependencies |
+NetworkScope.Dependency[] |
+
+ REQUIRED. The set of services that workloads in this namespace are
+expected to talk to, in addition to other workloads in the same
+namespace. Dependencies describe the properties of outbound traffic from
+a given workload.
+
+ |
+
+
+
+
+NetworkScope.Dependency
+
+Dependency describes a workload and the set of service dependencies
+for the workload.
+
+
+
+
+| Field |
+Type |
+Description |
+
+
+
+
+imports |
+NetworkScope.Import[] |
+
+ REQUIRED: Import describes the set of namespaces whose exported
+services will be accessed by the workloads selected by the
+sourceWorkloadLabels. The sidecars attached to the workloads will be
+configured with information required to reach other services in the
+same namespace and the imported services. In addition to the
+explicitly specified namespaces, namespaces specified in the global
+mesh config (through defaultNetworkScope.importNamespaces) will also be
+imported.
+
+ |
+
+
+
+
+NetworkScope.Import
+
+Import describes the set of namespaces whose exported services
+(real/virtual) will be accessed by workloads in a given namespace. The
+sidecars attached to the workloads will be configured with information
+required to reach the imported services only. The gateways in the
+current namespace will only honor imported VirtualServices instead of
+every VirtualService that binds itself to the gateway.
+
+Importing a service from a namespace will automatically import the
+exported configuration artifacts associated with the service, such as
+VirtualService, DestinationRule, etc. The service in a namespace can be
+a service in the service registry (e.g., a kubernetes or cloud foundry
+service) or a service specified via ServiceEntry configuration.
+
+NOTE: Only exported services and configuration artifacts from a
+namespace can be imported. Private services/configuration will not be
+imported. See the scope setting associated with VirtualService,
+DestinationRule, ServiceEntry, etc.
+
+
+
+
+| Field |
+Type |
+Description |
+
+
+
+
+namespace |
+string |
+
+ The configuration namespace whose services need to be imported.
+Specify * to import all namespaces. The import can be scoped further
+by specifying individual hosts.
+
+ |
+
+
+host |
+string |
+
+ A FQDN or wildcard prefixed DNS name of the host to import from the
+specified namespace. The hostnames include names of services from the
+service registry as well as those specified in a VirtualService.
+
|
@@ -3234,6 +3463,18 @@ ServiceEntry
One or more endpoints associated with the service.
+ |
+
+
+configScope |
+ConfigScope |
+
+ The visibility setting associated with this service entry. Set to
+PRIVATE if this service should not be visible outside the namespace
+where the service entry was added. The default scope is public,
+i.e. the service added by the service entry will be visible to
+workloads in the entire mesh.
+
|
@@ -4176,6 +4417,17 @@ VirtualService
be applied to any port that is not a HTTP or TLS port. The first rule
matching an incoming request is used.
+
+
+
+configScope |
+ConfigScope |
+
+ The visibility setting associated with this VirtualService. Set to
+PRIVATE if this virtual service should not be exported, i.e. restrict
+the applicability of this virtual service to only workloads in the same
+namespace as the virtual service.
+
|
diff --git a/networking/v1alpha3/network_scope.pb.go b/networking/v1alpha3/network_scope.pb.go
new file mode 100644
index 0000000000..6f6f79d670
--- /dev/null
+++ b/networking/v1alpha3/network_scope.pb.go
@@ -0,0 +1,933 @@
+// Code generated by protoc-gen-gogo. DO NOT EDIT.
+// source: networking/v1alpha3/network_scope.proto
+
+package v1alpha3
+
+import proto "github.com/gogo/protobuf/proto"
+import fmt "fmt"
+import math "math"
+
+import io "io"
+
+// Reference imports to suppress errors if they are not otherwise used.
+var _ = proto.Marshal
+var _ = fmt.Errorf
+var _ = math.Inf
+
+// ConfigScope defines the visibility of an Istio configuration artifact in
+// a namespace when the namespace is imported. By default all
+// configuration artifacts are public. Configurations with private scope
+// will not be imported when the namespace containing the configuration is
+// imported in a NetworkScope.
+type ConfigScope int32
+
+const (
+ // Config with this scope are visible to all workloads in the mesh
+ ConfigScope_PUBLIC ConfigScope = 0
+ // Configs with this scope are visible to only workloads in the same
+ // namespace as the configuration resource.
+ ConfigScope_PRIVATE ConfigScope = 1
+)
+
+var ConfigScope_name = map[int32]string{
+ 0: "PUBLIC",
+ 1: "PRIVATE",
+}
+var ConfigScope_value = map[string]int32{
+ "PUBLIC": 0,
+ "PRIVATE": 1,
+}
+
+func (x ConfigScope) String() string {
+ return proto.EnumName(ConfigScope_name, int32(x))
+}
+func (ConfigScope) EnumDescriptor() ([]byte, []int) { return fileDescriptorNetworkScope, []int{0} }
+
+// `NetworkScope` describes the set of services that a workload depends on
+// for its operation. In other words, it describes the properties of
+// outgoing traffic from a given workload. By default, the service mesh
+// established by Istio will have a full mesh connectivity - i.e. every
+// workload will have proxy configuration required to reach every other
+// workload in the mesh. However most connectivity graphs are sparse in
+// practice. The NetworkScope provides a way to declare the service
+// dependencies associated with each workload such that the amount of
+// configuration sent to the sidecars can be scoped to the requisite
+// dependencies.
+//
+// Services and configuration in a mesh are organized into one or more
+// namespaces (e.g., a Kubernetes namespace or a CF org/space). Workloads
+// in a namespace have an implicit dependency on other workloads in the
+// same namespace. In addition, to declare dependencies on workloads in
+// other namespaces, a NetworkScope resource has to be specified in the
+// current namespace. *_Each namespace MUST have only one NetworkScope
+// resource named "default"_*. The behavior of the system is undefined if
+// more than one NetworkScope resource exists in a given namespace. The set
+// of dependencies specified in a NetworkScope resource will be used to
+// compute the sidecar configuration for every workload in the namespace.
+//
+// NOTE 1: If workloads in the mesh depend only on other workloads in the
+// same namespace, set defaultNetworkScope.importMode to SAME_NAMESPACE
+// in the mesh global config map (in values.yaml).
+//
+// NOTE 2: To facilitate incremental pruning of the the sidecar
+// configuration, the default import mode for the mesh is set to
+// ALL_NAMESPACES. In other words, every workload will be able to reach
+// every other workload. Adding a NetworkScope resource in a namespace will
+// automatically prune the configuration for the workloads in that
+// namespace.
+//
+// The following examples illustrate a few specific use cases of NetworkScope.
+//
+// The example below delcares a NetworkScope resource in the prod-us1
+// namespace that specifies that workloads in the namespace will be able to
+// reach the services in the prod-apis namespace only.
+//
+// ```yaml
+// apiVersion: networking.istio.io/v1alpha3
+// kind: NetworkScope
+// metadata:
+// name: default
+// namespace: prod-us1
+// spec:
+// dependencies:
+// - imports:
+// - namespace: prod-apis
+// ```
+//
+// In a mesh where the default network scope is set to SAME_NAMESPACE
+// only, if one or more workloads need to be able to reach every other
+// service in the mesh (e.g., metrics collection server), the following
+// NetworkScope resource can be used to specify such a dependency:
+//
+// ```yaml
+// apiVersion: networking.istio.io/v1alpha3
+// kind: NetworkScope
+// metadata:
+// name: default
+// namespace: metrics-collection
+// spec:
+// dependencies:
+// - imports:
+// - namespace: '*'
+// ```
+//
+// The configuration above will allow workloads in the metrics-collection
+// namespace to access service in any namespace while workloads in other
+// namespaces will be configured for namespace local access as per the
+// global default network scope (SAME_NAMESPACE).
+//
+type NetworkScope struct {
+ // REQUIRED. The set of services that workloads in this namespace are
+ // expected to talk to, in addition to other workloads in the same
+ // namespace. Dependencies describe the properties of outbound traffic from
+ // a given workload.
+ Dependencies []*NetworkScope_Dependency `protobuf:"bytes,1,rep,name=dependencies" json:"dependencies,omitempty"`
+}
+
+func (m *NetworkScope) Reset() { *m = NetworkScope{} }
+func (m *NetworkScope) String() string { return proto.CompactTextString(m) }
+func (*NetworkScope) ProtoMessage() {}
+func (*NetworkScope) Descriptor() ([]byte, []int) { return fileDescriptorNetworkScope, []int{0} }
+
+func (m *NetworkScope) GetDependencies() []*NetworkScope_Dependency {
+ if m != nil {
+ return m.Dependencies
+ }
+ return nil
+}
+
+// Import describes the set of namespaces whose exported services
+// (real/virtual) will be accessed by workloads in a given namespace. The
+// sidecars attached to the workloads will be configured with information
+// required to reach the imported services only. The gateways in the
+// current namespace will only honor imported VirtualServices instead of
+// every VirtualService that binds itself to the gateway.
+//
+// Importing a service from a namespace will automatically import the
+// exported configuration artifacts associated with the service, such as
+// VirtualService, DestinationRule, etc. The service in a namespace can be
+// a service in the service registry (e.g., a kubernetes or cloud foundry
+// service) or a service specified via ServiceEntry configuration.
+//
+// NOTE: Only exported services and configuration artifacts from a
+// namespace can be imported. Private services/configuration will not be
+// imported. See the scope setting associated with VirtualService,
+// DestinationRule, ServiceEntry, etc.
+type NetworkScope_Import struct {
+ // The configuration namespace whose services need to be imported.
+ // Specify * to import all namespaces. The import can be scoped further
+ // by specifying individual hosts.
+ Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"`
+ // A FQDN or wildcard prefixed DNS name of the host to import from the
+ // specified namespace. The hostnames include names of services from the
+ // service registry as well as those specified in a VirtualService.
+ Host string `protobuf:"bytes,2,opt,name=host,proto3" json:"host,omitempty"`
+}
+
+func (m *NetworkScope_Import) Reset() { *m = NetworkScope_Import{} }
+func (m *NetworkScope_Import) String() string { return proto.CompactTextString(m) }
+func (*NetworkScope_Import) ProtoMessage() {}
+func (*NetworkScope_Import) Descriptor() ([]byte, []int) {
+ return fileDescriptorNetworkScope, []int{0, 0}
+}
+
+func (m *NetworkScope_Import) GetNamespace() string {
+ if m != nil {
+ return m.Namespace
+ }
+ return ""
+}
+
+func (m *NetworkScope_Import) GetHost() string {
+ if m != nil {
+ return m.Host
+ }
+ return ""
+}
+
+// Dependency describes a workload and the set of service dependencies
+// for the workload.
+type NetworkScope_Dependency struct {
+ // [#not-implemented-hide:]
+ // One or more labels that indicate a specific set of pods/VMs on which
+ // this dependency configuration should be applied. The scope of label
+ // search is platform dependent. On Kubernetes, for example, the scope
+ // includes pods running in the namespace in which the NetworkScope
+ // resource is present. If the sourceWorkloadLabels are omitted, the
+ // imports specified will be applicable to all workloads in the current
+ // configuration namespace.
+ // NOTE: source_workload_labels are currently not supported.
+ SourceWorkloadLabels map[string]string `protobuf:"bytes,1,rep,name=source_workload_labels,json=sourceWorkloadLabels" json:"source_workload_labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
+ // REQUIRED: Import describes the set of namespaces whose exported
+ // services will be accessed by the workloads selected by the
+ // sourceWorkloadLabels. The sidecars attached to the workloads will be
+ // configured with information required to reach other services in the
+ // same namespace and the imported services. In addition to the
+ // explicitly specified namespaces, namespaces specified in the global
+ // mesh config (through defaultNetworkScope.importNamespaces) will also be
+ // imported.
+ Imports []*NetworkScope_Import `protobuf:"bytes,2,rep,name=imports" json:"imports,omitempty"`
+}
+
+func (m *NetworkScope_Dependency) Reset() { *m = NetworkScope_Dependency{} }
+func (m *NetworkScope_Dependency) String() string { return proto.CompactTextString(m) }
+func (*NetworkScope_Dependency) ProtoMessage() {}
+func (*NetworkScope_Dependency) Descriptor() ([]byte, []int) {
+ return fileDescriptorNetworkScope, []int{0, 1}
+}
+
+func (m *NetworkScope_Dependency) GetSourceWorkloadLabels() map[string]string {
+ if m != nil {
+ return m.SourceWorkloadLabels
+ }
+ return nil
+}
+
+func (m *NetworkScope_Dependency) GetImports() []*NetworkScope_Import {
+ if m != nil {
+ return m.Imports
+ }
+ return nil
+}
+
+func init() {
+ proto.RegisterType((*NetworkScope)(nil), "istio.networking.v1alpha3.NetworkScope")
+ proto.RegisterType((*NetworkScope_Import)(nil), "istio.networking.v1alpha3.NetworkScope.Import")
+ proto.RegisterType((*NetworkScope_Dependency)(nil), "istio.networking.v1alpha3.NetworkScope.Dependency")
+ proto.RegisterEnum("istio.networking.v1alpha3.ConfigScope", ConfigScope_name, ConfigScope_value)
+}
+func (m *NetworkScope) Marshal() (dAtA []byte, err error) {
+ size := m.Size()
+ dAtA = make([]byte, size)
+ n, err := m.MarshalTo(dAtA)
+ if err != nil {
+ return nil, err
+ }
+ return dAtA[:n], nil
+}
+
+func (m *NetworkScope) MarshalTo(dAtA []byte) (int, error) {
+ var i int
+ _ = i
+ var l int
+ _ = l
+ if len(m.Dependencies) > 0 {
+ for _, msg := range m.Dependencies {
+ dAtA[i] = 0xa
+ i++
+ i = encodeVarintNetworkScope(dAtA, i, uint64(msg.Size()))
+ n, err := msg.MarshalTo(dAtA[i:])
+ if err != nil {
+ return 0, err
+ }
+ i += n
+ }
+ }
+ return i, nil
+}
+
+func (m *NetworkScope_Import) Marshal() (dAtA []byte, err error) {
+ size := m.Size()
+ dAtA = make([]byte, size)
+ n, err := m.MarshalTo(dAtA)
+ if err != nil {
+ return nil, err
+ }
+ return dAtA[:n], nil
+}
+
+func (m *NetworkScope_Import) MarshalTo(dAtA []byte) (int, error) {
+ var i int
+ _ = i
+ var l int
+ _ = l
+ if len(m.Namespace) > 0 {
+ dAtA[i] = 0xa
+ i++
+ i = encodeVarintNetworkScope(dAtA, i, uint64(len(m.Namespace)))
+ i += copy(dAtA[i:], m.Namespace)
+ }
+ if len(m.Host) > 0 {
+ dAtA[i] = 0x12
+ i++
+ i = encodeVarintNetworkScope(dAtA, i, uint64(len(m.Host)))
+ i += copy(dAtA[i:], m.Host)
+ }
+ return i, nil
+}
+
+func (m *NetworkScope_Dependency) Marshal() (dAtA []byte, err error) {
+ size := m.Size()
+ dAtA = make([]byte, size)
+ n, err := m.MarshalTo(dAtA)
+ if err != nil {
+ return nil, err
+ }
+ return dAtA[:n], nil
+}
+
+func (m *NetworkScope_Dependency) MarshalTo(dAtA []byte) (int, error) {
+ var i int
+ _ = i
+ var l int
+ _ = l
+ if len(m.SourceWorkloadLabels) > 0 {
+ for k, _ := range m.SourceWorkloadLabels {
+ dAtA[i] = 0xa
+ i++
+ v := m.SourceWorkloadLabels[k]
+ mapSize := 1 + len(k) + sovNetworkScope(uint64(len(k))) + 1 + len(v) + sovNetworkScope(uint64(len(v)))
+ i = encodeVarintNetworkScope(dAtA, i, uint64(mapSize))
+ dAtA[i] = 0xa
+ i++
+ i = encodeVarintNetworkScope(dAtA, i, uint64(len(k)))
+ i += copy(dAtA[i:], k)
+ dAtA[i] = 0x12
+ i++
+ i = encodeVarintNetworkScope(dAtA, i, uint64(len(v)))
+ i += copy(dAtA[i:], v)
+ }
+ }
+ if len(m.Imports) > 0 {
+ for _, msg := range m.Imports {
+ dAtA[i] = 0x12
+ i++
+ i = encodeVarintNetworkScope(dAtA, i, uint64(msg.Size()))
+ n, err := msg.MarshalTo(dAtA[i:])
+ if err != nil {
+ return 0, err
+ }
+ i += n
+ }
+ }
+ return i, nil
+}
+
+func encodeVarintNetworkScope(dAtA []byte, offset int, v uint64) int {
+ for v >= 1<<7 {
+ dAtA[offset] = uint8(v&0x7f | 0x80)
+ v >>= 7
+ offset++
+ }
+ dAtA[offset] = uint8(v)
+ return offset + 1
+}
+func (m *NetworkScope) Size() (n int) {
+ var l int
+ _ = l
+ if len(m.Dependencies) > 0 {
+ for _, e := range m.Dependencies {
+ l = e.Size()
+ n += 1 + l + sovNetworkScope(uint64(l))
+ }
+ }
+ return n
+}
+
+func (m *NetworkScope_Import) Size() (n int) {
+ var l int
+ _ = l
+ l = len(m.Namespace)
+ if l > 0 {
+ n += 1 + l + sovNetworkScope(uint64(l))
+ }
+ l = len(m.Host)
+ if l > 0 {
+ n += 1 + l + sovNetworkScope(uint64(l))
+ }
+ return n
+}
+
+func (m *NetworkScope_Dependency) Size() (n int) {
+ var l int
+ _ = l
+ if len(m.SourceWorkloadLabels) > 0 {
+ for k, v := range m.SourceWorkloadLabels {
+ _ = k
+ _ = v
+ mapEntrySize := 1 + len(k) + sovNetworkScope(uint64(len(k))) + 1 + len(v) + sovNetworkScope(uint64(len(v)))
+ n += mapEntrySize + 1 + sovNetworkScope(uint64(mapEntrySize))
+ }
+ }
+ if len(m.Imports) > 0 {
+ for _, e := range m.Imports {
+ l = e.Size()
+ n += 1 + l + sovNetworkScope(uint64(l))
+ }
+ }
+ return n
+}
+
+func sovNetworkScope(x uint64) (n int) {
+ for {
+ n++
+ x >>= 7
+ if x == 0 {
+ break
+ }
+ }
+ return n
+}
+func sozNetworkScope(x uint64) (n int) {
+ return sovNetworkScope(uint64((x << 1) ^ uint64((int64(x) >> 63))))
+}
+func (m *NetworkScope) Unmarshal(dAtA []byte) error {
+ l := len(dAtA)
+ iNdEx := 0
+ for iNdEx < l {
+ preIndex := iNdEx
+ var wire uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowNetworkScope
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ wire |= (uint64(b) & 0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ fieldNum := int32(wire >> 3)
+ wireType := int(wire & 0x7)
+ if wireType == 4 {
+ return fmt.Errorf("proto: NetworkScope: wiretype end group for non-group")
+ }
+ if fieldNum <= 0 {
+ return fmt.Errorf("proto: NetworkScope: illegal tag %d (wire type %d)", fieldNum, wire)
+ }
+ switch fieldNum {
+ case 1:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Dependencies", wireType)
+ }
+ var msglen int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowNetworkScope
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ msglen |= (int(b) & 0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ if msglen < 0 {
+ return ErrInvalidLengthNetworkScope
+ }
+ postIndex := iNdEx + msglen
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.Dependencies = append(m.Dependencies, &NetworkScope_Dependency{})
+ if err := m.Dependencies[len(m.Dependencies)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ iNdEx = postIndex
+ default:
+ iNdEx = preIndex
+ skippy, err := skipNetworkScope(dAtA[iNdEx:])
+ if err != nil {
+ return err
+ }
+ if skippy < 0 {
+ return ErrInvalidLengthNetworkScope
+ }
+ if (iNdEx + skippy) > l {
+ return io.ErrUnexpectedEOF
+ }
+ iNdEx += skippy
+ }
+ }
+
+ if iNdEx > l {
+ return io.ErrUnexpectedEOF
+ }
+ return nil
+}
+func (m *NetworkScope_Import) Unmarshal(dAtA []byte) error {
+ l := len(dAtA)
+ iNdEx := 0
+ for iNdEx < l {
+ preIndex := iNdEx
+ var wire uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowNetworkScope
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ wire |= (uint64(b) & 0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ fieldNum := int32(wire >> 3)
+ wireType := int(wire & 0x7)
+ if wireType == 4 {
+ return fmt.Errorf("proto: Import: wiretype end group for non-group")
+ }
+ if fieldNum <= 0 {
+ return fmt.Errorf("proto: Import: illegal tag %d (wire type %d)", fieldNum, wire)
+ }
+ switch fieldNum {
+ case 1:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Namespace", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowNetworkScope
+ }
+ 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 ErrInvalidLengthNetworkScope
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.Namespace = string(dAtA[iNdEx:postIndex])
+ iNdEx = postIndex
+ case 2:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Host", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowNetworkScope
+ }
+ 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 ErrInvalidLengthNetworkScope
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.Host = string(dAtA[iNdEx:postIndex])
+ iNdEx = postIndex
+ default:
+ iNdEx = preIndex
+ skippy, err := skipNetworkScope(dAtA[iNdEx:])
+ if err != nil {
+ return err
+ }
+ if skippy < 0 {
+ return ErrInvalidLengthNetworkScope
+ }
+ if (iNdEx + skippy) > l {
+ return io.ErrUnexpectedEOF
+ }
+ iNdEx += skippy
+ }
+ }
+
+ if iNdEx > l {
+ return io.ErrUnexpectedEOF
+ }
+ return nil
+}
+func (m *NetworkScope_Dependency) Unmarshal(dAtA []byte) error {
+ l := len(dAtA)
+ iNdEx := 0
+ for iNdEx < l {
+ preIndex := iNdEx
+ var wire uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowNetworkScope
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ wire |= (uint64(b) & 0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ fieldNum := int32(wire >> 3)
+ wireType := int(wire & 0x7)
+ if wireType == 4 {
+ return fmt.Errorf("proto: Dependency: wiretype end group for non-group")
+ }
+ if fieldNum <= 0 {
+ return fmt.Errorf("proto: Dependency: illegal tag %d (wire type %d)", fieldNum, wire)
+ }
+ switch fieldNum {
+ case 1:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field SourceWorkloadLabels", wireType)
+ }
+ var msglen int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowNetworkScope
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ msglen |= (int(b) & 0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ if msglen < 0 {
+ return ErrInvalidLengthNetworkScope
+ }
+ postIndex := iNdEx + msglen
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ if m.SourceWorkloadLabels == nil {
+ m.SourceWorkloadLabels = make(map[string]string)
+ }
+ var mapkey string
+ var mapvalue string
+ for iNdEx < postIndex {
+ entryPreIndex := iNdEx
+ var wire uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowNetworkScope
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ wire |= (uint64(b) & 0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ fieldNum := int32(wire >> 3)
+ if fieldNum == 1 {
+ var stringLenmapkey uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowNetworkScope
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ stringLenmapkey |= (uint64(b) & 0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ intStringLenmapkey := int(stringLenmapkey)
+ if intStringLenmapkey < 0 {
+ return ErrInvalidLengthNetworkScope
+ }
+ postStringIndexmapkey := iNdEx + intStringLenmapkey
+ if postStringIndexmapkey > l {
+ return io.ErrUnexpectedEOF
+ }
+ mapkey = string(dAtA[iNdEx:postStringIndexmapkey])
+ iNdEx = postStringIndexmapkey
+ } else if fieldNum == 2 {
+ var stringLenmapvalue uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowNetworkScope
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ stringLenmapvalue |= (uint64(b) & 0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ intStringLenmapvalue := int(stringLenmapvalue)
+ if intStringLenmapvalue < 0 {
+ return ErrInvalidLengthNetworkScope
+ }
+ postStringIndexmapvalue := iNdEx + intStringLenmapvalue
+ if postStringIndexmapvalue > l {
+ return io.ErrUnexpectedEOF
+ }
+ mapvalue = string(dAtA[iNdEx:postStringIndexmapvalue])
+ iNdEx = postStringIndexmapvalue
+ } else {
+ iNdEx = entryPreIndex
+ skippy, err := skipNetworkScope(dAtA[iNdEx:])
+ if err != nil {
+ return err
+ }
+ if skippy < 0 {
+ return ErrInvalidLengthNetworkScope
+ }
+ if (iNdEx + skippy) > postIndex {
+ return io.ErrUnexpectedEOF
+ }
+ iNdEx += skippy
+ }
+ }
+ m.SourceWorkloadLabels[mapkey] = mapvalue
+ iNdEx = postIndex
+ case 2:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Imports", wireType)
+ }
+ var msglen int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowNetworkScope
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ msglen |= (int(b) & 0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ if msglen < 0 {
+ return ErrInvalidLengthNetworkScope
+ }
+ postIndex := iNdEx + msglen
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.Imports = append(m.Imports, &NetworkScope_Import{})
+ if err := m.Imports[len(m.Imports)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ iNdEx = postIndex
+ default:
+ iNdEx = preIndex
+ skippy, err := skipNetworkScope(dAtA[iNdEx:])
+ if err != nil {
+ return err
+ }
+ if skippy < 0 {
+ return ErrInvalidLengthNetworkScope
+ }
+ if (iNdEx + skippy) > l {
+ return io.ErrUnexpectedEOF
+ }
+ iNdEx += skippy
+ }
+ }
+
+ if iNdEx > l {
+ return io.ErrUnexpectedEOF
+ }
+ return nil
+}
+func skipNetworkScope(dAtA []byte) (n int, err error) {
+ l := len(dAtA)
+ iNdEx := 0
+ for iNdEx < l {
+ var wire uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return 0, ErrIntOverflowNetworkScope
+ }
+ if iNdEx >= l {
+ return 0, io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ wire |= (uint64(b) & 0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ wireType := int(wire & 0x7)
+ switch wireType {
+ case 0:
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return 0, ErrIntOverflowNetworkScope
+ }
+ if iNdEx >= l {
+ return 0, io.ErrUnexpectedEOF
+ }
+ iNdEx++
+ if dAtA[iNdEx-1] < 0x80 {
+ break
+ }
+ }
+ return iNdEx, nil
+ case 1:
+ iNdEx += 8
+ return iNdEx, nil
+ case 2:
+ var length int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return 0, ErrIntOverflowNetworkScope
+ }
+ if iNdEx >= l {
+ return 0, io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ length |= (int(b) & 0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ iNdEx += length
+ if length < 0 {
+ return 0, ErrInvalidLengthNetworkScope
+ }
+ return iNdEx, nil
+ case 3:
+ for {
+ var innerWire uint64
+ var start int = iNdEx
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return 0, ErrIntOverflowNetworkScope
+ }
+ if iNdEx >= l {
+ return 0, io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ innerWire |= (uint64(b) & 0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ innerWireType := int(innerWire & 0x7)
+ if innerWireType == 4 {
+ break
+ }
+ next, err := skipNetworkScope(dAtA[start:])
+ if err != nil {
+ return 0, err
+ }
+ iNdEx = start + next
+ }
+ return iNdEx, nil
+ case 4:
+ return iNdEx, nil
+ case 5:
+ iNdEx += 4
+ return iNdEx, nil
+ default:
+ return 0, fmt.Errorf("proto: illegal wireType %d", wireType)
+ }
+ }
+ panic("unreachable")
+}
+
+var (
+ ErrInvalidLengthNetworkScope = fmt.Errorf("proto: negative length found during unmarshaling")
+ ErrIntOverflowNetworkScope = fmt.Errorf("proto: integer overflow")
+)
+
+func init() { proto.RegisterFile("networking/v1alpha3/network_scope.proto", fileDescriptorNetworkScope) }
+
+var fileDescriptorNetworkScope = []byte{
+ // 352 bytes of a gzipped FileDescriptorProto
+ 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x52, 0xcf, 0x4b, 0x2d, 0x29,
+ 0xcf, 0x2f, 0xca, 0xce, 0xcc, 0x4b, 0xd7, 0x2f, 0x33, 0x4c, 0xcc, 0x29, 0xc8, 0x48, 0x34, 0xd6,
+ 0x87, 0x8a, 0xc5, 0x17, 0x27, 0xe7, 0x17, 0xa4, 0xea, 0x15, 0x14, 0xe5, 0x97, 0xe4, 0x0b, 0x49,
+ 0x66, 0x16, 0x97, 0x64, 0xe6, 0xeb, 0x21, 0x94, 0xeb, 0xc1, 0x94, 0x2b, 0x9d, 0x64, 0xe6, 0xe2,
+ 0xf1, 0x83, 0x88, 0x07, 0x83, 0x74, 0x08, 0x85, 0x71, 0xf1, 0xa4, 0xa4, 0x16, 0xa4, 0xe6, 0xa5,
+ 0xa4, 0xe6, 0x25, 0x67, 0xa6, 0x16, 0x4b, 0x30, 0x2a, 0x30, 0x6b, 0x70, 0x1b, 0x19, 0xe9, 0xe1,
+ 0x34, 0x42, 0x0f, 0x59, 0xbb, 0x9e, 0x0b, 0x4c, 0x6f, 0x65, 0x10, 0x8a, 0x39, 0x52, 0x56, 0x5c,
+ 0x6c, 0x9e, 0xb9, 0x05, 0xf9, 0x45, 0x25, 0x42, 0x32, 0x5c, 0x9c, 0x79, 0x89, 0xb9, 0xa9, 0xc5,
+ 0x05, 0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x91, 0x1c, 0xe3, 0x85, 0x47, 0x72, 0x8c, 0x0f, 0x1e, 0xc9, 0x31, 0x46,
+ 0x29, 0x40, 0x9c, 0x9d, 0x99, 0xaf, 0x9f, 0x58, 0x90, 0xa9, 0x8f, 0x25, 0x49, 0x25, 0xb1, 0x81,
+ 0x53, 0x91, 0x31, 0x20, 0x00, 0x00, 0xff, 0xff, 0x64, 0xd5, 0x9b, 0x1f, 0x70, 0x02, 0x00, 0x00,
+}
diff --git a/networking/v1alpha3/network_scope.proto b/networking/v1alpha3/network_scope.proto
new file mode 100644
index 0000000000..e78dbc0322
--- /dev/null
+++ b/networking/v1alpha3/network_scope.proto
@@ -0,0 +1,168 @@
+// Copyright 2018 Istio Authors
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+syntax = "proto3";
+
+package istio.networking.v1alpha3;
+
+option go_package = "istio.io/api/networking/v1alpha3";
+
+// `NetworkScope` describes the set of services that a workload depends on
+// for its operation. In other words, it describes the properties of
+// outgoing traffic from a given workload. By default, the service mesh
+// established by Istio will have a full mesh connectivity - i.e. every
+// workload will have proxy configuration required to reach every other
+// workload in the mesh. However most connectivity graphs are sparse in
+// practice. The NetworkScope provides a way to declare the service
+// dependencies associated with each workload such that the amount of
+// configuration sent to the sidecars can be scoped to the requisite
+// dependencies.
+//
+// Services and configuration in a mesh are organized into one or more
+// namespaces (e.g., a Kubernetes namespace or a CF org/space). Workloads
+// in a namespace have an implicit dependency on other workloads in the
+// same namespace. In addition, to declare dependencies on workloads in
+// other namespaces, a NetworkScope resource has to be specified in the
+// current namespace. *_Each namespace MUST have only one NetworkScope
+// resource named "default"_*. The behavior of the system is undefined if
+// more than one NetworkScope resource exists in a given namespace. The set
+// of dependencies specified in a NetworkScope resource will be used to
+// compute the sidecar configuration for every workload in the namespace.
+//
+// NOTE 1: If workloads in the mesh depend only on other workloads in the
+// same namespace, set defaultNetworkScope.importMode to SAME_NAMESPACE
+// in the mesh global config map (in values.yaml).
+//
+// NOTE 2: To facilitate incremental pruning of the the sidecar
+// configuration, the default import mode for the mesh is set to
+// ALL_NAMESPACES. In other words, every workload will be able to reach
+// every other workload. Adding a NetworkScope resource in a namespace will
+// automatically prune the configuration for the workloads in that
+// namespace.
+//
+// The following examples illustrate a few specific use cases of NetworkScope.
+//
+// The example below delcares a NetworkScope resource in the prod-us1
+// namespace that specifies that workloads in the namespace will be able to
+// reach the services in the prod-apis namespace only.
+//
+// ```yaml
+// apiVersion: networking.istio.io/v1alpha3
+// kind: NetworkScope
+// metadata:
+// name: default
+// namespace: prod-us1
+// spec:
+// dependencies:
+// - imports:
+// - namespace: prod-apis
+// ```
+//
+// In a mesh where the default network scope is set to SAME_NAMESPACE
+// only, if one or more workloads need to be able to reach every other
+// service in the mesh (e.g., metrics collection server), the following
+// NetworkScope resource can be used to specify such a dependency:
+//
+// ```yaml
+// apiVersion: networking.istio.io/v1alpha3
+// kind: NetworkScope
+// metadata:
+// name: default
+// namespace: metrics-collection
+// spec:
+// dependencies:
+// - imports:
+// - namespace: '*'
+// ```
+//
+// The configuration above will allow workloads in the metrics-collection
+// namespace to access service in any namespace while workloads in other
+// namespaces will be configured for namespace local access as per the
+// global default network scope (SAME_NAMESPACE).
+//
+message NetworkScope {
+ // Import describes the set of namespaces whose exported services
+ // (real/virtual) will be accessed by workloads in a given namespace. The
+ // sidecars attached to the workloads will be configured with information
+ // required to reach the imported services only. The gateways in the
+ // current namespace will only honor imported VirtualServices instead of
+ // every VirtualService that binds itself to the gateway.
+ //
+ // Importing a service from a namespace will automatically import the
+ // exported configuration artifacts associated with the service, such as
+ // VirtualService, DestinationRule, etc. The service in a namespace can be
+ // a service in the service registry (e.g., a kubernetes or cloud foundry
+ // service) or a service specified via ServiceEntry configuration.
+ //
+ // NOTE: Only exported services and configuration artifacts from a
+ // namespace can be imported. Private services/configuration will not be
+ // imported. See the scope setting associated with VirtualService,
+ // DestinationRule, ServiceEntry, etc.
+ message Import {
+ // The configuration namespace whose services need to be imported.
+ // Specify * to import all namespaces. The import can be scoped further
+ // by specifying individual hosts.
+ string namespace = 1;
+
+ // A FQDN or wildcard prefixed DNS name of the host to import from the
+ // specified namespace. The hostnames include names of services from the
+ // service registry as well as those specified in a VirtualService.
+ string host = 2;
+ };
+
+ // Dependency describes a workload and the set of service dependencies
+ // for the workload.
+ message Dependency {
+ // [#not-implemented-hide:]
+ // One or more labels that indicate a specific set of pods/VMs on which
+ // this dependency configuration should be applied. The scope of label
+ // search is platform dependent. On Kubernetes, for example, the scope
+ // includes pods running in the namespace in which the NetworkScope
+ // resource is present. If the sourceWorkloadLabels are omitted, the
+ // imports specified will be applicable to all workloads in the current
+ // configuration namespace.
+ // NOTE: source_workload_labels are currently not supported.
+ map source_workload_labels = 1;
+
+ // REQUIRED: Import describes the set of namespaces whose exported
+ // services will be accessed by the workloads selected by the
+ // sourceWorkloadLabels. The sidecars attached to the workloads will be
+ // configured with information required to reach other services in the
+ // same namespace and the imported services. In addition to the
+ // explicitly specified namespaces, namespaces specified in the global
+ // mesh config (through defaultNetworkScope.importNamespaces) will also be
+ // imported.
+ repeated Import imports = 2;
+ };
+
+ // REQUIRED. The set of services that workloads in this namespace are
+ // expected to talk to, in addition to other workloads in the same
+ // namespace. Dependencies describe the properties of outbound traffic from
+ // a given workload.
+ repeated Dependency dependencies = 1;
+}
+
+// ConfigScope defines the visibility of an Istio configuration artifact in
+// a namespace when the namespace is imported. By default all
+// configuration artifacts are public. Configurations with private scope
+// will not be imported when the namespace containing the configuration is
+// imported in a NetworkScope.
+enum ConfigScope {
+ // Config with this scope are visible to all workloads in the mesh
+ PUBLIC = 0;
+
+ // Configs with this scope are visible to only workloads in the same
+ // namespace as the configuration resource.
+ PRIVATE = 1;
+}
diff --git a/networking/v1alpha3/service_entry.pb.go b/networking/v1alpha3/service_entry.pb.go
index faa5471fde..80b70528d2 100644
--- a/networking/v1alpha3/service_entry.pb.go
+++ b/networking/v1alpha3/service_entry.pb.go
@@ -400,6 +400,12 @@ type ServiceEntry struct {
Resolution ServiceEntry_Resolution `protobuf:"varint,5,opt,name=resolution,proto3,enum=istio.networking.v1alpha3.ServiceEntry_Resolution" json:"resolution,omitempty"`
// One or more endpoints associated with the service.
Endpoints []*ServiceEntry_Endpoint `protobuf:"bytes,6,rep,name=endpoints" json:"endpoints,omitempty"`
+ // The visibility setting associated with this service entry. Set to
+ // PRIVATE if this service should not be visible outside the namespace
+ // where the service entry was added. The default scope is public,
+ // i.e. the service added by the service entry will be visible to
+ // workloads in the entire mesh.
+ ConfigScope ConfigScope `protobuf:"varint,7,opt,name=config_scope,json=configScope,proto3,enum=istio.networking.v1alpha3.ConfigScope" json:"config_scope,omitempty"`
}
func (m *ServiceEntry) Reset() { *m = ServiceEntry{} }
@@ -449,6 +455,13 @@ func (m *ServiceEntry) GetEndpoints() []*ServiceEntry_Endpoint {
return nil
}
+func (m *ServiceEntry) GetConfigScope() ConfigScope {
+ if m != nil {
+ return m.ConfigScope
+ }
+ return ConfigScope_PUBLIC
+}
+
// Endpoint defines a network address (IP or hostname) associated with
// the mesh service.
type ServiceEntry_Endpoint struct {
@@ -629,6 +642,11 @@ func (m *ServiceEntry) MarshalTo(dAtA []byte) (int, error) {
i += n
}
}
+ if m.ConfigScope != 0 {
+ dAtA[i] = 0x38
+ i++
+ i = encodeVarintServiceEntry(dAtA, i, uint64(m.ConfigScope))
+ }
return i, nil
}
@@ -748,6 +766,9 @@ func (m *ServiceEntry) Size() (n int) {
n += 1 + l + sovServiceEntry(uint64(l))
}
}
+ if m.ConfigScope != 0 {
+ n += 1 + sovServiceEntry(uint64(m.ConfigScope))
+ }
return n
}
@@ -988,6 +1009,25 @@ func (m *ServiceEntry) Unmarshal(dAtA []byte) error {
return err
}
iNdEx = postIndex
+ case 7:
+ if wireType != 0 {
+ return fmt.Errorf("proto: wrong wireType = %d for field ConfigScope", wireType)
+ }
+ m.ConfigScope = 0
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowServiceEntry
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ m.ConfigScope |= (ConfigScope(b) & 0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
default:
iNdEx = preIndex
skippy, err := skipServiceEntry(dAtA[iNdEx:])
@@ -1498,36 +1538,38 @@ var (
func init() { proto.RegisterFile("networking/v1alpha3/service_entry.proto", fileDescriptorServiceEntry) }
var fileDescriptorServiceEntry = []byte{
- // 481 bytes of a gzipped FileDescriptorProto
- 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x93, 0xdf, 0x6e, 0xd3, 0x30,
- 0x14, 0xc6, 0xe7, 0x66, 0xcd, 0x9a, 0x33, 0x86, 0x82, 0x85, 0x90, 0x89, 0x50, 0x09, 0xbd, 0x21,
- 0x12, 0x52, 0x3a, 0x3a, 0x21, 0x8d, 0x3f, 0x37, 0x03, 0x22, 0x31, 0xa9, 0x04, 0x70, 0x7b, 0x81,
- 0xb8, 0x99, 0xbc, 0xd5, 0x6a, 0xad, 0x45, 0x71, 0x14, 0x7b, 0xad, 0xfa, 0x16, 0x3c, 0x16, 0x97,
- 0xbc, 0x00, 0x12, 0xea, 0x93, 0xa0, 0x3a, 0x4e, 0xd3, 0x8b, 0x01, 0xdb, 0x5d, 0xbe, 0x13, 0x7f,
- 0x3f, 0x1f, 0x7f, 0xc7, 0x86, 0xa7, 0x39, 0xd7, 0x0b, 0x59, 0x5e, 0x8a, 0x7c, 0xda, 0x9f, 0x3f,
- 0x67, 0x59, 0x31, 0x63, 0x47, 0x7d, 0xc5, 0xcb, 0x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ff,
+ 0xff, 0x24, 0xa5, 0x68, 0xd6, 0x73, 0x04, 0x00, 0x00,
}
diff --git a/networking/v1alpha3/service_entry.proto b/networking/v1alpha3/service_entry.proto
index 69bc993da0..de25067bae 100644
--- a/networking/v1alpha3/service_entry.proto
+++ b/networking/v1alpha3/service_entry.proto
@@ -15,6 +15,7 @@
syntax = "proto3";
import "networking/v1alpha3/gateway.proto";
+import "networking/v1alpha3/network_scope.proto";
package istio.networking.v1alpha3;
@@ -427,4 +428,11 @@ message ServiceEntry {
// One or more endpoints associated with the service.
repeated Endpoint endpoints = 6;
+
+ // The visibility setting associated with this service entry. Set to
+ // PRIVATE if this service should not be visible outside the namespace
+ // where the service entry was added. The default scope is public,
+ // i.e. the service added by the service entry will be visible to
+ // workloads in the entire mesh.
+ ConfigScope config_scope = 7;
}
diff --git a/networking/v1alpha3/virtual_service.pb.go b/networking/v1alpha3/virtual_service.pb.go
index 26eca07a01..17c4d44ad4 100644
--- a/networking/v1alpha3/virtual_service.pb.go
+++ b/networking/v1alpha3/virtual_service.pb.go
@@ -134,6 +134,11 @@ type VirtualService struct {
// be applied to any port that is not a HTTP or TLS port. The first rule
// matching an incoming request is used.
Tcp []*TCPRoute `protobuf:"bytes,4,rep,name=tcp" json:"tcp,omitempty"`
+ // The visibility setting associated with this VirtualService. Set to
+ // PRIVATE if this virtual service should not be exported, i.e. restrict
+ // the applicability of this virtual service to only workloads in the same
+ // namespace as the virtual service.
+ ConfigScope ConfigScope `protobuf:"varint,6,opt,name=config_scope,json=configScope,proto3,enum=istio.networking.v1alpha3.ConfigScope" json:"config_scope,omitempty"`
}
func (m *VirtualService) Reset() { *m = VirtualService{} }
@@ -176,6 +181,13 @@ func (m *VirtualService) GetTcp() []*TCPRoute {
return nil
}
+func (m *VirtualService) GetConfigScope() ConfigScope {
+ if m != nil {
+ return m.ConfigScope
+ }
+ return ConfigScope_PUBLIC
+}
+
// Destination indicates the network addressable service to which the
// request/connection will be sent after processing a routing rule. The
// destination.host should unambiguously refer to a service in the service
@@ -2251,6 +2263,11 @@ func (m *VirtualService) MarshalTo(dAtA []byte) (int, error) {
i += n
}
}
+ if m.ConfigScope != 0 {
+ dAtA[i] = 0x30
+ i++
+ i = encodeVarintVirtualService(dAtA, i, uint64(m.ConfigScope))
+ }
return i, nil
}
@@ -3649,6 +3666,9 @@ func (m *VirtualService) Size() (n int) {
n += 1 + l + sovVirtualService(uint64(l))
}
}
+ if m.ConfigScope != 0 {
+ n += 1 + sovVirtualService(uint64(m.ConfigScope))
+ }
return n
}
@@ -4440,6 +4460,25 @@ func (m *VirtualService) Unmarshal(dAtA []byte) error {
return err
}
iNdEx = postIndex
+ case 6:
+ if wireType != 0 {
+ return fmt.Errorf("proto: wrong wireType = %d for field ConfigScope", wireType)
+ }
+ m.ConfigScope = 0
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowVirtualService
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ m.ConfigScope |= (ConfigScope(b) & 0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
default:
iNdEx = preIndex
skippy, err := skipVirtualService(dAtA[iNdEx:])
@@ -9092,116 +9131,119 @@ func init() {
}
var fileDescriptorVirtualService = []byte{
- // 1771 bytes of a gzipped FileDescriptorProto
- 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x59, 0x4f, 0x73, 0xdb, 0xc6,
- 0x15, 0x37, 0x48, 0x82, 0x7f, 0x1e, 0x29, 0x99, 0xda, 0xca, 0x32, 0xc4, 0x7a, 0x54, 0x99, 0xae,
- 0x5b, 0x75, 0x5c, 0x93, 0x53, 0xa9, 0x75, 0x35, 0xae, 0x2c, 0x9b, 0x94, 0x6c, 0xd3, 0x1d, 0xbb,
- 0xd2, 0x80, 0xaa, 0x0f, 0xbd, 0x70, 0x40, 0x60, 0x45, 0xa2, 0x06, 0x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, 0x11, 0x49, 0x42, 0x1a, 0xd8, 0xe4, 0x42, 0x84, 0x01,
+ 0xba, 0x26, 0xe6, 0xed, 0xbb, 0x52, 0x22, 0xc2, 0x27, 0x9f, 0xf2, 0xe6, 0xdc, 0x9b, 0x38, 0x67,
+ 0x1d, 0x80, 0x6f, 0x20, 0xd2, 0xc7, 0x33, 0xa8, 0x67, 0x5b, 0xc9, 0x2c, 0x1d, 0xf9, 0xf1, 0x74,
+ 0x84, 0x09, 0x3f, 0xe7, 0x16, 0x4b, 0x47, 0x62, 0x8c, 0x76, 0xa1, 0xe4, 0x5b, 0xf2, 0x4b, 0x8c,
+ 0xd9, 0xc5, 0x47, 0xfd, 0xb2, 0x28, 0x30, 0xad, 0x6f, 0x41, 0x45, 0x6e, 0xb6, 0xc8, 0xc8, 0x4c,
+ 0x83, 0x22, 0x33, 0x72, 0xbf, 0xfd, 0xb7, 0xd7, 0x0f, 0x94, 0x7f, 0xbc, 0x7e, 0xa0, 0xbc, 0x7a,
+ 0xfd, 0x40, 0xf9, 0xd9, 0x9e, 0xb0, 0xd9, 0x0d, 0x3a, 0x56, 0xe8, 0x76, 0xae, 0xf9, 0x8f, 0xc4,
+ 0xa8, 0xcc, 0x6f, 0xfe, 0xe1, 0x7f, 0x02, 0x00, 0x00, 0xff, 0xff, 0xcb, 0x93, 0xb9, 0x9e, 0x35,
+ 0x19, 0x00, 0x00,
}
diff --git a/networking/v1alpha3/virtual_service.proto b/networking/v1alpha3/virtual_service.proto
index 946dca69e2..3f0e74e5b5 100644
--- a/networking/v1alpha3/virtual_service.proto
+++ b/networking/v1alpha3/virtual_service.proto
@@ -17,6 +17,8 @@ syntax = "proto3";
import "google/protobuf/duration.proto";
import "google/protobuf/wrappers.proto";
+import "networking/v1alpha3/network_scope.proto";
+
// $title: Traffic Routing
// $description: Configuration affecting traffic routing.
// $location: https://istio.io/docs/reference/config/istio.networking.v1alpha3.html
@@ -175,6 +177,12 @@ message VirtualService {
// be applied to any port that is not a HTTP or TLS port. The first rule
// matching an incoming request is used.
repeated TCPRoute tcp = 4;
+
+ // The visibility setting associated with this VirtualService. Set to
+ // PRIVATE if this virtual service should not be exported, i.e. restrict
+ // the applicability of this virtual service to only workloads in the same
+ // namespace as the virtual service.
+ ConfigScope config_scope = 6;
}
// Destination indicates the network addressable service to which the
diff --git a/proto.lock b/proto.lock
index 9002723a2f..633c8f8014 100644
--- a/proto.lock
+++ b/proto.lock
@@ -690,6 +690,19 @@
"integer": 2
}
]
+ },
+ {
+ "name": "DefaultNetworkScope.Mode",
+ "enum_fields": [
+ {
+ "name": "ALL_NAMESPACES",
+ "integer": 0
+ },
+ {
+ "name": "SAME_NAMESPACE",
+ "integer": 1
+ }
+ ]
}
],
"messages": [
@@ -826,6 +839,11 @@
"id": 26,
"name": "trust_domain",
"type": "string"
+ },
+ {
+ "id": 29,
+ "name": "default_network_scope",
+ "type": "DefaultNetworkScope"
}
],
"reserved_ids": [
@@ -842,6 +860,22 @@
"type": "Mode"
}
]
+ },
+ {
+ "name": "DefaultNetworkScope",
+ "fields": [
+ {
+ "id": 1,
+ "name": "import_mode",
+ "type": "Mode"
+ },
+ {
+ "id": 2,
+ "name": "import_namespaces",
+ "type": "string",
+ "is_repeated": true
+ }
+ ]
}
]
},
@@ -2447,6 +2481,11 @@
"name": "subsets",
"type": "Subset",
"is_repeated": true
+ },
+ {
+ "id": 4,
+ "name": "config_scope",
+ "type": "ConfigScope"
}
]
},
@@ -3110,6 +3149,77 @@
]
}
},
+ {
+ "protopath": "networking:/:v1alpha3:/:network_scope.proto",
+ "def": {
+ "enums": [
+ {
+ "name": "ConfigScope",
+ "enum_fields": [
+ {
+ "name": "PUBLIC",
+ "integer": 0
+ },
+ {
+ "name": "PRIVATE",
+ "integer": 1
+ }
+ ]
+ }
+ ],
+ "messages": [
+ {
+ "name": "NetworkScope",
+ "fields": [
+ {
+ "id": 1,
+ "name": "dependencies",
+ "type": "Dependency",
+ "is_repeated": true
+ }
+ ],
+ "messages": [
+ {
+ "name": "Import",
+ "fields": [
+ {
+ "id": 1,
+ "name": "namespace",
+ "type": "string"
+ },
+ {
+ "id": 2,
+ "name": "host",
+ "type": "string"
+ }
+ ]
+ },
+ {
+ "name": "Dependency",
+ "fields": [
+ {
+ "id": 2,
+ "name": "imports",
+ "type": "Import",
+ "is_repeated": true
+ }
+ ],
+ "maps": [
+ {
+ "key_type": "string",
+ "field": {
+ "id": 1,
+ "name": "source_workload_labels",
+ "type": "string"
+ }
+ }
+ ]
+ }
+ ]
+ }
+ ]
+ }
+ },
{
"protopath": "networking:/:v1alpha3:/:service_entry.proto",
"def": {
@@ -3182,6 +3292,11 @@
"name": "endpoints",
"type": "Endpoint",
"is_repeated": true
+ },
+ {
+ "id": 7,
+ "name": "config_scope",
+ "type": "ConfigScope"
}
],
"messages": [
@@ -3269,6 +3384,11 @@
"name": "tcp",
"type": "TCPRoute",
"is_repeated": true
+ },
+ {
+ "id": 6,
+ "name": "config_scope",
+ "type": "ConfigScope"
}
]
},
diff --git a/python/istio_api/mesh/v1alpha1/config_pb2.py b/python/istio_api/mesh/v1alpha1/config_pb2.py
index 4a48e30acd..f5462a765d 100644
--- a/python/istio_api/mesh/v1alpha1/config_pb2.py
+++ b/python/istio_api/mesh/v1alpha1/config_pb2.py
@@ -22,7 +22,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\x1a*networking/v1alpha3/destination_rule.proto\"\xdd\x0b\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\x61\n\rtcp_keepalive\x18\x1c \x01(\x0b\x32J.istio.networking.v1alpha3.ConnectionPoolSettings.TCPSettings.TcpKeepalive\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\x38\n\x11rds_refresh_delay\x18\x0b \x01(\x0b\x32\x19.google.protobuf.DurationB\x02\x18\x01\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\x12N\n\x13\x61\x63\x63\x65ss_log_encoding\x18\x1b \x01(\x0e\x32\x31.istio.mesh.v1alpha1.MeshConfig.AccessLogEncoding\x12\x38\n\x0e\x64\x65\x66\x61ult_config\x18\x0e \x01(\x0b\x32 .istio.mesh.v1alpha1.ProxyConfig\x12\x19\n\rmixer_address\x18\x10 \x01(\tB\x02\x18\x01\x12Z\n\x17outbound_traffic_policy\x18\x11 \x01(\x0b\x32\x35.istio.mesh.v1alpha1.MeshConfig.OutboundTrafficPolicyB\x02\x18\x01\x12\'\n\x1f\x65nable_client_side_policy_check\x18\x13 \x01(\x08\x12\x14\n\x0csds_uds_path\x18\x14 \x01(\t\x12\x38\n\x11sds_refresh_delay\x18\x15 \x01(\x0b\x32\x19.google.protobuf.DurationB\x02\x18\x01\x12\x39\n\x0e\x63onfig_sources\x18\x16 \x03(\x0b\x32!.istio.mesh.v1alpha1.ConfigSource\x12\x1e\n\x16\x65nable_sds_token_mount\x18\x17 \x01(\x08\x12\x14\n\x0ctrust_domain\x18\x1a \x01(\t\x1a\xb5\x01\n\x15OutboundTrafficPolicy\x12L\n\x04mode\x18\x01 \x01(\x0e\x32:.istio.mesh.v1alpha1.MeshConfig.OutboundTrafficPolicy.ModeB\x02\x18\x01\"N\n\x04Mode\x12\x15\n\rREGISTRY_ONLY\x10\x00\x1a\x02\x08\x01\x12\x11\n\tALLOW_ANY\x10\x01\x1a\x02\x08\x01\x12\x1c\n\x14VIRTUAL_SERVICE_ONLY\x10\x02\x1a\x02\x08\x01\"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\x11\x41\x63\x63\x65ssLogEncoding\x12\x08\n\x04TEXT\x10\x00\x12\x08\n\x04JSON\x10\x01J\x04\x08\x0f\x10\x10J\x04\x08\x12\x10\x13\"]\n\x0c\x43onfigSource\x12\x0f\n\x07\x61\x64\x64ress\x18\x01 \x01(\t\x12<\n\x0ctls_settings\x18\x02 \x01(\x0b\x32&.istio.networking.v1alpha3.TLSSettingsB\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\x1a*networking/v1alpha3/destination_rule.proto\"\xe3\r\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\x61\n\rtcp_keepalive\x18\x1c \x01(\x0b\x32J.istio.networking.v1alpha3.ConnectionPoolSettings.TCPSettings.TcpKeepalive\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\x38\n\x11rds_refresh_delay\x18\x0b \x01(\x0b\x32\x19.google.protobuf.DurationB\x02\x18\x01\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\x12N\n\x13\x61\x63\x63\x65ss_log_encoding\x18\x1b \x01(\x0e\x32\x31.istio.mesh.v1alpha1.MeshConfig.AccessLogEncoding\x12\x38\n\x0e\x64\x65\x66\x61ult_config\x18\x0e \x01(\x0b\x32 .istio.mesh.v1alpha1.ProxyConfig\x12\x19\n\rmixer_address\x18\x10 \x01(\tB\x02\x18\x01\x12Z\n\x17outbound_traffic_policy\x18\x11 \x01(\x0b\x32\x35.istio.mesh.v1alpha1.MeshConfig.OutboundTrafficPolicyB\x02\x18\x01\x12\'\n\x1f\x65nable_client_side_policy_check\x18\x13 \x01(\x08\x12\x14\n\x0csds_uds_path\x18\x14 \x01(\t\x12\x38\n\x11sds_refresh_delay\x18\x15 \x01(\x0b\x32\x19.google.protobuf.DurationB\x02\x18\x01\x12\x39\n\x0e\x63onfig_sources\x18\x16 \x03(\x0b\x32!.istio.mesh.v1alpha1.ConfigSource\x12\x1e\n\x16\x65nable_sds_token_mount\x18\x17 \x01(\x08\x12\x14\n\x0ctrust_domain\x18\x1a \x01(\t\x12R\n\x15\x64\x65\x66\x61ult_network_scope\x18\x1d \x01(\x0b\x32\x33.istio.mesh.v1alpha1.MeshConfig.DefaultNetworkScope\x1a\xb5\x01\n\x15OutboundTrafficPolicy\x12L\n\x04mode\x18\x01 \x01(\x0e\x32:.istio.mesh.v1alpha1.MeshConfig.OutboundTrafficPolicy.ModeB\x02\x18\x01\"N\n\x04Mode\x12\x15\n\rREGISTRY_ONLY\x10\x00\x1a\x02\x08\x01\x12\x11\n\tALLOW_ANY\x10\x01\x1a\x02\x08\x01\x12\x1c\n\x14VIRTUAL_SERVICE_ONLY\x10\x02\x1a\x02\x08\x01\x1a\xaf\x01\n\x13\x44\x65\x66\x61ultNetworkScope\x12M\n\x0bimport_mode\x18\x01 \x01(\x0e\x32\x38.istio.mesh.v1alpha1.MeshConfig.DefaultNetworkScope.Mode\x12\x19\n\x11import_namespaces\x18\x02 \x03(\t\".\n\x04Mode\x12\x12\n\x0e\x41LL_NAMESPACES\x10\x00\x12\x12\n\x0eSAME_NAMESPACE\x10\x01\"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\x11\x41\x63\x63\x65ssLogEncoding\x12\x08\n\x04TEXT\x10\x00\x12\x08\n\x04JSON\x10\x01J\x04\x08\x0f\x10\x10J\x04\x08\x12\x10\x13\"]\n\x0c\x43onfigSource\x12\x0f\n\x07\x61\x64\x64ress\x18\x01 \x01(\t\x12<\n\x0ctls_settings\x18\x02 \x01(\x0b\x32&.istio.networking.v1alpha3.TLSSettingsB\x1cZ\x1aistio.io/api/mesh/v1alpha1b\x06proto3')
,
dependencies=[google_dot_protobuf_dot_duration__pb2.DESCRIPTOR,mesh_dot_v1alpha1_dot_proxy__pb2.DESCRIPTOR,networking_dot_v1alpha3_dot_destination__rule__pb2.DESCRIPTOR,])
@@ -49,11 +49,33 @@
],
containing_type=None,
options=None,
- serialized_start=1426,
- serialized_end=1504,
+ serialized_start=1510,
+ serialized_end=1588,
)
_sym_db.RegisterEnumDescriptor(_MESHCONFIG_OUTBOUNDTRAFFICPOLICY_MODE)
+_MESHCONFIG_DEFAULTNETWORKSCOPE_MODE = _descriptor.EnumDescriptor(
+ name='Mode',
+ full_name='istio.mesh.v1alpha1.MeshConfig.DefaultNetworkScope.Mode',
+ filename=None,
+ file=DESCRIPTOR,
+ values=[
+ _descriptor.EnumValueDescriptor(
+ name='ALL_NAMESPACES', index=0, number=0,
+ options=None,
+ type=None),
+ _descriptor.EnumValueDescriptor(
+ name='SAME_NAMESPACE', index=1, number=1,
+ options=None,
+ type=None),
+ ],
+ containing_type=None,
+ options=None,
+ serialized_start=1720,
+ serialized_end=1766,
+)
+_sym_db.RegisterEnumDescriptor(_MESHCONFIG_DEFAULTNETWORKSCOPE_MODE)
+
_MESHCONFIG_INGRESSCONTROLLERMODE = _descriptor.EnumDescriptor(
name='IngressControllerMode',
full_name='istio.mesh.v1alpha1.MeshConfig.IngressControllerMode',
@@ -75,8 +97,8 @@
],
containing_type=None,
options=None,
- serialized_start=1506,
- serialized_end=1563,
+ serialized_start=1768,
+ serialized_end=1825,
)
_sym_db.RegisterEnumDescriptor(_MESHCONFIG_INGRESSCONTROLLERMODE)
@@ -97,8 +119,8 @@
],
containing_type=None,
options=None,
- serialized_start=1565,
- serialized_end=1603,
+ serialized_start=1827,
+ serialized_end=1865,
)
_sym_db.RegisterEnumDescriptor(_MESHCONFIG_AUTHPOLICY)
@@ -119,8 +141,8 @@
],
containing_type=None,
options=None,
- serialized_start=1605,
- serialized_end=1644,
+ serialized_start=1867,
+ serialized_end=1906,
)
_sym_db.RegisterEnumDescriptor(_MESHCONFIG_ACCESSLOGENCODING)
@@ -152,8 +174,46 @@
extension_ranges=[],
oneofs=[
],
- serialized_start=1323,
- serialized_end=1504,
+ serialized_start=1407,
+ serialized_end=1588,
+)
+
+_MESHCONFIG_DEFAULTNETWORKSCOPE = _descriptor.Descriptor(
+ name='DefaultNetworkScope',
+ full_name='istio.mesh.v1alpha1.MeshConfig.DefaultNetworkScope',
+ filename=None,
+ file=DESCRIPTOR,
+ containing_type=None,
+ fields=[
+ _descriptor.FieldDescriptor(
+ name='import_mode', full_name='istio.mesh.v1alpha1.MeshConfig.DefaultNetworkScope.import_mode', index=0,
+ number=1, 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='import_namespaces', full_name='istio.mesh.v1alpha1.MeshConfig.DefaultNetworkScope.import_namespaces', index=1,
+ number=2, type=9, cpp_type=9, label=3,
+ has_default_value=False, default_value=[],
+ message_type=None, enum_type=None, containing_type=None,
+ is_extension=False, extension_scope=None,
+ options=None, file=DESCRIPTOR),
+ ],
+ extensions=[
+ ],
+ nested_types=[],
+ enum_types=[
+ _MESHCONFIG_DEFAULTNETWORKSCOPE_MODE,
+ ],
+ options=None,
+ is_extendable=False,
+ syntax='proto3',
+ extension_ranges=[],
+ oneofs=[
+ ],
+ serialized_start=1591,
+ serialized_end=1766,
)
_MESHCONFIG = _descriptor.Descriptor(
@@ -345,10 +405,17 @@
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None, file=DESCRIPTOR),
+ _descriptor.FieldDescriptor(
+ name='default_network_scope', full_name='istio.mesh.v1alpha1.MeshConfig.default_network_scope', index=26,
+ number=29, 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),
],
extensions=[
],
- nested_types=[_MESHCONFIG_OUTBOUNDTRAFFICPOLICY, ],
+ nested_types=[_MESHCONFIG_OUTBOUNDTRAFFICPOLICY, _MESHCONFIG_DEFAULTNETWORKSCOPE, ],
enum_types=[
_MESHCONFIG_INGRESSCONTROLLERMODE,
_MESHCONFIG_AUTHPOLICY,
@@ -361,7 +428,7 @@
oneofs=[
],
serialized_start=155,
- serialized_end=1656,
+ serialized_end=1918,
)
@@ -398,13 +465,16 @@
extension_ranges=[],
oneofs=[
],
- serialized_start=1658,
- serialized_end=1751,
+ serialized_start=1920,
+ serialized_end=2013,
)
_MESHCONFIG_OUTBOUNDTRAFFICPOLICY.fields_by_name['mode'].enum_type = _MESHCONFIG_OUTBOUNDTRAFFICPOLICY_MODE
_MESHCONFIG_OUTBOUNDTRAFFICPOLICY.containing_type = _MESHCONFIG
_MESHCONFIG_OUTBOUNDTRAFFICPOLICY_MODE.containing_type = _MESHCONFIG_OUTBOUNDTRAFFICPOLICY
+_MESHCONFIG_DEFAULTNETWORKSCOPE.fields_by_name['import_mode'].enum_type = _MESHCONFIG_DEFAULTNETWORKSCOPE_MODE
+_MESHCONFIG_DEFAULTNETWORKSCOPE.containing_type = _MESHCONFIG
+_MESHCONFIG_DEFAULTNETWORKSCOPE_MODE.containing_type = _MESHCONFIG_DEFAULTNETWORKSCOPE
_MESHCONFIG.fields_by_name['connect_timeout'].message_type = google_dot_protobuf_dot_duration__pb2._DURATION
_MESHCONFIG.fields_by_name['tcp_keepalive'].message_type = networking_dot_v1alpha3_dot_destination__rule__pb2._CONNECTIONPOOLSETTINGS_TCPSETTINGS_TCPKEEPALIVE
_MESHCONFIG.fields_by_name['ingress_controller_mode'].enum_type = _MESHCONFIG_INGRESSCONTROLLERMODE
@@ -415,6 +485,7 @@
_MESHCONFIG.fields_by_name['outbound_traffic_policy'].message_type = _MESHCONFIG_OUTBOUNDTRAFFICPOLICY
_MESHCONFIG.fields_by_name['sds_refresh_delay'].message_type = google_dot_protobuf_dot_duration__pb2._DURATION
_MESHCONFIG.fields_by_name['config_sources'].message_type = _CONFIGSOURCE
+_MESHCONFIG.fields_by_name['default_network_scope'].message_type = _MESHCONFIG_DEFAULTNETWORKSCOPE
_MESHCONFIG_INGRESSCONTROLLERMODE.containing_type = _MESHCONFIG
_MESHCONFIG_AUTHPOLICY.containing_type = _MESHCONFIG
_MESHCONFIG_ACCESSLOGENCODING.containing_type = _MESHCONFIG
@@ -431,12 +502,20 @@
# @@protoc_insertion_point(class_scope:istio.mesh.v1alpha1.MeshConfig.OutboundTrafficPolicy)
))
,
+
+ DefaultNetworkScope = _reflection.GeneratedProtocolMessageType('DefaultNetworkScope', (_message.Message,), dict(
+ DESCRIPTOR = _MESHCONFIG_DEFAULTNETWORKSCOPE,
+ __module__ = 'mesh.v1alpha1.config_pb2'
+ # @@protoc_insertion_point(class_scope:istio.mesh.v1alpha1.MeshConfig.DefaultNetworkScope)
+ ))
+ ,
DESCRIPTOR = _MESHCONFIG,
__module__ = 'mesh.v1alpha1.config_pb2'
# @@protoc_insertion_point(class_scope:istio.mesh.v1alpha1.MeshConfig)
))
_sym_db.RegisterMessage(MeshConfig)
_sym_db.RegisterMessage(MeshConfig.OutboundTrafficPolicy)
+_sym_db.RegisterMessage(MeshConfig.DefaultNetworkScope)
ConfigSource = _reflection.GeneratedProtocolMessageType('ConfigSource', (_message.Message,), dict(
DESCRIPTOR = _CONFIGSOURCE,
diff --git a/python/istio_api/networking/v1alpha3/destination_rule_pb2.py b/python/istio_api/networking/v1alpha3/destination_rule_pb2.py
index e352885f81..23e08904dc 100644
--- a/python/istio_api/networking/v1alpha3/destination_rule_pb2.py
+++ b/python/istio_api/networking/v1alpha3/destination_rule_pb2.py
@@ -15,6 +15,7 @@
from google.protobuf import duration_pb2 as google_dot_protobuf_dot_duration__pb2
from networking.v1alpha3 import virtual_service_pb2 as networking_dot_v1alpha3_dot_virtual__service__pb2
+from networking.v1alpha3 import network_scope_pb2 as networking_dot_v1alpha3_dot_network__scope__pb2
from gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2
@@ -22,9 +23,9 @@
name='networking/v1alpha3/destination_rule.proto',
package='istio.networking.v1alpha3',
syntax='proto3',
- serialized_pb=_b('\n*networking/v1alpha3/destination_rule.proto\x12\x19istio.networking.v1alpha3\x1a\x1egoogle/protobuf/duration.proto\x1a)networking/v1alpha3/virtual_service.proto\x1a\x14gogoproto/gogo.proto\"\x95\x01\n\x0f\x44\x65stinationRule\x12\x0c\n\x04host\x18\x01 \x01(\t\x12@\n\x0etraffic_policy\x18\x02 \x01(\x0b\x32(.istio.networking.v1alpha3.TrafficPolicy\x12\x32\n\x07subsets\x18\x03 \x03(\x0b\x32!.istio.networking.v1alpha3.Subset\"\xd7\x05\n\rTrafficPolicy\x12\x46\n\rload_balancer\x18\x01 \x01(\x0b\x32/.istio.networking.v1alpha3.LoadBalancerSettings\x12J\n\x0f\x63onnection_pool\x18\x02 \x01(\x0b\x32\x31.istio.networking.v1alpha3.ConnectionPoolSettings\x12\x46\n\x11outlier_detection\x18\x03 \x01(\x0b\x32+.istio.networking.v1alpha3.OutlierDetection\x12\x33\n\x03tls\x18\x04 \x01(\x0b\x32&.istio.networking.v1alpha3.TLSSettings\x12W\n\x13port_level_settings\x18\x05 \x03(\x0b\x32:.istio.networking.v1alpha3.TrafficPolicy.PortTrafficPolicy\x1a\xdb\x02\n\x11PortTrafficPolicy\x12\x35\n\x04port\x18\x01 \x01(\x0b\x32\'.istio.networking.v1alpha3.PortSelector\x12\x46\n\rload_balancer\x18\x02 \x01(\x0b\x32/.istio.networking.v1alpha3.LoadBalancerSettings\x12J\n\x0f\x63onnection_pool\x18\x03 \x01(\x0b\x32\x31.istio.networking.v1alpha3.ConnectionPoolSettings\x12\x46\n\x11outlier_detection\x18\x04 \x01(\x0b\x32+.istio.networking.v1alpha3.OutlierDetection\x12\x33\n\x03tls\x18\x05 \x01(\x0b\x32&.istio.networking.v1alpha3.TLSSettings\"\xc6\x01\n\x06Subset\x12\x0c\n\x04name\x18\x01 \x01(\t\x12=\n\x06labels\x18\x02 \x03(\x0b\x32-.istio.networking.v1alpha3.Subset.LabelsEntry\x12@\n\x0etraffic_policy\x18\x03 \x01(\x0b\x32(.istio.networking.v1alpha3.TrafficPolicy\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\xc3\x04\n\x14LoadBalancerSettings\x12J\n\x06simple\x18\x01 \x01(\x0e\x32\x38.istio.networking.v1alpha3.LoadBalancerSettings.SimpleLBH\x00\x12[\n\x0f\x63onsistent_hash\x18\x02 \x01(\x0b\x32@.istio.networking.v1alpha3.LoadBalancerSettings.ConsistentHashLBH\x00\x1a\xaa\x02\n\x10\x43onsistentHashLB\x12\x1a\n\x10http_header_name\x18\x01 \x01(\tH\x00\x12\x62\n\x0bhttp_cookie\x18\x02 \x01(\x0b\x32K.istio.networking.v1alpha3.LoadBalancerSettings.ConsistentHashLB.HTTPCookieH\x00\x12\x17\n\ruse_source_ip\x18\x03 \x01(\x08H\x00\x12\x19\n\x11minimum_ring_size\x18\x04 \x01(\x04\x1aV\n\nHTTPCookie\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0c\n\x04path\x18\x02 \x01(\t\x12,\n\x03ttl\x18\x03 \x01(\x0b\x32\x19.google.protobuf.DurationB\x04\x98\xdf\x1f\x01\x42\n\n\x08hash_key\"H\n\x08SimpleLB\x12\x0f\n\x0bROUND_ROBIN\x10\x00\x12\x0e\n\nLEAST_CONN\x10\x01\x12\n\n\x06RANDOM\x10\x02\x12\x0f\n\x0bPASSTHROUGH\x10\x03\x42\x0b\n\tlb_policy\"\xf3\x04\n\x16\x43onnectionPoolSettings\x12J\n\x03tcp\x18\x01 \x01(\x0b\x32=.istio.networking.v1alpha3.ConnectionPoolSettings.TCPSettings\x12L\n\x04http\x18\x02 \x01(\x0b\x32>.istio.networking.v1alpha3.ConnectionPoolSettings.HTTPSettings\x1a\xb3\x02\n\x0bTCPSettings\x12\x17\n\x0fmax_connections\x18\x01 \x01(\x05\x12\x32\n\x0f\x63onnect_timeout\x18\x02 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x61\n\rtcp_keepalive\x18\x03 \x01(\x0b\x32J.istio.networking.v1alpha3.ConnectionPoolSettings.TCPSettings.TcpKeepalive\x1at\n\x0cTcpKeepalive\x12\x0e\n\x06probes\x18\x01 \x01(\r\x12\'\n\x04time\x18\x02 \x01(\x0b\x32\x19.google.protobuf.Duration\x12+\n\x08interval\x18\x03 \x01(\x0b\x32\x19.google.protobuf.Duration\x1a\x88\x01\n\x0cHTTPSettings\x12\"\n\x1ahttp1_max_pending_requests\x18\x01 \x01(\x05\x12\x1a\n\x12http2_max_requests\x18\x02 \x01(\x05\x12#\n\x1bmax_requests_per_connection\x18\x03 \x01(\x05\x12\x13\n\x0bmax_retries\x18\x04 \x01(\x05\"\xcc\x01\n\x10OutlierDetection\x12\x1a\n\x12\x63onsecutive_errors\x18\x01 \x01(\x05\x12+\n\x08interval\x18\x02 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x35\n\x12\x62\x61se_ejection_time\x18\x03 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x1c\n\x14max_ejection_percent\x18\x04 \x01(\x05\x12\x1a\n\x12min_health_percent\x18\x05 \x01(\x05\"\xff\x01\n\x0bTLSSettings\x12<\n\x04mode\x18\x01 \x01(\x0e\x32..istio.networking.v1alpha3.TLSSettings.TLSmode\x12\x1a\n\x12\x63lient_certificate\x18\x02 \x01(\t\x12\x13\n\x0bprivate_key\x18\x03 \x01(\t\x12\x17\n\x0f\x63\x61_certificates\x18\x04 \x01(\t\x12\x19\n\x11subject_alt_names\x18\x05 \x03(\t\x12\x0b\n\x03sni\x18\x06 \x01(\t\"@\n\x07TLSmode\x12\x0b\n\x07\x44ISABLE\x10\x00\x12\n\n\x06SIMPLE\x10\x01\x12\n\n\x06MUTUAL\x10\x02\x12\x10\n\x0cISTIO_MUTUAL\x10\x03\x42\"Z istio.io/api/networking/v1alpha3b\x06proto3')
+ serialized_pb=_b('\n*networking/v1alpha3/destination_rule.proto\x12\x19istio.networking.v1alpha3\x1a\x1egoogle/protobuf/duration.proto\x1a)networking/v1alpha3/virtual_service.proto\x1a\'networking/v1alpha3/network_scope.proto\x1a\x14gogoproto/gogo.proto\"\xd3\x01\n\x0f\x44\x65stinationRule\x12\x0c\n\x04host\x18\x01 \x01(\t\x12@\n\x0etraffic_policy\x18\x02 \x01(\x0b\x32(.istio.networking.v1alpha3.TrafficPolicy\x12\x32\n\x07subsets\x18\x03 \x03(\x0b\x32!.istio.networking.v1alpha3.Subset\x12<\n\x0c\x63onfig_scope\x18\x04 \x01(\x0e\x32&.istio.networking.v1alpha3.ConfigScope\"\xd7\x05\n\rTrafficPolicy\x12\x46\n\rload_balancer\x18\x01 \x01(\x0b\x32/.istio.networking.v1alpha3.LoadBalancerSettings\x12J\n\x0f\x63onnection_pool\x18\x02 \x01(\x0b\x32\x31.istio.networking.v1alpha3.ConnectionPoolSettings\x12\x46\n\x11outlier_detection\x18\x03 \x01(\x0b\x32+.istio.networking.v1alpha3.OutlierDetection\x12\x33\n\x03tls\x18\x04 \x01(\x0b\x32&.istio.networking.v1alpha3.TLSSettings\x12W\n\x13port_level_settings\x18\x05 \x03(\x0b\x32:.istio.networking.v1alpha3.TrafficPolicy.PortTrafficPolicy\x1a\xdb\x02\n\x11PortTrafficPolicy\x12\x35\n\x04port\x18\x01 \x01(\x0b\x32\'.istio.networking.v1alpha3.PortSelector\x12\x46\n\rload_balancer\x18\x02 \x01(\x0b\x32/.istio.networking.v1alpha3.LoadBalancerSettings\x12J\n\x0f\x63onnection_pool\x18\x03 \x01(\x0b\x32\x31.istio.networking.v1alpha3.ConnectionPoolSettings\x12\x46\n\x11outlier_detection\x18\x04 \x01(\x0b\x32+.istio.networking.v1alpha3.OutlierDetection\x12\x33\n\x03tls\x18\x05 \x01(\x0b\x32&.istio.networking.v1alpha3.TLSSettings\"\xc6\x01\n\x06Subset\x12\x0c\n\x04name\x18\x01 \x01(\t\x12=\n\x06labels\x18\x02 \x03(\x0b\x32-.istio.networking.v1alpha3.Subset.LabelsEntry\x12@\n\x0etraffic_policy\x18\x03 \x01(\x0b\x32(.istio.networking.v1alpha3.TrafficPolicy\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\xc3\x04\n\x14LoadBalancerSettings\x12J\n\x06simple\x18\x01 \x01(\x0e\x32\x38.istio.networking.v1alpha3.LoadBalancerSettings.SimpleLBH\x00\x12[\n\x0f\x63onsistent_hash\x18\x02 \x01(\x0b\x32@.istio.networking.v1alpha3.LoadBalancerSettings.ConsistentHashLBH\x00\x1a\xaa\x02\n\x10\x43onsistentHashLB\x12\x1a\n\x10http_header_name\x18\x01 \x01(\tH\x00\x12\x62\n\x0bhttp_cookie\x18\x02 \x01(\x0b\x32K.istio.networking.v1alpha3.LoadBalancerSettings.ConsistentHashLB.HTTPCookieH\x00\x12\x17\n\ruse_source_ip\x18\x03 \x01(\x08H\x00\x12\x19\n\x11minimum_ring_size\x18\x04 \x01(\x04\x1aV\n\nHTTPCookie\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0c\n\x04path\x18\x02 \x01(\t\x12,\n\x03ttl\x18\x03 \x01(\x0b\x32\x19.google.protobuf.DurationB\x04\x98\xdf\x1f\x01\x42\n\n\x08hash_key\"H\n\x08SimpleLB\x12\x0f\n\x0bROUND_ROBIN\x10\x00\x12\x0e\n\nLEAST_CONN\x10\x01\x12\n\n\x06RANDOM\x10\x02\x12\x0f\n\x0bPASSTHROUGH\x10\x03\x42\x0b\n\tlb_policy\"\xf3\x04\n\x16\x43onnectionPoolSettings\x12J\n\x03tcp\x18\x01 \x01(\x0b\x32=.istio.networking.v1alpha3.ConnectionPoolSettings.TCPSettings\x12L\n\x04http\x18\x02 \x01(\x0b\x32>.istio.networking.v1alpha3.ConnectionPoolSettings.HTTPSettings\x1a\xb3\x02\n\x0bTCPSettings\x12\x17\n\x0fmax_connections\x18\x01 \x01(\x05\x12\x32\n\x0f\x63onnect_timeout\x18\x02 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x61\n\rtcp_keepalive\x18\x03 \x01(\x0b\x32J.istio.networking.v1alpha3.ConnectionPoolSettings.TCPSettings.TcpKeepalive\x1at\n\x0cTcpKeepalive\x12\x0e\n\x06probes\x18\x01 \x01(\r\x12\'\n\x04time\x18\x02 \x01(\x0b\x32\x19.google.protobuf.Duration\x12+\n\x08interval\x18\x03 \x01(\x0b\x32\x19.google.protobuf.Duration\x1a\x88\x01\n\x0cHTTPSettings\x12\"\n\x1ahttp1_max_pending_requests\x18\x01 \x01(\x05\x12\x1a\n\x12http2_max_requests\x18\x02 \x01(\x05\x12#\n\x1bmax_requests_per_connection\x18\x03 \x01(\x05\x12\x13\n\x0bmax_retries\x18\x04 \x01(\x05\"\xcc\x01\n\x10OutlierDetection\x12\x1a\n\x12\x63onsecutive_errors\x18\x01 \x01(\x05\x12+\n\x08interval\x18\x02 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x35\n\x12\x62\x61se_ejection_time\x18\x03 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x1c\n\x14max_ejection_percent\x18\x04 \x01(\x05\x12\x1a\n\x12min_health_percent\x18\x05 \x01(\x05\"\xff\x01\n\x0bTLSSettings\x12<\n\x04mode\x18\x01 \x01(\x0e\x32..istio.networking.v1alpha3.TLSSettings.TLSmode\x12\x1a\n\x12\x63lient_certificate\x18\x02 \x01(\t\x12\x13\n\x0bprivate_key\x18\x03 \x01(\t\x12\x17\n\x0f\x63\x61_certificates\x18\x04 \x01(\t\x12\x19\n\x11subject_alt_names\x18\x05 \x03(\t\x12\x0b\n\x03sni\x18\x06 \x01(\t\"@\n\x07TLSmode\x12\x0b\n\x07\x44ISABLE\x10\x00\x12\n\n\x06SIMPLE\x10\x01\x12\n\n\x06MUTUAL\x10\x02\x12\x10\n\x0cISTIO_MUTUAL\x10\x03\x42\"Z istio.io/api/networking/v1alpha3b\x06proto3')
,
- dependencies=[google_dot_protobuf_dot_duration__pb2.DESCRIPTOR,networking_dot_v1alpha3_dot_virtual__service__pb2.DESCRIPTOR,gogoproto_dot_gogo__pb2.DESCRIPTOR,])
+ dependencies=[google_dot_protobuf_dot_duration__pb2.DESCRIPTOR,networking_dot_v1alpha3_dot_virtual__service__pb2.DESCRIPTOR,networking_dot_v1alpha3_dot_network__scope__pb2.DESCRIPTOR,gogoproto_dot_gogo__pb2.DESCRIPTOR,])
@@ -53,8 +54,8 @@
],
containing_type=None,
options=None,
- serialized_start=1748,
- serialized_end=1820,
+ serialized_start=1851,
+ serialized_end=1923,
)
_sym_db.RegisterEnumDescriptor(_LOADBALANCERSETTINGS_SIMPLELB)
@@ -83,8 +84,8 @@
],
containing_type=None,
options=None,
- serialized_start=2864,
- serialized_end=2928,
+ serialized_start=2967,
+ serialized_end=3031,
)
_sym_db.RegisterEnumDescriptor(_TLSSETTINGS_TLSMODE)
@@ -117,6 +118,13 @@
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None, file=DESCRIPTOR),
+ _descriptor.FieldDescriptor(
+ name='config_scope', full_name='istio.networking.v1alpha3.DestinationRule.config_scope', index=3,
+ number=4, 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=[
],
@@ -129,8 +137,8 @@
extension_ranges=[],
oneofs=[
],
- serialized_start=171,
- serialized_end=320,
+ serialized_start=212,
+ serialized_end=423,
)
@@ -188,8 +196,8 @@
extension_ranges=[],
oneofs=[
],
- serialized_start=703,
- serialized_end=1050,
+ serialized_start=806,
+ serialized_end=1153,
)
_TRAFFICPOLICY = _descriptor.Descriptor(
@@ -246,8 +254,8 @@
extension_ranges=[],
oneofs=[
],
- serialized_start=323,
- serialized_end=1050,
+ serialized_start=426,
+ serialized_end=1153,
)
@@ -284,8 +292,8 @@
extension_ranges=[],
oneofs=[
],
- serialized_start=1206,
- serialized_end=1251,
+ serialized_start=1309,
+ serialized_end=1354,
)
_SUBSET = _descriptor.Descriptor(
@@ -328,8 +336,8 @@
extension_ranges=[],
oneofs=[
],
- serialized_start=1053,
- serialized_end=1251,
+ serialized_start=1156,
+ serialized_end=1354,
)
@@ -373,8 +381,8 @@
extension_ranges=[],
oneofs=[
],
- serialized_start=1648,
- serialized_end=1734,
+ serialized_start=1751,
+ serialized_end=1837,
)
_LOADBALANCERSETTINGS_CONSISTENTHASHLB = _descriptor.Descriptor(
@@ -427,8 +435,8 @@
name='hash_key', full_name='istio.networking.v1alpha3.LoadBalancerSettings.ConsistentHashLB.hash_key',
index=0, containing_type=None, fields=[]),
],
- serialized_start=1448,
- serialized_end=1746,
+ serialized_start=1551,
+ serialized_end=1849,
)
_LOADBALANCERSETTINGS = _descriptor.Descriptor(
@@ -468,8 +476,8 @@
name='lb_policy', full_name='istio.networking.v1alpha3.LoadBalancerSettings.lb_policy',
index=0, containing_type=None, fields=[]),
],
- serialized_start=1254,
- serialized_end=1833,
+ serialized_start=1357,
+ serialized_end=1936,
)
@@ -513,8 +521,8 @@
extension_ranges=[],
oneofs=[
],
- serialized_start=2208,
- serialized_end=2324,
+ serialized_start=2311,
+ serialized_end=2427,
)
_CONNECTIONPOOLSETTINGS_TCPSETTINGS = _descriptor.Descriptor(
@@ -557,8 +565,8 @@
extension_ranges=[],
oneofs=[
],
- serialized_start=2017,
- serialized_end=2324,
+ serialized_start=2120,
+ serialized_end=2427,
)
_CONNECTIONPOOLSETTINGS_HTTPSETTINGS = _descriptor.Descriptor(
@@ -608,8 +616,8 @@
extension_ranges=[],
oneofs=[
],
- serialized_start=2327,
- serialized_end=2463,
+ serialized_start=2430,
+ serialized_end=2566,
)
_CONNECTIONPOOLSETTINGS = _descriptor.Descriptor(
@@ -645,8 +653,8 @@
extension_ranges=[],
oneofs=[
],
- serialized_start=1836,
- serialized_end=2463,
+ serialized_start=1939,
+ serialized_end=2566,
)
@@ -704,8 +712,8 @@
extension_ranges=[],
oneofs=[
],
- serialized_start=2466,
- serialized_end=2670,
+ serialized_start=2569,
+ serialized_end=2773,
)
@@ -771,12 +779,13 @@
extension_ranges=[],
oneofs=[
],
- serialized_start=2673,
- serialized_end=2928,
+ serialized_start=2776,
+ serialized_end=3031,
)
_DESTINATIONRULE.fields_by_name['traffic_policy'].message_type = _TRAFFICPOLICY
_DESTINATIONRULE.fields_by_name['subsets'].message_type = _SUBSET
+_DESTINATIONRULE.fields_by_name['config_scope'].enum_type = networking_dot_v1alpha3_dot_network__scope__pb2._CONFIGSCOPE
_TRAFFICPOLICY_PORTTRAFFICPOLICY.fields_by_name['port'].message_type = networking_dot_v1alpha3_dot_virtual__service__pb2._PORTSELECTOR
_TRAFFICPOLICY_PORTTRAFFICPOLICY.fields_by_name['load_balancer'].message_type = _LOADBALANCERSETTINGS
_TRAFFICPOLICY_PORTTRAFFICPOLICY.fields_by_name['connection_pool'].message_type = _CONNECTIONPOOLSETTINGS
diff --git a/python/istio_api/networking/v1alpha3/network_scope_pb2.py b/python/istio_api/networking/v1alpha3/network_scope_pb2.py
new file mode 100644
index 0000000000..2fd1a36238
--- /dev/null
+++ b/python/istio_api/networking/v1alpha3/network_scope_pb2.py
@@ -0,0 +1,241 @@
+# Generated by the protocol buffer compiler. DO NOT EDIT!
+# source: networking/v1alpha3/network_scope.proto
+
+import sys
+_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1'))
+from google.protobuf.internal import enum_type_wrapper
+from google.protobuf import descriptor as _descriptor
+from google.protobuf import message as _message
+from google.protobuf import reflection as _reflection
+from google.protobuf import symbol_database as _symbol_database
+from google.protobuf import descriptor_pb2
+# @@protoc_insertion_point(imports)
+
+_sym_db = _symbol_database.Default()
+
+
+
+
+DESCRIPTOR = _descriptor.FileDescriptor(
+ name='networking/v1alpha3/network_scope.proto',
+ package='istio.networking.v1alpha3',
+ syntax='proto3',
+ serialized_pb=_b('\n\'networking/v1alpha3/network_scope.proto\x12\x19istio.networking.v1alpha3\"\xfe\x02\n\x0cNetworkScope\x12H\n\x0c\x64\x65pendencies\x18\x01 \x03(\x0b\x32\x32.istio.networking.v1alpha3.NetworkScope.Dependency\x1a)\n\x06Import\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x0c\n\x04host\x18\x02 \x01(\t\x1a\xf8\x01\n\nDependency\x12l\n\x16source_workload_labels\x18\x01 \x03(\x0b\x32L.istio.networking.v1alpha3.NetworkScope.Dependency.SourceWorkloadLabelsEntry\x12?\n\x07imports\x18\x02 \x03(\x0b\x32..istio.networking.v1alpha3.NetworkScope.Import\x1a;\n\x19SourceWorkloadLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01*&\n\x0b\x43onfigScope\x12\n\n\x06PUBLIC\x10\x00\x12\x0b\n\x07PRIVATE\x10\x01\x42\"Z istio.io/api/networking/v1alpha3b\x06proto3')
+)
+
+_CONFIGSCOPE = _descriptor.EnumDescriptor(
+ name='ConfigScope',
+ full_name='istio.networking.v1alpha3.ConfigScope',
+ filename=None,
+ file=DESCRIPTOR,
+ values=[
+ _descriptor.EnumValueDescriptor(
+ name='PUBLIC', index=0, number=0,
+ options=None,
+ type=None),
+ _descriptor.EnumValueDescriptor(
+ name='PRIVATE', index=1, number=1,
+ options=None,
+ type=None),
+ ],
+ containing_type=None,
+ options=None,
+ serialized_start=455,
+ serialized_end=493,
+)
+_sym_db.RegisterEnumDescriptor(_CONFIGSCOPE)
+
+ConfigScope = enum_type_wrapper.EnumTypeWrapper(_CONFIGSCOPE)
+PUBLIC = 0
+PRIVATE = 1
+
+
+
+_NETWORKSCOPE_IMPORT = _descriptor.Descriptor(
+ name='Import',
+ full_name='istio.networking.v1alpha3.NetworkScope.Import',
+ filename=None,
+ file=DESCRIPTOR,
+ containing_type=None,
+ fields=[
+ _descriptor.FieldDescriptor(
+ name='namespace', full_name='istio.networking.v1alpha3.NetworkScope.Import.namespace', index=0,
+ number=1, 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='host', full_name='istio.networking.v1alpha3.NetworkScope.Import.host', index=1,
+ number=2, 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),
+ ],
+ extensions=[
+ ],
+ nested_types=[],
+ enum_types=[
+ ],
+ options=None,
+ is_extendable=False,
+ syntax='proto3',
+ extension_ranges=[],
+ oneofs=[
+ ],
+ serialized_start=161,
+ serialized_end=202,
+)
+
+_NETWORKSCOPE_DEPENDENCY_SOURCEWORKLOADLABELSENTRY = _descriptor.Descriptor(
+ name='SourceWorkloadLabelsEntry',
+ full_name='istio.networking.v1alpha3.NetworkScope.Dependency.SourceWorkloadLabelsEntry',
+ filename=None,
+ file=DESCRIPTOR,
+ containing_type=None,
+ fields=[
+ _descriptor.FieldDescriptor(
+ name='key', full_name='istio.networking.v1alpha3.NetworkScope.Dependency.SourceWorkloadLabelsEntry.key', index=0,
+ number=1, 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='value', full_name='istio.networking.v1alpha3.NetworkScope.Dependency.SourceWorkloadLabelsEntry.value', index=1,
+ number=2, 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),
+ ],
+ extensions=[
+ ],
+ nested_types=[],
+ enum_types=[
+ ],
+ options=_descriptor._ParseOptions(descriptor_pb2.MessageOptions(), _b('8\001')),
+ is_extendable=False,
+ syntax='proto3',
+ extension_ranges=[],
+ oneofs=[
+ ],
+ serialized_start=394,
+ serialized_end=453,
+)
+
+_NETWORKSCOPE_DEPENDENCY = _descriptor.Descriptor(
+ name='Dependency',
+ full_name='istio.networking.v1alpha3.NetworkScope.Dependency',
+ filename=None,
+ file=DESCRIPTOR,
+ containing_type=None,
+ fields=[
+ _descriptor.FieldDescriptor(
+ name='source_workload_labels', full_name='istio.networking.v1alpha3.NetworkScope.Dependency.source_workload_labels', index=0,
+ number=1, type=11, cpp_type=10, label=3,
+ has_default_value=False, default_value=[],
+ message_type=None, enum_type=None, containing_type=None,
+ is_extension=False, extension_scope=None,
+ options=None, file=DESCRIPTOR),
+ _descriptor.FieldDescriptor(
+ name='imports', full_name='istio.networking.v1alpha3.NetworkScope.Dependency.imports', index=1,
+ number=2, type=11, cpp_type=10, label=3,
+ has_default_value=False, default_value=[],
+ message_type=None, enum_type=None, containing_type=None,
+ is_extension=False, extension_scope=None,
+ options=None, file=DESCRIPTOR),
+ ],
+ extensions=[
+ ],
+ nested_types=[_NETWORKSCOPE_DEPENDENCY_SOURCEWORKLOADLABELSENTRY, ],
+ enum_types=[
+ ],
+ options=None,
+ is_extendable=False,
+ syntax='proto3',
+ extension_ranges=[],
+ oneofs=[
+ ],
+ serialized_start=205,
+ serialized_end=453,
+)
+
+_NETWORKSCOPE = _descriptor.Descriptor(
+ name='NetworkScope',
+ full_name='istio.networking.v1alpha3.NetworkScope',
+ filename=None,
+ file=DESCRIPTOR,
+ containing_type=None,
+ fields=[
+ _descriptor.FieldDescriptor(
+ name='dependencies', full_name='istio.networking.v1alpha3.NetworkScope.dependencies', index=0,
+ number=1, type=11, cpp_type=10, label=3,
+ has_default_value=False, default_value=[],
+ message_type=None, enum_type=None, containing_type=None,
+ is_extension=False, extension_scope=None,
+ options=None, file=DESCRIPTOR),
+ ],
+ extensions=[
+ ],
+ nested_types=[_NETWORKSCOPE_IMPORT, _NETWORKSCOPE_DEPENDENCY, ],
+ enum_types=[
+ ],
+ options=None,
+ is_extendable=False,
+ syntax='proto3',
+ extension_ranges=[],
+ oneofs=[
+ ],
+ serialized_start=71,
+ serialized_end=453,
+)
+
+_NETWORKSCOPE_IMPORT.containing_type = _NETWORKSCOPE
+_NETWORKSCOPE_DEPENDENCY_SOURCEWORKLOADLABELSENTRY.containing_type = _NETWORKSCOPE_DEPENDENCY
+_NETWORKSCOPE_DEPENDENCY.fields_by_name['source_workload_labels'].message_type = _NETWORKSCOPE_DEPENDENCY_SOURCEWORKLOADLABELSENTRY
+_NETWORKSCOPE_DEPENDENCY.fields_by_name['imports'].message_type = _NETWORKSCOPE_IMPORT
+_NETWORKSCOPE_DEPENDENCY.containing_type = _NETWORKSCOPE
+_NETWORKSCOPE.fields_by_name['dependencies'].message_type = _NETWORKSCOPE_DEPENDENCY
+DESCRIPTOR.message_types_by_name['NetworkScope'] = _NETWORKSCOPE
+DESCRIPTOR.enum_types_by_name['ConfigScope'] = _CONFIGSCOPE
+_sym_db.RegisterFileDescriptor(DESCRIPTOR)
+
+NetworkScope = _reflection.GeneratedProtocolMessageType('NetworkScope', (_message.Message,), dict(
+
+ Import = _reflection.GeneratedProtocolMessageType('Import', (_message.Message,), dict(
+ DESCRIPTOR = _NETWORKSCOPE_IMPORT,
+ __module__ = 'networking.v1alpha3.network_scope_pb2'
+ # @@protoc_insertion_point(class_scope:istio.networking.v1alpha3.NetworkScope.Import)
+ ))
+ ,
+
+ Dependency = _reflection.GeneratedProtocolMessageType('Dependency', (_message.Message,), dict(
+
+ SourceWorkloadLabelsEntry = _reflection.GeneratedProtocolMessageType('SourceWorkloadLabelsEntry', (_message.Message,), dict(
+ DESCRIPTOR = _NETWORKSCOPE_DEPENDENCY_SOURCEWORKLOADLABELSENTRY,
+ __module__ = 'networking.v1alpha3.network_scope_pb2'
+ # @@protoc_insertion_point(class_scope:istio.networking.v1alpha3.NetworkScope.Dependency.SourceWorkloadLabelsEntry)
+ ))
+ ,
+ DESCRIPTOR = _NETWORKSCOPE_DEPENDENCY,
+ __module__ = 'networking.v1alpha3.network_scope_pb2'
+ # @@protoc_insertion_point(class_scope:istio.networking.v1alpha3.NetworkScope.Dependency)
+ ))
+ ,
+ DESCRIPTOR = _NETWORKSCOPE,
+ __module__ = 'networking.v1alpha3.network_scope_pb2'
+ # @@protoc_insertion_point(class_scope:istio.networking.v1alpha3.NetworkScope)
+ ))
+_sym_db.RegisterMessage(NetworkScope)
+_sym_db.RegisterMessage(NetworkScope.Import)
+_sym_db.RegisterMessage(NetworkScope.Dependency)
+_sym_db.RegisterMessage(NetworkScope.Dependency.SourceWorkloadLabelsEntry)
+
+
+DESCRIPTOR.has_options = True
+DESCRIPTOR._options = _descriptor._ParseOptions(descriptor_pb2.FileOptions(), _b('Z istio.io/api/networking/v1alpha3'))
+_NETWORKSCOPE_DEPENDENCY_SOURCEWORKLOADLABELSENTRY.has_options = True
+_NETWORKSCOPE_DEPENDENCY_SOURCEWORKLOADLABELSENTRY._options = _descriptor._ParseOptions(descriptor_pb2.MessageOptions(), _b('8\001'))
+# @@protoc_insertion_point(module_scope)
diff --git a/python/istio_api/networking/v1alpha3/service_entry_pb2.py b/python/istio_api/networking/v1alpha3/service_entry_pb2.py
index 09d81c603a..b9d58bd667 100644
--- a/python/istio_api/networking/v1alpha3/service_entry_pb2.py
+++ b/python/istio_api/networking/v1alpha3/service_entry_pb2.py
@@ -14,15 +14,16 @@
from networking.v1alpha3 import gateway_pb2 as networking_dot_v1alpha3_dot_gateway__pb2
+from networking.v1alpha3 import network_scope_pb2 as networking_dot_v1alpha3_dot_network__scope__pb2
DESCRIPTOR = _descriptor.FileDescriptor(
name='networking/v1alpha3/service_entry.proto',
package='istio.networking.v1alpha3',
syntax='proto3',
- serialized_pb=_b('\n\'networking/v1alpha3/service_entry.proto\x12\x19istio.networking.v1alpha3\x1a!networking/v1alpha3/gateway.proto\"\xd8\x05\n\x0cServiceEntry\x12\r\n\x05hosts\x18\x01 \x03(\t\x12\x11\n\taddresses\x18\x02 \x03(\t\x12.\n\x05ports\x18\x03 \x03(\x0b\x32\x1f.istio.networking.v1alpha3.Port\x12\x42\n\x08location\x18\x04 \x01(\x0e\x32\x30.istio.networking.v1alpha3.ServiceEntry.Location\x12\x46\n\nresolution\x18\x05 \x01(\x0e\x32\x32.istio.networking.v1alpha3.ServiceEntry.Resolution\x12\x43\n\tendpoints\x18\x06 \x03(\x0b\x32\x30.istio.networking.v1alpha3.ServiceEntry.Endpoint\x1a\xc5\x02\n\x08\x45ndpoint\x12\x0f\n\x07\x61\x64\x64ress\x18\x01 \x01(\t\x12J\n\x05ports\x18\x02 \x03(\x0b\x32;.istio.networking.v1alpha3.ServiceEntry.Endpoint.PortsEntry\x12L\n\x06labels\x18\x03 \x03(\x0b\x32<.istio.networking.v1alpha3.ServiceEntry.Endpoint.LabelsEntry\x12\x0f\n\x07network\x18\x04 \x01(\t\x12\x10\n\x08locality\x18\x05 \x01(\t\x12\x0e\n\x06weight\x18\x06 \x01(\r\x1a,\n\nPortsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\r:\x02\x38\x01\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"0\n\x08Location\x12\x11\n\rMESH_EXTERNAL\x10\x00\x12\x11\n\rMESH_INTERNAL\x10\x01\"+\n\nResolution\x12\x08\n\x04NONE\x10\x00\x12\n\n\x06STATIC\x10\x01\x12\x07\n\x03\x44NS\x10\x02\x42\"Z istio.io/api/networking/v1alpha3b\x06proto3')
+ serialized_pb=_b('\n\'networking/v1alpha3/service_entry.proto\x12\x19istio.networking.v1alpha3\x1a!networking/v1alpha3/gateway.proto\x1a\'networking/v1alpha3/network_scope.proto\"\x96\x06\n\x0cServiceEntry\x12\r\n\x05hosts\x18\x01 \x03(\t\x12\x11\n\taddresses\x18\x02 \x03(\t\x12.\n\x05ports\x18\x03 \x03(\x0b\x32\x1f.istio.networking.v1alpha3.Port\x12\x42\n\x08location\x18\x04 \x01(\x0e\x32\x30.istio.networking.v1alpha3.ServiceEntry.Location\x12\x46\n\nresolution\x18\x05 \x01(\x0e\x32\x32.istio.networking.v1alpha3.ServiceEntry.Resolution\x12\x43\n\tendpoints\x18\x06 \x03(\x0b\x32\x30.istio.networking.v1alpha3.ServiceEntry.Endpoint\x12<\n\x0c\x63onfig_scope\x18\x07 \x01(\x0e\x32&.istio.networking.v1alpha3.ConfigScope\x1a\xc5\x02\n\x08\x45ndpoint\x12\x0f\n\x07\x61\x64\x64ress\x18\x01 \x01(\t\x12J\n\x05ports\x18\x02 \x03(\x0b\x32;.istio.networking.v1alpha3.ServiceEntry.Endpoint.PortsEntry\x12L\n\x06labels\x18\x03 \x03(\x0b\x32<.istio.networking.v1alpha3.ServiceEntry.Endpoint.LabelsEntry\x12\x0f\n\x07network\x18\x04 \x01(\t\x12\x10\n\x08locality\x18\x05 \x01(\t\x12\x0e\n\x06weight\x18\x06 \x01(\r\x1a,\n\nPortsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\r:\x02\x38\x01\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"0\n\x08Location\x12\x11\n\rMESH_EXTERNAL\x10\x00\x12\x11\n\rMESH_INTERNAL\x10\x01\"+\n\nResolution\x12\x08\n\x04NONE\x10\x00\x12\n\n\x06STATIC\x10\x01\x12\x07\n\x03\x44NS\x10\x02\x42\"Z istio.io/api/networking/v1alpha3b\x06proto3')
,
- dependencies=[networking_dot_v1alpha3_dot_gateway__pb2.DESCRIPTOR,])
+ dependencies=[networking_dot_v1alpha3_dot_gateway__pb2.DESCRIPTOR,networking_dot_v1alpha3_dot_network__scope__pb2.DESCRIPTOR,])
@@ -43,8 +44,8 @@
],
containing_type=None,
options=None,
- serialized_start=741,
- serialized_end=789,
+ serialized_start=844,
+ serialized_end=892,
)
_sym_db.RegisterEnumDescriptor(_SERVICEENTRY_LOCATION)
@@ -69,8 +70,8 @@
],
containing_type=None,
options=None,
- serialized_start=791,
- serialized_end=834,
+ serialized_start=894,
+ serialized_end=937,
)
_sym_db.RegisterEnumDescriptor(_SERVICEENTRY_RESOLUTION)
@@ -108,8 +109,8 @@
extension_ranges=[],
oneofs=[
],
- serialized_start=648,
- serialized_end=692,
+ serialized_start=751,
+ serialized_end=795,
)
_SERVICEENTRY_ENDPOINT_LABELSENTRY = _descriptor.Descriptor(
@@ -145,8 +146,8 @@
extension_ranges=[],
oneofs=[
],
- serialized_start=694,
- serialized_end=739,
+ serialized_start=797,
+ serialized_end=842,
)
_SERVICEENTRY_ENDPOINT = _descriptor.Descriptor(
@@ -210,8 +211,8 @@
extension_ranges=[],
oneofs=[
],
- serialized_start=414,
- serialized_end=739,
+ serialized_start=517,
+ serialized_end=842,
)
_SERVICEENTRY = _descriptor.Descriptor(
@@ -263,6 +264,13 @@
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None, file=DESCRIPTOR),
+ _descriptor.FieldDescriptor(
+ name='config_scope', full_name='istio.networking.v1alpha3.ServiceEntry.config_scope', index=6,
+ number=7, 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=[
],
@@ -277,8 +285,8 @@
extension_ranges=[],
oneofs=[
],
- serialized_start=106,
- serialized_end=834,
+ serialized_start=147,
+ serialized_end=937,
)
_SERVICEENTRY_ENDPOINT_PORTSENTRY.containing_type = _SERVICEENTRY_ENDPOINT
@@ -290,6 +298,7 @@
_SERVICEENTRY.fields_by_name['location'].enum_type = _SERVICEENTRY_LOCATION
_SERVICEENTRY.fields_by_name['resolution'].enum_type = _SERVICEENTRY_RESOLUTION
_SERVICEENTRY.fields_by_name['endpoints'].message_type = _SERVICEENTRY_ENDPOINT
+_SERVICEENTRY.fields_by_name['config_scope'].enum_type = networking_dot_v1alpha3_dot_network__scope__pb2._CONFIGSCOPE
_SERVICEENTRY_LOCATION.containing_type = _SERVICEENTRY
_SERVICEENTRY_RESOLUTION.containing_type = _SERVICEENTRY
DESCRIPTOR.message_types_by_name['ServiceEntry'] = _SERVICEENTRY
diff --git a/python/istio_api/networking/v1alpha3/virtual_service_pb2.py b/python/istio_api/networking/v1alpha3/virtual_service_pb2.py
index 69497908ab..9a6433a753 100644
--- a/python/istio_api/networking/v1alpha3/virtual_service_pb2.py
+++ b/python/istio_api/networking/v1alpha3/virtual_service_pb2.py
@@ -15,15 +15,16 @@
from google.protobuf import duration_pb2 as google_dot_protobuf_dot_duration__pb2
from google.protobuf import wrappers_pb2 as google_dot_protobuf_dot_wrappers__pb2
+from networking.v1alpha3 import network_scope_pb2 as networking_dot_v1alpha3_dot_network__scope__pb2
DESCRIPTOR = _descriptor.FileDescriptor(
name='networking/v1alpha3/virtual_service.proto',
package='istio.networking.v1alpha3',
syntax='proto3',
- serialized_pb=_b('\n)networking/v1alpha3/virtual_service.proto\x12\x19istio.networking.v1alpha3\x1a\x1egoogle/protobuf/duration.proto\x1a\x1egoogle/protobuf/wrappers.proto\"\xc9\x01\n\x0eVirtualService\x12\r\n\x05hosts\x18\x01 \x03(\t\x12\x10\n\x08gateways\x18\x02 \x03(\t\x12\x32\n\x04http\x18\x03 \x03(\x0b\x32$.istio.networking.v1alpha3.HTTPRoute\x12\x30\n\x03tls\x18\x05 \x03(\x0b\x32#.istio.networking.v1alpha3.TLSRoute\x12\x30\n\x03tcp\x18\x04 \x03(\x0b\x32#.istio.networking.v1alpha3.TCPRoute\"b\n\x0b\x44\x65stination\x12\x0c\n\x04host\x18\x01 \x01(\t\x12\x0e\n\x06subset\x18\x02 \x01(\t\x12\x35\n\x04port\x18\x03 \x01(\x0b\x32\'.istio.networking.v1alpha3.PortSelector\"\xf9\x08\n\tHTTPRoute\x12:\n\x05match\x18\x01 \x03(\x0b\x32+.istio.networking.v1alpha3.HTTPMatchRequest\x12>\n\x05route\x18\x02 \x03(\x0b\x32/.istio.networking.v1alpha3.HTTPRouteDestination\x12\x39\n\x08redirect\x18\x03 \x01(\x0b\x32\'.istio.networking.v1alpha3.HTTPRedirect\x12\x37\n\x07rewrite\x18\x04 \x01(\x0b\x32&.istio.networking.v1alpha3.HTTPRewrite\x12\x19\n\x11websocket_upgrade\x18\x05 \x01(\x08\x12*\n\x07timeout\x18\x06 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x35\n\x07retries\x18\x07 \x01(\x0b\x32$.istio.networking.v1alpha3.HTTPRetry\x12<\n\x05\x66\x61ult\x18\x08 \x01(\x0b\x32-.istio.networking.v1alpha3.HTTPFaultInjection\x12\x36\n\x06mirror\x18\t \x01(\x0b\x32&.istio.networking.v1alpha3.Destination\x12:\n\x0b\x63ors_policy\x18\n \x01(\x0b\x32%.istio.networking.v1alpha3.CorsPolicy\x12S\n\x0e\x61ppend_headers\x18\x0b \x03(\x0b\x32\x37.istio.networking.v1alpha3.HTTPRoute.AppendHeadersEntryB\x02\x18\x01\x12#\n\x17remove_response_headers\x18\x0c \x03(\tB\x02\x18\x01\x12\x64\n\x17\x61ppend_response_headers\x18\r \x03(\x0b\x32?.istio.networking.v1alpha3.HTTPRoute.AppendResponseHeadersEntryB\x02\x18\x01\x12\"\n\x16remove_request_headers\x18\x0e \x03(\tB\x02\x18\x01\x12\x62\n\x16\x61ppend_request_headers\x18\x0f \x03(\x0b\x32>.istio.networking.v1alpha3.HTTPRoute.AppendRequestHeadersEntryB\x02\x18\x01\x12\x33\n\x07headers\x18\x10 \x01(\x0b\x32\".istio.networking.v1alpha3.Headers\x1a\x34\n\x12\x41ppendHeadersEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a<\n\x1a\x41ppendResponseHeadersEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a;\n\x19\x41ppendRequestHeadersEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\xa9\x03\n\x07Headers\x12\x44\n\x07request\x18\x01 \x01(\x0b\x32\x33.istio.networking.v1alpha3.Headers.HeaderOperations\x12\x45\n\x08response\x18\x02 \x01(\x0b\x32\x33.istio.networking.v1alpha3.Headers.HeaderOperations\x1a\x90\x02\n\x10HeaderOperations\x12I\n\x03set\x18\x01 \x03(\x0b\x32<.istio.networking.v1alpha3.Headers.HeaderOperations.SetEntry\x12I\n\x03\x61\x64\x64\x18\x02 \x03(\x0b\x32<.istio.networking.v1alpha3.Headers.HeaderOperations.AddEntry\x12\x0e\n\x06remove\x18\x03 \x03(\t\x1a*\n\x08SetEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a*\n\x08\x41\x64\x64\x45ntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\x84\x01\n\x08TLSRoute\x12<\n\x05match\x18\x01 \x03(\x0b\x32-.istio.networking.v1alpha3.TLSMatchAttributes\x12:\n\x05route\x18\x02 \x03(\x0b\x32+.istio.networking.v1alpha3.RouteDestination\"\x83\x01\n\x08TCPRoute\x12;\n\x05match\x18\x01 \x03(\x0b\x32,.istio.networking.v1alpha3.L4MatchAttributes\x12:\n\x05route\x18\x02 \x03(\x0b\x32+.istio.networking.v1alpha3.RouteDestination\"\xc0\x04\n\x10HTTPMatchRequest\x12\x33\n\x03uri\x18\x01 \x01(\x0b\x32&.istio.networking.v1alpha3.StringMatch\x12\x36\n\x06scheme\x18\x02 \x01(\x0b\x32&.istio.networking.v1alpha3.StringMatch\x12\x36\n\x06method\x18\x03 \x01(\x0b\x32&.istio.networking.v1alpha3.StringMatch\x12\x39\n\tauthority\x18\x04 \x01(\x0b\x32&.istio.networking.v1alpha3.StringMatch\x12I\n\x07headers\x18\x05 \x03(\x0b\x32\x38.istio.networking.v1alpha3.HTTPMatchRequest.HeadersEntry\x12\x0c\n\x04port\x18\x06 \x01(\r\x12T\n\rsource_labels\x18\x07 \x03(\x0b\x32=.istio.networking.v1alpha3.HTTPMatchRequest.SourceLabelsEntry\x12\x10\n\x08gateways\x18\x08 \x03(\t\x1aV\n\x0cHeadersEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x35\n\x05value\x18\x02 \x01(\x0b\x32&.istio.networking.v1alpha3.StringMatch:\x02\x38\x01\x1a\x33\n\x11SourceLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\xbc\x04\n\x14HTTPRouteDestination\x12;\n\x0b\x64\x65stination\x18\x01 \x01(\x0b\x32&.istio.networking.v1alpha3.Destination\x12\x0e\n\x06weight\x18\x02 \x01(\x05\x12#\n\x17remove_response_headers\x18\x03 \x03(\tB\x02\x18\x01\x12o\n\x17\x61ppend_response_headers\x18\x04 \x03(\x0b\x32J.istio.networking.v1alpha3.HTTPRouteDestination.AppendResponseHeadersEntryB\x02\x18\x01\x12\"\n\x16remove_request_headers\x18\x05 \x03(\tB\x02\x18\x01\x12m\n\x16\x61ppend_request_headers\x18\x06 \x03(\x0b\x32I.istio.networking.v1alpha3.HTTPRouteDestination.AppendRequestHeadersEntryB\x02\x18\x01\x12\x33\n\x07headers\x18\x07 \x01(\x0b\x32\".istio.networking.v1alpha3.Headers\x1a<\n\x1a\x41ppendResponseHeadersEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a;\n\x19\x41ppendRequestHeadersEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"_\n\x10RouteDestination\x12;\n\x0b\x64\x65stination\x18\x01 \x01(\x0b\x32&.istio.networking.v1alpha3.Destination\x12\x0e\n\x06weight\x18\x02 \x01(\x05\"\xf3\x01\n\x11L4MatchAttributes\x12\x1b\n\x13\x64\x65stination_subnets\x18\x01 \x03(\t\x12\x0c\n\x04port\x18\x02 \x01(\r\x12\x15\n\rsource_subnet\x18\x03 \x01(\t\x12U\n\rsource_labels\x18\x04 \x03(\x0b\x32>.istio.networking.v1alpha3.L4MatchAttributes.SourceLabelsEntry\x12\x10\n\x08gateways\x18\x05 \x03(\t\x1a\x33\n\x11SourceLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\x88\x02\n\x12TLSMatchAttributes\x12\x11\n\tsni_hosts\x18\x01 \x03(\t\x12\x1b\n\x13\x64\x65stination_subnets\x18\x02 \x03(\t\x12\x0c\n\x04port\x18\x03 \x01(\r\x12\x15\n\rsource_subnet\x18\x04 \x01(\t\x12V\n\rsource_labels\x18\x05 \x03(\x0b\x32?.istio.networking.v1alpha3.TLSMatchAttributes.SourceLabelsEntry\x12\x10\n\x08gateways\x18\x06 \x03(\t\x1a\x33\n\x11SourceLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\".\n\x0cHTTPRedirect\x12\x0b\n\x03uri\x18\x01 \x01(\t\x12\x11\n\tauthority\x18\x02 \x01(\t\"-\n\x0bHTTPRewrite\x12\x0b\n\x03uri\x18\x01 \x01(\t\x12\x11\n\tauthority\x18\x02 \x01(\t\"O\n\x0bStringMatch\x12\x0f\n\x05\x65xact\x18\x01 \x01(\tH\x00\x12\x10\n\x06prefix\x18\x02 \x01(\tH\x00\x12\x0f\n\x05regex\x18\x03 \x01(\tH\x00\x42\x0c\n\nmatch_type\"c\n\tHTTPRetry\x12\x10\n\x08\x61ttempts\x18\x01 \x01(\x05\x12\x32\n\x0fper_try_timeout\x18\x02 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x10\n\x08retry_on\x18\x03 \x01(\t\"\xcb\x01\n\nCorsPolicy\x12\x14\n\x0c\x61llow_origin\x18\x01 \x03(\t\x12\x15\n\rallow_methods\x18\x02 \x03(\t\x12\x15\n\rallow_headers\x18\x03 \x03(\t\x12\x16\n\x0e\x65xpose_headers\x18\x04 \x03(\t\x12*\n\x07max_age\x18\x05 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x35\n\x11\x61llow_credentials\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.BoolValue\"\x9a\x04\n\x12HTTPFaultInjection\x12\x42\n\x05\x64\x65lay\x18\x01 \x01(\x0b\x32\x33.istio.networking.v1alpha3.HTTPFaultInjection.Delay\x12\x42\n\x05\x61\x62ort\x18\x02 \x01(\x0b\x32\x33.istio.networking.v1alpha3.HTTPFaultInjection.Abort\x1a\xd1\x01\n\x05\x44\x65lay\x12\x13\n\x07percent\x18\x01 \x01(\x05\x42\x02\x18\x01\x12\x30\n\x0b\x66ixed_delay\x18\x02 \x01(\x0b\x32\x19.google.protobuf.DurationH\x00\x12\x36\n\x11\x65xponential_delay\x18\x03 \x01(\x0b\x32\x19.google.protobuf.DurationH\x00\x12\x36\n\npercentage\x18\x05 \x01(\x0b\x32\".istio.networking.v1alpha3.PercentB\x11\n\x0fhttp_delay_type\x1a\xa7\x01\n\x05\x41\x62ort\x12\x13\n\x07percent\x18\x01 \x01(\x05\x42\x02\x18\x01\x12\x15\n\x0bhttp_status\x18\x02 \x01(\x05H\x00\x12\x15\n\x0bgrpc_status\x18\x03 \x01(\tH\x00\x12\x15\n\x0bhttp2_error\x18\x04 \x01(\tH\x00\x12\x36\n\npercentage\x18\x05 \x01(\x0b\x32\".istio.networking.v1alpha3.PercentB\x0c\n\nerror_type\"8\n\x0cPortSelector\x12\x10\n\x06number\x18\x01 \x01(\rH\x00\x12\x0e\n\x04name\x18\x02 \x01(\tH\x00\x42\x06\n\x04port\"\x18\n\x07Percent\x12\r\n\x05value\x18\x01 \x01(\x01\x42\"Z istio.io/api/networking/v1alpha3b\x06proto3')
+ serialized_pb=_b('\n)networking/v1alpha3/virtual_service.proto\x12\x19istio.networking.v1alpha3\x1a\x1egoogle/protobuf/duration.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a\'networking/v1alpha3/network_scope.proto\"\x87\x02\n\x0eVirtualService\x12\r\n\x05hosts\x18\x01 \x03(\t\x12\x10\n\x08gateways\x18\x02 \x03(\t\x12\x32\n\x04http\x18\x03 \x03(\x0b\x32$.istio.networking.v1alpha3.HTTPRoute\x12\x30\n\x03tls\x18\x05 \x03(\x0b\x32#.istio.networking.v1alpha3.TLSRoute\x12\x30\n\x03tcp\x18\x04 \x03(\x0b\x32#.istio.networking.v1alpha3.TCPRoute\x12<\n\x0c\x63onfig_scope\x18\x06 \x01(\x0e\x32&.istio.networking.v1alpha3.ConfigScope\"b\n\x0b\x44\x65stination\x12\x0c\n\x04host\x18\x01 \x01(\t\x12\x0e\n\x06subset\x18\x02 \x01(\t\x12\x35\n\x04port\x18\x03 \x01(\x0b\x32\'.istio.networking.v1alpha3.PortSelector\"\xf9\x08\n\tHTTPRoute\x12:\n\x05match\x18\x01 \x03(\x0b\x32+.istio.networking.v1alpha3.HTTPMatchRequest\x12>\n\x05route\x18\x02 \x03(\x0b\x32/.istio.networking.v1alpha3.HTTPRouteDestination\x12\x39\n\x08redirect\x18\x03 \x01(\x0b\x32\'.istio.networking.v1alpha3.HTTPRedirect\x12\x37\n\x07rewrite\x18\x04 \x01(\x0b\x32&.istio.networking.v1alpha3.HTTPRewrite\x12\x19\n\x11websocket_upgrade\x18\x05 \x01(\x08\x12*\n\x07timeout\x18\x06 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x35\n\x07retries\x18\x07 \x01(\x0b\x32$.istio.networking.v1alpha3.HTTPRetry\x12<\n\x05\x66\x61ult\x18\x08 \x01(\x0b\x32-.istio.networking.v1alpha3.HTTPFaultInjection\x12\x36\n\x06mirror\x18\t \x01(\x0b\x32&.istio.networking.v1alpha3.Destination\x12:\n\x0b\x63ors_policy\x18\n \x01(\x0b\x32%.istio.networking.v1alpha3.CorsPolicy\x12S\n\x0e\x61ppend_headers\x18\x0b \x03(\x0b\x32\x37.istio.networking.v1alpha3.HTTPRoute.AppendHeadersEntryB\x02\x18\x01\x12#\n\x17remove_response_headers\x18\x0c \x03(\tB\x02\x18\x01\x12\x64\n\x17\x61ppend_response_headers\x18\r \x03(\x0b\x32?.istio.networking.v1alpha3.HTTPRoute.AppendResponseHeadersEntryB\x02\x18\x01\x12\"\n\x16remove_request_headers\x18\x0e \x03(\tB\x02\x18\x01\x12\x62\n\x16\x61ppend_request_headers\x18\x0f \x03(\x0b\x32>.istio.networking.v1alpha3.HTTPRoute.AppendRequestHeadersEntryB\x02\x18\x01\x12\x33\n\x07headers\x18\x10 \x01(\x0b\x32\".istio.networking.v1alpha3.Headers\x1a\x34\n\x12\x41ppendHeadersEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a<\n\x1a\x41ppendResponseHeadersEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a;\n\x19\x41ppendRequestHeadersEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\xa9\x03\n\x07Headers\x12\x44\n\x07request\x18\x01 \x01(\x0b\x32\x33.istio.networking.v1alpha3.Headers.HeaderOperations\x12\x45\n\x08response\x18\x02 \x01(\x0b\x32\x33.istio.networking.v1alpha3.Headers.HeaderOperations\x1a\x90\x02\n\x10HeaderOperations\x12I\n\x03set\x18\x01 \x03(\x0b\x32<.istio.networking.v1alpha3.Headers.HeaderOperations.SetEntry\x12I\n\x03\x61\x64\x64\x18\x02 \x03(\x0b\x32<.istio.networking.v1alpha3.Headers.HeaderOperations.AddEntry\x12\x0e\n\x06remove\x18\x03 \x03(\t\x1a*\n\x08SetEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a*\n\x08\x41\x64\x64\x45ntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\x84\x01\n\x08TLSRoute\x12<\n\x05match\x18\x01 \x03(\x0b\x32-.istio.networking.v1alpha3.TLSMatchAttributes\x12:\n\x05route\x18\x02 \x03(\x0b\x32+.istio.networking.v1alpha3.RouteDestination\"\x83\x01\n\x08TCPRoute\x12;\n\x05match\x18\x01 \x03(\x0b\x32,.istio.networking.v1alpha3.L4MatchAttributes\x12:\n\x05route\x18\x02 \x03(\x0b\x32+.istio.networking.v1alpha3.RouteDestination\"\xc0\x04\n\x10HTTPMatchRequest\x12\x33\n\x03uri\x18\x01 \x01(\x0b\x32&.istio.networking.v1alpha3.StringMatch\x12\x36\n\x06scheme\x18\x02 \x01(\x0b\x32&.istio.networking.v1alpha3.StringMatch\x12\x36\n\x06method\x18\x03 \x01(\x0b\x32&.istio.networking.v1alpha3.StringMatch\x12\x39\n\tauthority\x18\x04 \x01(\x0b\x32&.istio.networking.v1alpha3.StringMatch\x12I\n\x07headers\x18\x05 \x03(\x0b\x32\x38.istio.networking.v1alpha3.HTTPMatchRequest.HeadersEntry\x12\x0c\n\x04port\x18\x06 \x01(\r\x12T\n\rsource_labels\x18\x07 \x03(\x0b\x32=.istio.networking.v1alpha3.HTTPMatchRequest.SourceLabelsEntry\x12\x10\n\x08gateways\x18\x08 \x03(\t\x1aV\n\x0cHeadersEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x35\n\x05value\x18\x02 \x01(\x0b\x32&.istio.networking.v1alpha3.StringMatch:\x02\x38\x01\x1a\x33\n\x11SourceLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\xbc\x04\n\x14HTTPRouteDestination\x12;\n\x0b\x64\x65stination\x18\x01 \x01(\x0b\x32&.istio.networking.v1alpha3.Destination\x12\x0e\n\x06weight\x18\x02 \x01(\x05\x12#\n\x17remove_response_headers\x18\x03 \x03(\tB\x02\x18\x01\x12o\n\x17\x61ppend_response_headers\x18\x04 \x03(\x0b\x32J.istio.networking.v1alpha3.HTTPRouteDestination.AppendResponseHeadersEntryB\x02\x18\x01\x12\"\n\x16remove_request_headers\x18\x05 \x03(\tB\x02\x18\x01\x12m\n\x16\x61ppend_request_headers\x18\x06 \x03(\x0b\x32I.istio.networking.v1alpha3.HTTPRouteDestination.AppendRequestHeadersEntryB\x02\x18\x01\x12\x33\n\x07headers\x18\x07 \x01(\x0b\x32\".istio.networking.v1alpha3.Headers\x1a<\n\x1a\x41ppendResponseHeadersEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a;\n\x19\x41ppendRequestHeadersEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"_\n\x10RouteDestination\x12;\n\x0b\x64\x65stination\x18\x01 \x01(\x0b\x32&.istio.networking.v1alpha3.Destination\x12\x0e\n\x06weight\x18\x02 \x01(\x05\"\xf3\x01\n\x11L4MatchAttributes\x12\x1b\n\x13\x64\x65stination_subnets\x18\x01 \x03(\t\x12\x0c\n\x04port\x18\x02 \x01(\r\x12\x15\n\rsource_subnet\x18\x03 \x01(\t\x12U\n\rsource_labels\x18\x04 \x03(\x0b\x32>.istio.networking.v1alpha3.L4MatchAttributes.SourceLabelsEntry\x12\x10\n\x08gateways\x18\x05 \x03(\t\x1a\x33\n\x11SourceLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\x88\x02\n\x12TLSMatchAttributes\x12\x11\n\tsni_hosts\x18\x01 \x03(\t\x12\x1b\n\x13\x64\x65stination_subnets\x18\x02 \x03(\t\x12\x0c\n\x04port\x18\x03 \x01(\r\x12\x15\n\rsource_subnet\x18\x04 \x01(\t\x12V\n\rsource_labels\x18\x05 \x03(\x0b\x32?.istio.networking.v1alpha3.TLSMatchAttributes.SourceLabelsEntry\x12\x10\n\x08gateways\x18\x06 \x03(\t\x1a\x33\n\x11SourceLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\".\n\x0cHTTPRedirect\x12\x0b\n\x03uri\x18\x01 \x01(\t\x12\x11\n\tauthority\x18\x02 \x01(\t\"-\n\x0bHTTPRewrite\x12\x0b\n\x03uri\x18\x01 \x01(\t\x12\x11\n\tauthority\x18\x02 \x01(\t\"O\n\x0bStringMatch\x12\x0f\n\x05\x65xact\x18\x01 \x01(\tH\x00\x12\x10\n\x06prefix\x18\x02 \x01(\tH\x00\x12\x0f\n\x05regex\x18\x03 \x01(\tH\x00\x42\x0c\n\nmatch_type\"c\n\tHTTPRetry\x12\x10\n\x08\x61ttempts\x18\x01 \x01(\x05\x12\x32\n\x0fper_try_timeout\x18\x02 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x10\n\x08retry_on\x18\x03 \x01(\t\"\xcb\x01\n\nCorsPolicy\x12\x14\n\x0c\x61llow_origin\x18\x01 \x03(\t\x12\x15\n\rallow_methods\x18\x02 \x03(\t\x12\x15\n\rallow_headers\x18\x03 \x03(\t\x12\x16\n\x0e\x65xpose_headers\x18\x04 \x03(\t\x12*\n\x07max_age\x18\x05 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x35\n\x11\x61llow_credentials\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.BoolValue\"\x9a\x04\n\x12HTTPFaultInjection\x12\x42\n\x05\x64\x65lay\x18\x01 \x01(\x0b\x32\x33.istio.networking.v1alpha3.HTTPFaultInjection.Delay\x12\x42\n\x05\x61\x62ort\x18\x02 \x01(\x0b\x32\x33.istio.networking.v1alpha3.HTTPFaultInjection.Abort\x1a\xd1\x01\n\x05\x44\x65lay\x12\x13\n\x07percent\x18\x01 \x01(\x05\x42\x02\x18\x01\x12\x30\n\x0b\x66ixed_delay\x18\x02 \x01(\x0b\x32\x19.google.protobuf.DurationH\x00\x12\x36\n\x11\x65xponential_delay\x18\x03 \x01(\x0b\x32\x19.google.protobuf.DurationH\x00\x12\x36\n\npercentage\x18\x05 \x01(\x0b\x32\".istio.networking.v1alpha3.PercentB\x11\n\x0fhttp_delay_type\x1a\xa7\x01\n\x05\x41\x62ort\x12\x13\n\x07percent\x18\x01 \x01(\x05\x42\x02\x18\x01\x12\x15\n\x0bhttp_status\x18\x02 \x01(\x05H\x00\x12\x15\n\x0bgrpc_status\x18\x03 \x01(\tH\x00\x12\x15\n\x0bhttp2_error\x18\x04 \x01(\tH\x00\x12\x36\n\npercentage\x18\x05 \x01(\x0b\x32\".istio.networking.v1alpha3.PercentB\x0c\n\nerror_type\"8\n\x0cPortSelector\x12\x10\n\x06number\x18\x01 \x01(\rH\x00\x12\x0e\n\x04name\x18\x02 \x01(\tH\x00\x42\x06\n\x04port\"\x18\n\x07Percent\x12\r\n\x05value\x18\x01 \x01(\x01\x42\"Z istio.io/api/networking/v1alpha3b\x06proto3')
,
- dependencies=[google_dot_protobuf_dot_duration__pb2.DESCRIPTOR,google_dot_protobuf_dot_wrappers__pb2.DESCRIPTOR,])
+ dependencies=[google_dot_protobuf_dot_duration__pb2.DESCRIPTOR,google_dot_protobuf_dot_wrappers__pb2.DESCRIPTOR,networking_dot_v1alpha3_dot_network__scope__pb2.DESCRIPTOR,])
@@ -70,6 +71,13 @@
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None, file=DESCRIPTOR),
+ _descriptor.FieldDescriptor(
+ name='config_scope', full_name='istio.networking.v1alpha3.VirtualService.config_scope', index=5,
+ number=6, 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=[
],
@@ -82,8 +90,8 @@
extension_ranges=[],
oneofs=[
],
- serialized_start=137,
- serialized_end=338,
+ serialized_start=178,
+ serialized_end=441,
)
@@ -127,8 +135,8 @@
extension_ranges=[],
oneofs=[
],
- serialized_start=340,
- serialized_end=438,
+ serialized_start=443,
+ serialized_end=541,
)
@@ -165,8 +173,8 @@
extension_ranges=[],
oneofs=[
],
- serialized_start=1411,
- serialized_end=1463,
+ serialized_start=1514,
+ serialized_end=1566,
)
_HTTPROUTE_APPENDRESPONSEHEADERSENTRY = _descriptor.Descriptor(
@@ -202,8 +210,8 @@
extension_ranges=[],
oneofs=[
],
- serialized_start=1465,
- serialized_end=1525,
+ serialized_start=1568,
+ serialized_end=1628,
)
_HTTPROUTE_APPENDREQUESTHEADERSENTRY = _descriptor.Descriptor(
@@ -239,8 +247,8 @@
extension_ranges=[],
oneofs=[
],
- serialized_start=1527,
- serialized_end=1586,
+ serialized_start=1630,
+ serialized_end=1689,
)
_HTTPROUTE = _descriptor.Descriptor(
@@ -374,8 +382,8 @@
extension_ranges=[],
oneofs=[
],
- serialized_start=441,
- serialized_end=1586,
+ serialized_start=544,
+ serialized_end=1689,
)
@@ -412,8 +420,8 @@
extension_ranges=[],
oneofs=[
],
- serialized_start=1928,
- serialized_end=1970,
+ serialized_start=2031,
+ serialized_end=2073,
)
_HEADERS_HEADEROPERATIONS_ADDENTRY = _descriptor.Descriptor(
@@ -449,8 +457,8 @@
extension_ranges=[],
oneofs=[
],
- serialized_start=1972,
- serialized_end=2014,
+ serialized_start=2075,
+ serialized_end=2117,
)
_HEADERS_HEADEROPERATIONS = _descriptor.Descriptor(
@@ -493,8 +501,8 @@
extension_ranges=[],
oneofs=[
],
- serialized_start=1742,
- serialized_end=2014,
+ serialized_start=1845,
+ serialized_end=2117,
)
_HEADERS = _descriptor.Descriptor(
@@ -530,8 +538,8 @@
extension_ranges=[],
oneofs=[
],
- serialized_start=1589,
- serialized_end=2014,
+ serialized_start=1692,
+ serialized_end=2117,
)
@@ -568,8 +576,8 @@
extension_ranges=[],
oneofs=[
],
- serialized_start=2017,
- serialized_end=2149,
+ serialized_start=2120,
+ serialized_end=2252,
)
@@ -606,8 +614,8 @@
extension_ranges=[],
oneofs=[
],
- serialized_start=2152,
- serialized_end=2283,
+ serialized_start=2255,
+ serialized_end=2386,
)
@@ -644,8 +652,8 @@
extension_ranges=[],
oneofs=[
],
- serialized_start=2723,
- serialized_end=2809,
+ serialized_start=2826,
+ serialized_end=2912,
)
_HTTPMATCHREQUEST_SOURCELABELSENTRY = _descriptor.Descriptor(
@@ -681,8 +689,8 @@
extension_ranges=[],
oneofs=[
],
- serialized_start=2811,
- serialized_end=2862,
+ serialized_start=2914,
+ serialized_end=2965,
)
_HTTPMATCHREQUEST = _descriptor.Descriptor(
@@ -760,8 +768,8 @@
extension_ranges=[],
oneofs=[
],
- serialized_start=2286,
- serialized_end=2862,
+ serialized_start=2389,
+ serialized_end=2965,
)
@@ -798,8 +806,8 @@
extension_ranges=[],
oneofs=[
],
- serialized_start=1465,
- serialized_end=1525,
+ serialized_start=1568,
+ serialized_end=1628,
)
_HTTPROUTEDESTINATION_APPENDREQUESTHEADERSENTRY = _descriptor.Descriptor(
@@ -835,8 +843,8 @@
extension_ranges=[],
oneofs=[
],
- serialized_start=1527,
- serialized_end=1586,
+ serialized_start=1630,
+ serialized_end=1689,
)
_HTTPROUTEDESTINATION = _descriptor.Descriptor(
@@ -907,8 +915,8 @@
extension_ranges=[],
oneofs=[
],
- serialized_start=2865,
- serialized_end=3437,
+ serialized_start=2968,
+ serialized_end=3540,
)
@@ -945,8 +953,8 @@
extension_ranges=[],
oneofs=[
],
- serialized_start=3439,
- serialized_end=3534,
+ serialized_start=3542,
+ serialized_end=3637,
)
@@ -983,8 +991,8 @@
extension_ranges=[],
oneofs=[
],
- serialized_start=2811,
- serialized_end=2862,
+ serialized_start=2914,
+ serialized_end=2965,
)
_L4MATCHATTRIBUTES = _descriptor.Descriptor(
@@ -1041,8 +1049,8 @@
extension_ranges=[],
oneofs=[
],
- serialized_start=3537,
- serialized_end=3780,
+ serialized_start=3640,
+ serialized_end=3883,
)
@@ -1079,8 +1087,8 @@
extension_ranges=[],
oneofs=[
],
- serialized_start=2811,
- serialized_end=2862,
+ serialized_start=2914,
+ serialized_end=2965,
)
_TLSMATCHATTRIBUTES = _descriptor.Descriptor(
@@ -1144,8 +1152,8 @@
extension_ranges=[],
oneofs=[
],
- serialized_start=3783,
- serialized_end=4047,
+ serialized_start=3886,
+ serialized_end=4150,
)
@@ -1182,8 +1190,8 @@
extension_ranges=[],
oneofs=[
],
- serialized_start=4049,
- serialized_end=4095,
+ serialized_start=4152,
+ serialized_end=4198,
)
@@ -1220,8 +1228,8 @@
extension_ranges=[],
oneofs=[
],
- serialized_start=4097,
- serialized_end=4142,
+ serialized_start=4200,
+ serialized_end=4245,
)
@@ -1268,8 +1276,8 @@
name='match_type', full_name='istio.networking.v1alpha3.StringMatch.match_type',
index=0, containing_type=None, fields=[]),
],
- serialized_start=4144,
- serialized_end=4223,
+ serialized_start=4247,
+ serialized_end=4326,
)
@@ -1313,8 +1321,8 @@
extension_ranges=[],
oneofs=[
],
- serialized_start=4225,
- serialized_end=4324,
+ serialized_start=4328,
+ serialized_end=4427,
)
@@ -1379,8 +1387,8 @@
extension_ranges=[],
oneofs=[
],
- serialized_start=4327,
- serialized_end=4530,
+ serialized_start=4430,
+ serialized_end=4633,
)
@@ -1434,8 +1442,8 @@
name='http_delay_type', full_name='istio.networking.v1alpha3.HTTPFaultInjection.Delay.http_delay_type',
index=0, containing_type=None, fields=[]),
],
- serialized_start=4692,
- serialized_end=4901,
+ serialized_start=4795,
+ serialized_end=5004,
)
_HTTPFAULTINJECTION_ABORT = _descriptor.Descriptor(
@@ -1495,8 +1503,8 @@
name='error_type', full_name='istio.networking.v1alpha3.HTTPFaultInjection.Abort.error_type',
index=0, containing_type=None, fields=[]),
],
- serialized_start=4904,
- serialized_end=5071,
+ serialized_start=5007,
+ serialized_end=5174,
)
_HTTPFAULTINJECTION = _descriptor.Descriptor(
@@ -1532,8 +1540,8 @@
extension_ranges=[],
oneofs=[
],
- serialized_start=4533,
- serialized_end=5071,
+ serialized_start=4636,
+ serialized_end=5174,
)
@@ -1573,8 +1581,8 @@
name='port', full_name='istio.networking.v1alpha3.PortSelector.port',
index=0, containing_type=None, fields=[]),
],
- serialized_start=5073,
- serialized_end=5129,
+ serialized_start=5176,
+ serialized_end=5232,
)
@@ -1604,13 +1612,14 @@
extension_ranges=[],
oneofs=[
],
- serialized_start=5131,
- serialized_end=5155,
+ serialized_start=5234,
+ serialized_end=5258,
)
_VIRTUALSERVICE.fields_by_name['http'].message_type = _HTTPROUTE
_VIRTUALSERVICE.fields_by_name['tls'].message_type = _TLSROUTE
_VIRTUALSERVICE.fields_by_name['tcp'].message_type = _TCPROUTE
+_VIRTUALSERVICE.fields_by_name['config_scope'].enum_type = networking_dot_v1alpha3_dot_network__scope__pb2._CONFIGSCOPE
_DESTINATION.fields_by_name['port'].message_type = _PORTSELECTOR
_HTTPROUTE_APPENDHEADERSENTRY.containing_type = _HTTPROUTE
_HTTPROUTE_APPENDRESPONSEHEADERSENTRY.containing_type = _HTTPROUTE
From 49946a7daf8033a750d8bb966022255fcb38558d Mon Sep 17 00:00:00 2001
From: Shriram Rajagopalan
Date: Wed, 28 Nov 2018 22:24:25 -0500
Subject: [PATCH 10/10] rename NetworkScope to ServiceDependency (#720)
* rename NetworkScope to ServiceDependency
Signed-off-by: Shriram Rajagopalan
* update
Signed-off-by: Shriram Rajagopalan
---
mesh/v1alpha1/config.pb.go | 251 ++++++------
mesh/v1alpha1/config.proto | 22 +-
mesh/v1alpha1/istio.mesh.v1alpha1.pb.html | 38 +-
networking/v1alpha3/destination_rule.pb.go | 184 ++++-----
networking/v1alpha3/destination_rule.proto | 2 +-
.../istio.networking.v1alpha3.pb.html | 362 +++++++++---------
...k_scope.pb.go => service_dependency.pb.go} | 285 +++++++-------
...k_scope.proto => service_dependency.proto} | 38 +-
networking/v1alpha3/service_entry.pb.go | 68 ++--
networking/v1alpha3/service_entry.proto | 2 +-
networking/v1alpha3/virtual_service.pb.go | 228 +++++------
networking/v1alpha3/virtual_service.proto | 3 +-
proto.lock | 12 +-
python/istio_api/mesh/v1alpha1/config_pb2.py | 74 ++--
.../v1alpha3/destination_rule_pb2.py | 72 ++--
...scope_pb2.py => service_dependency_pb2.py} | 114 +++---
.../networking/v1alpha3/service_entry_pb2.py | 32 +-
.../v1alpha3/virtual_service_pb2.py | 140 +++----
18 files changed, 966 insertions(+), 961 deletions(-)
rename networking/v1alpha3/{network_scope.pb.go => service_dependency.pb.go} (65%)
rename networking/v1alpha3/{network_scope.proto => service_dependency.proto} (84%)
rename python/istio_api/networking/v1alpha3/{network_scope_pb2.py => service_dependency_pb2.py} (54%)
diff --git a/mesh/v1alpha1/config.pb.go b/mesh/v1alpha1/config.pb.go
index 7ae7af46e6..4552e43de2 100644
--- a/mesh/v1alpha1/config.pb.go
+++ b/mesh/v1alpha1/config.pb.go
@@ -152,31 +152,31 @@ func (MeshConfig_OutboundTrafficPolicy_Mode) EnumDescriptor() ([]byte, []int) {
return fileDescriptorConfig, []int{0, 0, 0}
}
-type MeshConfig_DefaultNetworkScope_Mode int32
+type MeshConfig_DefaultServiceDependency_Mode int32
const (
// Configure routes to services in all namespaces, i.e. import
// services from all namespaces.
- MeshConfig_DefaultNetworkScope_ALL_NAMESPACES MeshConfig_DefaultNetworkScope_Mode = 0
+ MeshConfig_DefaultServiceDependency_ALL_NAMESPACES MeshConfig_DefaultServiceDependency_Mode = 0
// Only configure routes to services that are in the same namespace
// as the workload as well as services in namespaces specified in
// importNamespaces.
- MeshConfig_DefaultNetworkScope_SAME_NAMESPACE MeshConfig_DefaultNetworkScope_Mode = 1
+ MeshConfig_DefaultServiceDependency_SAME_NAMESPACE MeshConfig_DefaultServiceDependency_Mode = 1
)
-var MeshConfig_DefaultNetworkScope_Mode_name = map[int32]string{
+var MeshConfig_DefaultServiceDependency_Mode_name = map[int32]string{
0: "ALL_NAMESPACES",
1: "SAME_NAMESPACE",
}
-var MeshConfig_DefaultNetworkScope_Mode_value = map[string]int32{
+var MeshConfig_DefaultServiceDependency_Mode_value = map[string]int32{
"ALL_NAMESPACES": 0,
"SAME_NAMESPACE": 1,
}
-func (x MeshConfig_DefaultNetworkScope_Mode) String() string {
- return proto.EnumName(MeshConfig_DefaultNetworkScope_Mode_name, int32(x))
+func (x MeshConfig_DefaultServiceDependency_Mode) String() string {
+ return proto.EnumName(MeshConfig_DefaultServiceDependency_Mode_name, int32(x))
}
-func (MeshConfig_DefaultNetworkScope_Mode) EnumDescriptor() ([]byte, []int) {
+func (MeshConfig_DefaultServiceDependency_Mode) EnumDescriptor() ([]byte, []int) {
return fileDescriptorConfig, []int{0, 1, 0}
}
@@ -278,12 +278,12 @@ type MeshConfig struct {
// Refer to https://github.com/spiffe/spiffe/blob/master/standards/SPIFFE-ID.md#21-trust-domain
// Fallback to old identity format(without trust domain) if not set.
TrustDomain string `protobuf:"bytes,26,opt,name=trust_domain,json=trustDomain,proto3" json:"trust_domain,omitempty"`
- // The default network scope associated with every workload in the mesh.
- // Pilot will program the routes in the sidecars and gateways
- // accordingly. If omitted, sidecars will be configured to reach every
- // service in the mesh. The default scope can be overriden by supplying a
- // NetworkScope resource per namespace.
- DefaultNetworkScope *MeshConfig_DefaultNetworkScope `protobuf:"bytes,29,opt,name=default_network_scope,json=defaultNetworkScope" json:"default_network_scope,omitempty"`
+ // The default service dependency setting associated with every workload
+ // in the mesh. Pilot will program the routes in the sidecars and
+ // gateways accordingly. If omitted, sidecars will be configured to reach
+ // every service in the mesh. The default scope can be overriden by
+ // supplying a ServiceDependency resource per namespace.
+ DefaultServiceDependency *MeshConfig_DefaultServiceDependency `protobuf:"bytes,29,opt,name=default_service_dependency,json=defaultServiceDependency" json:"default_service_dependency,omitempty"`
}
func (m *MeshConfig) Reset() { *m = MeshConfig{} }
@@ -473,9 +473,9 @@ func (m *MeshConfig) GetTrustDomain() string {
return ""
}
-func (m *MeshConfig) GetDefaultNetworkScope() *MeshConfig_DefaultNetworkScope {
+func (m *MeshConfig) GetDefaultServiceDependency() *MeshConfig_DefaultServiceDependency {
if m != nil {
- return m.DefaultNetworkScope
+ return m.DefaultServiceDependency
}
return nil
}
@@ -498,35 +498,35 @@ func (m *MeshConfig_OutboundTrafficPolicy) GetMode() MeshConfig_OutboundTrafficP
return MeshConfig_OutboundTrafficPolicy_REGISTRY_ONLY
}
-// Default network scope settings for each workload in the mesh. Network
-// scope controls the reachability of workloads to other services in the
-// mesh.
-type MeshConfig_DefaultNetworkScope struct {
+// Default service dependency settings for each workload in the
+// mesh. ServiceDependencycontrols the reachability of workloads to other
+// services in the mesh.
+type MeshConfig_DefaultServiceDependency struct {
// REQUIRED: The default import setting for every workload in the mesh.
- ImportMode MeshConfig_DefaultNetworkScope_Mode `protobuf:"varint,1,opt,name=import_mode,json=importMode,proto3,enum=istio.mesh.v1alpha1.MeshConfig_DefaultNetworkScope_Mode" json:"import_mode,omitempty"`
+ ImportMode MeshConfig_DefaultServiceDependency_Mode `protobuf:"varint,1,opt,name=import_mode,json=importMode,proto3,enum=istio.mesh.v1alpha1.MeshConfig_DefaultServiceDependency_Mode" json:"import_mode,omitempty"`
// Specifies one or more namespaces that should be imported by default
- // in all user defined NetworkScope resources in addition to the
+ // in all user defined ServiceDependency resources in addition to the
// namespaces explicitly specified by the end user. Use this setting to
// automatically import services/resources from namespaces such as
// istio-system that all workloads in the mesh depend upon.
ImportNamespaces []string `protobuf:"bytes,2,rep,name=import_namespaces,json=importNamespaces" json:"import_namespaces,omitempty"`
}
-func (m *MeshConfig_DefaultNetworkScope) Reset() { *m = MeshConfig_DefaultNetworkScope{} }
-func (m *MeshConfig_DefaultNetworkScope) String() string { return proto.CompactTextString(m) }
-func (*MeshConfig_DefaultNetworkScope) ProtoMessage() {}
-func (*MeshConfig_DefaultNetworkScope) Descriptor() ([]byte, []int) {
+func (m *MeshConfig_DefaultServiceDependency) Reset() { *m = MeshConfig_DefaultServiceDependency{} }
+func (m *MeshConfig_DefaultServiceDependency) String() string { return proto.CompactTextString(m) }
+func (*MeshConfig_DefaultServiceDependency) ProtoMessage() {}
+func (*MeshConfig_DefaultServiceDependency) Descriptor() ([]byte, []int) {
return fileDescriptorConfig, []int{0, 1}
}
-func (m *MeshConfig_DefaultNetworkScope) GetImportMode() MeshConfig_DefaultNetworkScope_Mode {
+func (m *MeshConfig_DefaultServiceDependency) GetImportMode() MeshConfig_DefaultServiceDependency_Mode {
if m != nil {
return m.ImportMode
}
- return MeshConfig_DefaultNetworkScope_ALL_NAMESPACES
+ return MeshConfig_DefaultServiceDependency_ALL_NAMESPACES
}
-func (m *MeshConfig_DefaultNetworkScope) GetImportNamespaces() []string {
+func (m *MeshConfig_DefaultServiceDependency) GetImportNamespaces() []string {
if m != nil {
return m.ImportNamespaces
}
@@ -569,13 +569,13 @@ func (m *ConfigSource) GetTlsSettings() *istio_networking_v1alpha32.TLSSettings
func init() {
proto.RegisterType((*MeshConfig)(nil), "istio.mesh.v1alpha1.MeshConfig")
proto.RegisterType((*MeshConfig_OutboundTrafficPolicy)(nil), "istio.mesh.v1alpha1.MeshConfig.OutboundTrafficPolicy")
- proto.RegisterType((*MeshConfig_DefaultNetworkScope)(nil), "istio.mesh.v1alpha1.MeshConfig.DefaultNetworkScope")
+ proto.RegisterType((*MeshConfig_DefaultServiceDependency)(nil), "istio.mesh.v1alpha1.MeshConfig.DefaultServiceDependency")
proto.RegisterType((*ConfigSource)(nil), "istio.mesh.v1alpha1.ConfigSource")
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_AccessLogEncoding", MeshConfig_AccessLogEncoding_name, MeshConfig_AccessLogEncoding_value)
proto.RegisterEnum("istio.mesh.v1alpha1.MeshConfig_OutboundTrafficPolicy_Mode", MeshConfig_OutboundTrafficPolicy_Mode_name, MeshConfig_OutboundTrafficPolicy_Mode_value)
- proto.RegisterEnum("istio.mesh.v1alpha1.MeshConfig_DefaultNetworkScope_Mode", MeshConfig_DefaultNetworkScope_Mode_name, MeshConfig_DefaultNetworkScope_Mode_value)
+ proto.RegisterEnum("istio.mesh.v1alpha1.MeshConfig_DefaultServiceDependency_Mode", MeshConfig_DefaultServiceDependency_Mode_name, MeshConfig_DefaultServiceDependency_Mode_value)
}
func (m *MeshConfig) Marshal() (dAtA []byte, err error) {
size := m.Size()
@@ -817,13 +817,13 @@ func (m *MeshConfig) MarshalTo(dAtA []byte) (int, error) {
}
i += n6
}
- if m.DefaultNetworkScope != nil {
+ if m.DefaultServiceDependency != nil {
dAtA[i] = 0xea
i++
dAtA[i] = 0x1
i++
- i = encodeVarintConfig(dAtA, i, uint64(m.DefaultNetworkScope.Size()))
- n7, err := m.DefaultNetworkScope.MarshalTo(dAtA[i:])
+ i = encodeVarintConfig(dAtA, i, uint64(m.DefaultServiceDependency.Size()))
+ n7, err := m.DefaultServiceDependency.MarshalTo(dAtA[i:])
if err != nil {
return 0, err
}
@@ -855,7 +855,7 @@ func (m *MeshConfig_OutboundTrafficPolicy) MarshalTo(dAtA []byte) (int, error) {
return i, nil
}
-func (m *MeshConfig_DefaultNetworkScope) Marshal() (dAtA []byte, err error) {
+func (m *MeshConfig_DefaultServiceDependency) Marshal() (dAtA []byte, err error) {
size := m.Size()
dAtA = make([]byte, size)
n, err := m.MarshalTo(dAtA)
@@ -865,7 +865,7 @@ func (m *MeshConfig_DefaultNetworkScope) Marshal() (dAtA []byte, err error) {
return dAtA[:n], nil
}
-func (m *MeshConfig_DefaultNetworkScope) MarshalTo(dAtA []byte) (int, error) {
+func (m *MeshConfig_DefaultServiceDependency) MarshalTo(dAtA []byte) (int, error) {
var i int
_ = i
var l int
@@ -1035,8 +1035,8 @@ func (m *MeshConfig) Size() (n int) {
l = m.TcpKeepalive.Size()
n += 2 + l + sovConfig(uint64(l))
}
- if m.DefaultNetworkScope != nil {
- l = m.DefaultNetworkScope.Size()
+ if m.DefaultServiceDependency != nil {
+ l = m.DefaultServiceDependency.Size()
n += 2 + l + sovConfig(uint64(l))
}
return n
@@ -1051,7 +1051,7 @@ func (m *MeshConfig_OutboundTrafficPolicy) Size() (n int) {
return n
}
-func (m *MeshConfig_DefaultNetworkScope) Size() (n int) {
+func (m *MeshConfig_DefaultServiceDependency) Size() (n int) {
var l int
_ = l
if m.ImportMode != 0 {
@@ -1809,7 +1809,7 @@ func (m *MeshConfig) Unmarshal(dAtA []byte) error {
iNdEx = postIndex
case 29:
if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field DefaultNetworkScope", wireType)
+ return fmt.Errorf("proto: wrong wireType = %d for field DefaultServiceDependency", wireType)
}
var msglen int
for shift := uint(0); ; shift += 7 {
@@ -1833,10 +1833,10 @@ func (m *MeshConfig) Unmarshal(dAtA []byte) error {
if postIndex > l {
return io.ErrUnexpectedEOF
}
- if m.DefaultNetworkScope == nil {
- m.DefaultNetworkScope = &MeshConfig_DefaultNetworkScope{}
+ if m.DefaultServiceDependency == nil {
+ m.DefaultServiceDependency = &MeshConfig_DefaultServiceDependency{}
}
- if err := m.DefaultNetworkScope.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ if err := m.DefaultServiceDependency.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
return err
}
iNdEx = postIndex
@@ -1930,7 +1930,7 @@ func (m *MeshConfig_OutboundTrafficPolicy) Unmarshal(dAtA []byte) error {
}
return nil
}
-func (m *MeshConfig_DefaultNetworkScope) Unmarshal(dAtA []byte) error {
+func (m *MeshConfig_DefaultServiceDependency) Unmarshal(dAtA []byte) error {
l := len(dAtA)
iNdEx := 0
for iNdEx < l {
@@ -1953,10 +1953,10 @@ func (m *MeshConfig_DefaultNetworkScope) Unmarshal(dAtA []byte) error {
fieldNum := int32(wire >> 3)
wireType := int(wire & 0x7)
if wireType == 4 {
- return fmt.Errorf("proto: DefaultNetworkScope: wiretype end group for non-group")
+ return fmt.Errorf("proto: DefaultServiceDependency: wiretype end group for non-group")
}
if fieldNum <= 0 {
- return fmt.Errorf("proto: DefaultNetworkScope: illegal tag %d (wire type %d)", fieldNum, wire)
+ return fmt.Errorf("proto: DefaultServiceDependency: illegal tag %d (wire type %d)", fieldNum, wire)
}
switch fieldNum {
case 1:
@@ -1973,7 +1973,7 @@ func (m *MeshConfig_DefaultNetworkScope) Unmarshal(dAtA []byte) error {
}
b := dAtA[iNdEx]
iNdEx++
- m.ImportMode |= (MeshConfig_DefaultNetworkScope_Mode(b) & 0x7F) << shift
+ m.ImportMode |= (MeshConfig_DefaultServiceDependency_Mode(b) & 0x7F) << shift
if b < 0x80 {
break
}
@@ -2248,82 +2248,83 @@ var (
func init() { proto.RegisterFile("mesh/v1alpha1/config.proto", fileDescriptorConfig) }
var fileDescriptorConfig = []byte{
- // 1226 bytes of a gzipped FileDescriptorProto
- 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x56, 0xdd, 0x6e, 0xdb, 0xb6,
- 0x17, 0x8f, 0x92, 0xb4, 0x49, 0x8f, 0x3f, 0x22, 0xd3, 0x75, 0xab, 0xba, 0xfd, 0xe7, 0xef, 0x66,
- 0x58, 0x6b, 0x74, 0x83, 0x8c, 0x26, 0x18, 0xb0, 0xed, 0xce, 0x75, 0x9c, 0xd6, 0x99, 0x63, 0x1b,
- 0x92, 0xd2, 0x2d, 0xbb, 0x21, 0x14, 0x89, 0xb6, 0x89, 0xc8, 0xa2, 0x26, 0x52, 0x5d, 0xfb, 0x6c,
- 0x7b, 0x81, 0xdd, 0x0c, 0xd8, 0x03, 0xec, 0x62, 0xe8, 0x93, 0x0c, 0x24, 0xa5, 0xd8, 0x6d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b, 0x09, 0xf2, 0xfa, 0x6e, 0x3e, 0x2a,
+ 0x4e, 0x41, 0x46, 0x22, 0x3f, 0xbc, 0xa8, 0xff, 0xfa, 0x6e, 0xdf, 0xfa, 0xed, 0xdd, 0xbe, 0xf5,
+ 0xc7, 0xbb, 0x7d, 0xeb, 0x87, 0xaa, 0xf1, 0xc0, 0x78, 0xd3, 0x4f, 0x58, 0xf3, 0xbd, 0xdf, 0xb9,
+ 0xf3, 0xdb, 0x7a, 0x8b, 0x1e, 0xfd, 0x15, 0x00, 0x00, 0xff, 0xff, 0xa2, 0xcc, 0xca, 0xe8, 0x37,
+ 0x0a, 0x00, 0x00,
}
diff --git a/mesh/v1alpha1/config.proto b/mesh/v1alpha1/config.proto
index 975d8c5a01..b2bd4b9956 100644
--- a/mesh/v1alpha1/config.proto
+++ b/mesh/v1alpha1/config.proto
@@ -199,10 +199,10 @@ message MeshConfig {
// Fallback to old identity format(without trust domain) if not set.
string trust_domain = 26;
- // Default network scope settings for each workload in the mesh. Network
- // scope controls the reachability of workloads to other services in the
- // mesh.
- message DefaultNetworkScope {
+ // Default service dependency settings for each workload in the
+ // mesh. ServiceDependencycontrols the reachability of workloads to other
+ // services in the mesh.
+ message DefaultServiceDependency {
enum Mode {
// Configure routes to services in all namespaces, i.e. import
// services from all namespaces.
@@ -218,19 +218,19 @@ message MeshConfig {
Mode import_mode = 1;
// Specifies one or more namespaces that should be imported by default
- // in all user defined NetworkScope resources in addition to the
+ // in all user defined ServiceDependency resources in addition to the
// namespaces explicitly specified by the end user. Use this setting to
// automatically import services/resources from namespaces such as
// istio-system that all workloads in the mesh depend upon.
repeated string import_namespaces = 2;
}
- // The default network scope associated with every workload in the mesh.
- // Pilot will program the routes in the sidecars and gateways
- // accordingly. If omitted, sidecars will be configured to reach every
- // service in the mesh. The default scope can be overriden by supplying a
- // NetworkScope resource per namespace.
- DefaultNetworkScope default_network_scope = 29;
+ // The default service dependency setting associated with every workload
+ // in the mesh. Pilot will program the routes in the sidecars and
+ // gateways accordingly. If omitted, sidecars will be configured to reach
+ // every service in the mesh. The default scope can be overriden by
+ // supplying a ServiceDependency resource per namespace.
+ DefaultServiceDependency default_service_dependency = 29;
// $hide_from_docs
// Next available field number: 30
diff --git a/mesh/v1alpha1/istio.mesh.v1alpha1.pb.html b/mesh/v1alpha1/istio.mesh.v1alpha1.pb.html
index 6296b26b6a..c01ecef561 100644
--- a/mesh/v1alpha1/istio.mesh.v1alpha1.pb.html
+++ b/mesh/v1alpha1/istio.mesh.v1alpha1.pb.html
@@ -305,15 +305,15 @@ MeshConfig
-
-defaultNetworkScope |
-MeshConfig.DefaultNetworkScope |
+
+defaultServiceDependency |
+MeshConfig.DefaultServiceDependency |
- The default network scope associated with every workload in the mesh.
-Pilot will program the routes in the sidecars and gateways
-accordingly. If omitted, sidecars will be configured to reach every
-service in the mesh. The default scope can be overriden by supplying a
-NetworkScope resource per namespace.
+The default service dependency setting associated with every workload
+in the mesh. Pilot will program the routes in the sidecars and
+gateways accordingly. If omitted, sidecars will be configured to reach
+every service in the mesh. The default scope can be overriden by
+supplying a ServiceDependency resource per namespace.
|
@@ -343,11 +343,11 @@ MeshConfig.AccessLogEncoding
-MeshConfig.DefaultNetworkScope
+MeshConfig.DefaultServiceDependency
-Default network scope settings for each workload in the mesh. Network
-scope controls the reachability of workloads to other services in the
-mesh.
+Default service dependency settings for each workload in the
+mesh. ServiceDependencycontrols the reachability of workloads to other
+services in the mesh.
@@ -358,20 +358,20 @@ MeshConfig.DefaultNetworkScope
-
+
importMode |
-MeshConfig.DefaultNetworkScope.Mode |
+MeshConfig.DefaultServiceDependency.Mode |
REQUIRED: The default import setting for every workload in the mesh.
|
-
+
importNamespaces |
string[] |
Specifies one or more namespaces that should be imported by default
-in all user defined NetworkScope resources in addition to the
+in all user defined ServiceDependency resources in addition to the
namespaces explicitly specified by the end user. Use this setting to
automatically import services/resources from namespaces such as
istio-system that all workloads in the mesh depend upon.
@@ -381,7 +381,7 @@ MeshConfig.DefaultNetworkScope
|
-MeshConfig.DefaultNetworkScope.Mode
+MeshConfig.DefaultServiceDependency.Mode
@@ -391,7 +391,7 @@ MeshConfig.DefaultNetworkScope.Mode
-
+
ALL_NAMESPACES |
Configure routes to services in all namespaces, i.e. import
@@ -399,7 +399,7 @@ MeshConfig.DefaultNetworkScope.Mode
|
-
+
SAME_NAMESPACE |
Only configure routes to services that are in the same namespace
diff --git a/networking/v1alpha3/destination_rule.pb.go b/networking/v1alpha3/destination_rule.pb.go
index 44df1d8164..434926b92d 100644
--- a/networking/v1alpha3/destination_rule.pb.go
+++ b/networking/v1alpha3/destination_rule.pb.go
@@ -8,7 +8,7 @@
networking/v1alpha3/destination_rule.proto
networking/v1alpha3/envoy_filter.proto
networking/v1alpha3/gateway.proto
- networking/v1alpha3/network_scope.proto
+ networking/v1alpha3/service_dependency.proto
networking/v1alpha3/service_entry.proto
networking/v1alpha3/virtual_service.proto
@@ -24,7 +24,7 @@
Gateway
Server
Port
- NetworkScope
+ ServiceDependency
ServiceEntry
VirtualService
Destination
@@ -4500,94 +4500,94 @@ func init() {
}
var fileDescriptorDestinationRule = []byte{
- // 1416 bytes of a gzipped FileDescriptorProto
- 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x57, 0x4f, 0x6f, 0x1b, 0xb7,
- 0x12, 0xb7, 0xfe, 0xc6, 0x1e, 0xd9, 0xb2, 0xcc, 0x67, 0xe4, 0x29, 0x7a, 0x80, 0xe3, 0x27, 0x14,
- 0x8d, 0x9b, 0x36, 0xab, 0xda, 0x41, 0x81, 0x34, 0x41, 0x8a, 0x58, 0xb6, 0x11, 0xb9, 0x91, 0x2d,
- 0x81, 0x2b, 0x03, 0x45, 0x2e, 0x0b, 0x6a, 0x45, 0x4b, 0x8c, 0x57, 0xcb, 0xed, 0x92, 0xab, 0xda,
- 0xf9, 0x0c, 0x3d, 0x07, 0xbd, 0xf6, 0xd2, 0xcf, 0x52, 0xf4, 0xd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0x6b, 0xbb,
+ 0x5a, 0xdf, 0x2b, 0xcc, 0xe9, 0x4a, 0xdc, 0xda, 0x3f, 0x68, 0xd6, 0xf7, 0xe2, 0xaa, 0x7c, 0x70,
+ 0xd4, 0x3e, 0xda, 0xae, 0x17, 0x92, 0xa8, 0x00, 0x8b, 0xfb, 0xad, 0xf6, 0x7e, 0xc3, 0xb5, 0x2b,
+ 0xa9, 0xaa, 0xf3, 0xc3, 0xab, 0xb5, 0xc4, 0x4f, 0xaf, 0xd6, 0x12, 0xbf, 0xbd, 0x5a, 0x4b, 0x3c,
+ 0x5b, 0x8f, 0x63, 0xc7, 0x78, 0x85, 0x84, 0xac, 0x72, 0xc1, 0x1f, 0x5e, 0x27, 0x6b, 0x14, 0x70,
+ 0xef, 0xef, 0x00, 0x00, 0x00, 0xff, 0xff, 0x37, 0xf8, 0x6b, 0x20, 0x91, 0x0e, 0x00, 0x00,
}
diff --git a/networking/v1alpha3/destination_rule.proto b/networking/v1alpha3/destination_rule.proto
index ebd4faf38e..e48b93c055 100644
--- a/networking/v1alpha3/destination_rule.proto
+++ b/networking/v1alpha3/destination_rule.proto
@@ -15,7 +15,7 @@ syntax = "proto3";
import "google/protobuf/duration.proto";
import "networking/v1alpha3/virtual_service.proto";
-import "networking/v1alpha3/network_scope.proto";
+import "networking/v1alpha3/service_dependency.proto";
import "gogoproto/gogo.proto";
package istio.networking.v1alpha3;
diff --git a/networking/v1alpha3/istio.networking.v1alpha3.pb.html b/networking/v1alpha3/istio.networking.v1alpha3.pb.html
index 4c91ad0146..1ec29f1a01 100644
--- a/networking/v1alpha3/istio.networking.v1alpha3.pb.html
+++ b/networking/v1alpha3/istio.networking.v1alpha3.pb.html
@@ -43,7 +43,7 @@ ConfigScope
a namespace when the namespace is imported. By default all
configuration artifacts are public. Configurations with private scope
will not be imported when the namespace containing the configuration is
-imported in a NetworkScope.
+imported in a ServiceDependency.
@@ -2402,186 +2402,6 @@ LoadBalancerSettings.SimpleLB
advanced use cases. Refer to Original Destination load balancer in
Envoy for further details.
-
-
-
-
-
-NetworkScope
-
-NetworkScope describes the set of services that a workload depends on
-for its operation. In other words, it describes the properties of
-outgoing traffic from a given workload. By default, the service mesh
-established by Istio will have a full mesh connectivity - i.e. every
-workload will have proxy configuration required to reach every other
-workload in the mesh. However most connectivity graphs are sparse in
-practice. The NetworkScope provides a way to declare the service
-dependencies associated with each workload such that the amount of
-configuration sent to the sidecars can be scoped to the requisite
-dependencies.
-
-Services and configuration in a mesh are organized into one or more
-namespaces (e.g., a Kubernetes namespace or a CF org/space). Workloads
-in a namespace have an implicit dependency on other workloads in the
-same namespace. In addition, to declare dependencies on workloads in
-other namespaces, a NetworkScope resource has to be specified in the
-current namespace. Each namespace MUST have only one NetworkScope
-resource named “default”. The behavior of the system is undefined if
-more than one NetworkScope resource exists in a given namespace. The set
-of dependencies specified in a NetworkScope resource will be used to
-compute the sidecar configuration for every workload in the namespace.
-
-NOTE 1: If workloads in the mesh depend only on other workloads in the
-same namespace, set defaultNetworkScope.importMode to SAME_NAMESPACE
-in the mesh global config map (in values.yaml).
-
-NOTE 2: To facilitate incremental pruning of the the sidecar
-configuration, the default import mode for the mesh is set to
-ALL_NAMESPACES. In other words, every workload will be able to reach
-every other workload. Adding a NetworkScope resource in a namespace will
-automatically prune the configuration for the workloads in that
-namespace.
-
-The following examples illustrate a few specific use cases of NetworkScope.
-
-The example below delcares a NetworkScope resource in the prod-us1
-namespace that specifies that workloads in the namespace will be able to
-reach the services in the prod-apis namespace only.
-
-apiVersion: networking.istio.io/v1alpha3
-kind: NetworkScope
-metadata:
- name: default
- namespace: prod-us1
-spec:
- dependencies:
- - imports:
- - namespace: prod-apis
-
-
-In a mesh where the default network scope is set to SAME_NAMESPACE
-only, if one or more workloads need to be able to reach every other
-service in the mesh (e.g., metrics collection server), the following
-NetworkScope resource can be used to specify such a dependency:
-
-apiVersion: networking.istio.io/v1alpha3
-kind: NetworkScope
-metadata:
- name: default
- namespace: metrics-collection
-spec:
- dependencies:
- - imports:
- - namespace: '*'
-
-
-The configuration above will allow workloads in the metrics-collection
-namespace to access service in any namespace while workloads in other
-namespaces will be configured for namespace local access as per the
-global default network scope (SAME_NAMESPACE).
-
-
-
-
-| Field |
-Type |
-Description |
-
-
-
-
-dependencies |
-NetworkScope.Dependency[] |
-
- REQUIRED. The set of services that workloads in this namespace are
-expected to talk to, in addition to other workloads in the same
-namespace. Dependencies describe the properties of outbound traffic from
-a given workload.
-
- |
-
-
-
-
-NetworkScope.Dependency
-
-Dependency describes a workload and the set of service dependencies
-for the workload.
-
-
-
-
-| Field |
-Type |
-Description |
-
-
-
-
-imports |
-NetworkScope.Import[] |
-
- REQUIRED: Import describes the set of namespaces whose exported
-services will be accessed by the workloads selected by the
-sourceWorkloadLabels. The sidecars attached to the workloads will be
-configured with information required to reach other services in the
-same namespace and the imported services. In addition to the
-explicitly specified namespaces, namespaces specified in the global
-mesh config (through defaultNetworkScope.importNamespaces) will also be
-imported.
-
- |
-
-
-
-
-NetworkScope.Import
-
-Import describes the set of namespaces whose exported services
-(real/virtual) will be accessed by workloads in a given namespace. The
-sidecars attached to the workloads will be configured with information
-required to reach the imported services only. The gateways in the
-current namespace will only honor imported VirtualServices instead of
-every VirtualService that binds itself to the gateway.
-
-Importing a service from a namespace will automatically import the
-exported configuration artifacts associated with the service, such as
-VirtualService, DestinationRule, etc. The service in a namespace can be
-a service in the service registry (e.g., a kubernetes or cloud foundry
-service) or a service specified via ServiceEntry configuration.
-
-NOTE: Only exported services and configuration artifacts from a
-namespace can be imported. Private services/configuration will not be
-imported. See the scope setting associated with VirtualService,
-DestinationRule, ServiceEntry, etc.
-
-
-
-
-| Field |
-Type |
-Description |
-
-
-
-
-namespace |
-string |
-
- The configuration namespace whose services need to be imported.
-Specify * to import all namespaces. The import can be scoped further
-by specifying individual hosts.
-
- |
-
-
-host |
-string |
-
- A FQDN or wildcard prefixed DNS name of the host to import from the
-specified namespace. The hostnames include names of services from the
-service registry as well as those specified in a VirtualService.
-
|
@@ -3123,6 +2943,186 @@ Server.TLSOptions.TLSmode
their respective endpoints. Use of this mode assumes that both the
source and the destination are using Istio mTLS to secure traffic.
+
+
+
+
+
+ServiceDependency
+
+ServiceDependency describes the set of services that a workload depends on
+for its operation. In other words, it describes the properties of
+outgoing traffic from a given workload. By default, the service mesh
+established by Istio will have a full mesh connectivity - i.e. every
+workload will have proxy configuration required to reach every other
+workload in the mesh. However most connectivity graphs are sparse in
+practice. The ServiceDependency provides a way to declare the service
+dependencies associated with each workload such that the amount of
+configuration sent to the sidecars can be scoped to the requisite
+dependencies.
+
+Services and configuration in a mesh are organized into one or more
+namespaces (e.g., a Kubernetes namespace or a CF org/space). Workloads
+in a namespace have an implicit dependency on other workloads in the
+same namespace. In addition, to declare dependencies on workloads in
+other namespaces, a ServiceDependency resource has to be specified in the
+current namespace. Each namespace MUST have only one ServiceDependency
+resource named “default”. The behavior of the system is undefined if
+more than one ServiceDependency resource exists in a given namespace. The set
+of dependencies specified in a ServiceDependency resource will be used to
+compute the sidecar configuration for every workload in the namespace.
+
+NOTE 1: If workloads in the mesh depend only on other workloads in the
+same namespace, set defaultServiceDependency.importMode to SAME_NAMESPACE
+in the mesh global config map (in values.yaml).
+
+NOTE 2: To facilitate incremental pruning of the the sidecar
+configuration, the default import mode for the mesh is set to
+ALL_NAMESPACES. In other words, every workload will be able to reach
+every other workload. Adding a ServiceDependency resource in a namespace will
+automatically prune the configuration for the workloads in that
+namespace.
+
+The following examples illustrate a few specific use cases of ServiceDependency.
+
+The example below delcares a ServiceDependency resource in the prod-us1
+namespace that specifies that workloads in the namespace will be able to
+reach the services in the prod-apis namespace only.
+
+apiVersion: networking.istio.io/v1alpha3
+kind: ServiceDependency
+metadata:
+ name: default
+ namespace: prod-us1
+spec:
+ dependencies:
+ - imports:
+ - namespace: prod-apis
+
+
+In a mesh where the default service dependency is set to SAME_NAMESPACE
+only, if one or more workloads need to be able to reach every other
+service in the mesh (e.g., metrics collection server), the following
+ServiceDependency resource can be used to specify such a dependency:
+
+apiVersion: networking.istio.io/v1alpha3
+kind: ServiceDependency
+metadata:
+ name: default
+ namespace: metrics-collection
+spec:
+ dependencies:
+ - imports:
+ - namespace: '*'
+
+
+The configuration above will allow workloads in the metrics-collection
+namespace to access service in any namespace while workloads in other
+namespaces will be configured for namespace local access as per the
+global default service dependency (SAME_NAMESPACE).
+
+
+
+
+| Field |
+Type |
+Description |
+
+
+
+
+dependencies |
+ServiceDependency.Dependency[] |
+
+ REQUIRED. The set of services that workloads in this namespace are
+expected to talk to, in addition to other workloads in the same
+namespace. Dependencies describe the properties of outbound traffic from
+a given workload.
+
+ |
+
+
+
+
+ServiceDependency.Dependency
+
+Dependency describes a workload and the set of service dependencies
+for the workload.
+
+
+
+
+| Field |
+Type |
+Description |
+
+
+
+
+imports |
+ServiceDependency.Import[] |
+
+ REQUIRED: Import describes the set of namespaces whose exported
+services will be accessed by the workloads selected by the
+sourceWorkloadLabels. The sidecars attached to the workloads will be
+configured with information required to reach other services in the
+same namespace and the imported services. In addition to the
+explicitly specified namespaces, namespaces specified in the global
+mesh config (through defaultServiceDependency.importNamespaces) will also be
+imported.
+
+ |
+
+
+
+
+ServiceDependency.Import
+
+Import describes the set of namespaces whose exported services
+(real/virtual) will be accessed by workloads in a given namespace. The
+sidecars attached to the workloads will be configured with information
+required to reach the imported services only. The gateways in the
+current namespace will only honor imported VirtualServices instead of
+every VirtualService that binds itself to the gateway.
+
+Importing a service from a namespace will automatically import the
+exported configuration artifacts associated with the service, such as
+VirtualService, DestinationRule, etc. The service in a namespace can be
+a service in the service registry (e.g., a kubernetes or cloud foundry
+service) or a service specified via ServiceEntry configuration.
+
+NOTE: Only exported services and configuration artifacts from a
+namespace can be imported. Private services/configuration will not be
+imported. See the scope setting associated with VirtualService,
+DestinationRule, ServiceEntry, etc.
+
+
+
+
+| Field |
+Type |
+Description |
+
+
+
+
+namespace |
+string |
+
+ The configuration namespace whose services need to be imported.
+Specify * to import all namespaces. The import can be scoped further
+by specifying individual hosts.
+
+ |
+
+
+host |
+string |
+
+ A FQDN or wildcard prefixed DNS name of the host to import from the
+specified namespace. The hostnames include names of services from the
+service registry as well as those specified in a VirtualService.
+
|
diff --git a/networking/v1alpha3/network_scope.pb.go b/networking/v1alpha3/service_dependency.pb.go
similarity index 65%
rename from networking/v1alpha3/network_scope.pb.go
rename to networking/v1alpha3/service_dependency.pb.go
index 6f6f79d670..ff233c696c 100644
--- a/networking/v1alpha3/network_scope.pb.go
+++ b/networking/v1alpha3/service_dependency.pb.go
@@ -1,5 +1,5 @@
// Code generated by protoc-gen-gogo. DO NOT EDIT.
-// source: networking/v1alpha3/network_scope.proto
+// source: networking/v1alpha3/service_dependency.proto
package v1alpha3
@@ -18,7 +18,7 @@ var _ = math.Inf
// a namespace when the namespace is imported. By default all
// configuration artifacts are public. Configurations with private scope
// will not be imported when the namespace containing the configuration is
-// imported in a NetworkScope.
+// imported in a ServiceDependency.
type ConfigScope int32
const (
@@ -41,15 +41,15 @@ var ConfigScope_value = map[string]int32{
func (x ConfigScope) String() string {
return proto.EnumName(ConfigScope_name, int32(x))
}
-func (ConfigScope) EnumDescriptor() ([]byte, []int) { return fileDescriptorNetworkScope, []int{0} }
+func (ConfigScope) EnumDescriptor() ([]byte, []int) { return fileDescriptorServiceDependency, []int{0} }
-// `NetworkScope` describes the set of services that a workload depends on
+// `ServiceDependency` describes the set of services that a workload depends on
// for its operation. In other words, it describes the properties of
// outgoing traffic from a given workload. By default, the service mesh
// established by Istio will have a full mesh connectivity - i.e. every
// workload will have proxy configuration required to reach every other
// workload in the mesh. However most connectivity graphs are sparse in
-// practice. The NetworkScope provides a way to declare the service
+// practice. The ServiceDependency provides a way to declare the service
// dependencies associated with each workload such that the amount of
// configuration sent to the sidecars can be scoped to the requisite
// dependencies.
@@ -58,33 +58,33 @@ func (ConfigScope) EnumDescriptor() ([]byte, []int) { return fileDescriptorNetwo
// namespaces (e.g., a Kubernetes namespace or a CF org/space). Workloads
// in a namespace have an implicit dependency on other workloads in the
// same namespace. In addition, to declare dependencies on workloads in
-// other namespaces, a NetworkScope resource has to be specified in the
-// current namespace. *_Each namespace MUST have only one NetworkScope
+// other namespaces, a ServiceDependency resource has to be specified in the
+// current namespace. *_Each namespace MUST have only one ServiceDependency
// resource named "default"_*. The behavior of the system is undefined if
-// more than one NetworkScope resource exists in a given namespace. The set
-// of dependencies specified in a NetworkScope resource will be used to
+// more than one ServiceDependency resource exists in a given namespace. The set
+// of dependencies specified in a ServiceDependency resource will be used to
// compute the sidecar configuration for every workload in the namespace.
//
// NOTE 1: If workloads in the mesh depend only on other workloads in the
-// same namespace, set defaultNetworkScope.importMode to SAME_NAMESPACE
+// same namespace, set defaultServiceDependency.importMode to SAME_NAMESPACE
// in the mesh global config map (in values.yaml).
//
// NOTE 2: To facilitate incremental pruning of the the sidecar
// configuration, the default import mode for the mesh is set to
// ALL_NAMESPACES. In other words, every workload will be able to reach
-// every other workload. Adding a NetworkScope resource in a namespace will
+// every other workload. Adding a ServiceDependency resource in a namespace will
// automatically prune the configuration for the workloads in that
// namespace.
//
-// The following examples illustrate a few specific use cases of NetworkScope.
+// The following examples illustrate a few specific use cases of ServiceDependency.
//
-// The example below delcares a NetworkScope resource in the prod-us1
+// The example below delcares a ServiceDependency resource in the prod-us1
// namespace that specifies that workloads in the namespace will be able to
// reach the services in the prod-apis namespace only.
//
// ```yaml
// apiVersion: networking.istio.io/v1alpha3
-// kind: NetworkScope
+// kind: ServiceDependency
// metadata:
// name: default
// namespace: prod-us1
@@ -94,14 +94,14 @@ func (ConfigScope) EnumDescriptor() ([]byte, []int) { return fileDescriptorNetwo
// - namespace: prod-apis
// ```
//
-// In a mesh where the default network scope is set to SAME_NAMESPACE
+// In a mesh where the default service dependency is set to SAME_NAMESPACE
// only, if one or more workloads need to be able to reach every other
// service in the mesh (e.g., metrics collection server), the following
-// NetworkScope resource can be used to specify such a dependency:
+// ServiceDependency resource can be used to specify such a dependency:
//
// ```yaml
// apiVersion: networking.istio.io/v1alpha3
-// kind: NetworkScope
+// kind: ServiceDependency
// metadata:
// name: default
// namespace: metrics-collection
@@ -114,22 +114,24 @@ func (ConfigScope) EnumDescriptor() ([]byte, []int) { return fileDescriptorNetwo
// The configuration above will allow workloads in the metrics-collection
// namespace to access service in any namespace while workloads in other
// namespaces will be configured for namespace local access as per the
-// global default network scope (SAME_NAMESPACE).
+// global default service dependency (SAME_NAMESPACE).
//
-type NetworkScope struct {
+type ServiceDependency struct {
// REQUIRED. The set of services that workloads in this namespace are
// expected to talk to, in addition to other workloads in the same
// namespace. Dependencies describe the properties of outbound traffic from
// a given workload.
- Dependencies []*NetworkScope_Dependency `protobuf:"bytes,1,rep,name=dependencies" json:"dependencies,omitempty"`
+ Dependencies []*ServiceDependency_Dependency `protobuf:"bytes,1,rep,name=dependencies" json:"dependencies,omitempty"`
}
-func (m *NetworkScope) Reset() { *m = NetworkScope{} }
-func (m *NetworkScope) String() string { return proto.CompactTextString(m) }
-func (*NetworkScope) ProtoMessage() {}
-func (*NetworkScope) Descriptor() ([]byte, []int) { return fileDescriptorNetworkScope, []int{0} }
+func (m *ServiceDependency) Reset() { *m = ServiceDependency{} }
+func (m *ServiceDependency) String() string { return proto.CompactTextString(m) }
+func (*ServiceDependency) ProtoMessage() {}
+func (*ServiceDependency) Descriptor() ([]byte, []int) {
+ return fileDescriptorServiceDependency, []int{0}
+}
-func (m *NetworkScope) GetDependencies() []*NetworkScope_Dependency {
+func (m *ServiceDependency) GetDependencies() []*ServiceDependency_Dependency {
if m != nil {
return m.Dependencies
}
@@ -153,7 +155,7 @@ func (m *NetworkScope) GetDependencies() []*NetworkScope_Dependency {
// namespace can be imported. Private services/configuration will not be
// imported. See the scope setting associated with VirtualService,
// DestinationRule, ServiceEntry, etc.
-type NetworkScope_Import struct {
+type ServiceDependency_Import struct {
// The configuration namespace whose services need to be imported.
// Specify * to import all namespaces. The import can be scoped further
// by specifying individual hosts.
@@ -164,21 +166,21 @@ type NetworkScope_Import struct {
Host string `protobuf:"bytes,2,opt,name=host,proto3" json:"host,omitempty"`
}
-func (m *NetworkScope_Import) Reset() { *m = NetworkScope_Import{} }
-func (m *NetworkScope_Import) String() string { return proto.CompactTextString(m) }
-func (*NetworkScope_Import) ProtoMessage() {}
-func (*NetworkScope_Import) Descriptor() ([]byte, []int) {
- return fileDescriptorNetworkScope, []int{0, 0}
+func (m *ServiceDependency_Import) Reset() { *m = ServiceDependency_Import{} }
+func (m *ServiceDependency_Import) String() string { return proto.CompactTextString(m) }
+func (*ServiceDependency_Import) ProtoMessage() {}
+func (*ServiceDependency_Import) Descriptor() ([]byte, []int) {
+ return fileDescriptorServiceDependency, []int{0, 0}
}
-func (m *NetworkScope_Import) GetNamespace() string {
+func (m *ServiceDependency_Import) GetNamespace() string {
if m != nil {
return m.Namespace
}
return ""
}
-func (m *NetworkScope_Import) GetHost() string {
+func (m *ServiceDependency_Import) GetHost() string {
if m != nil {
return m.Host
}
@@ -187,12 +189,12 @@ func (m *NetworkScope_Import) GetHost() string {
// Dependency describes a workload and the set of service dependencies
// for the workload.
-type NetworkScope_Dependency struct {
+type ServiceDependency_Dependency struct {
// [#not-implemented-hide:]
// One or more labels that indicate a specific set of pods/VMs on which
// this dependency configuration should be applied. The scope of label
// search is platform dependent. On Kubernetes, for example, the scope
- // includes pods running in the namespace in which the NetworkScope
+ // includes pods running in the namespace in which the ServiceDependency
// resource is present. If the sourceWorkloadLabels are omitted, the
// imports specified will be applicable to all workloads in the current
// configuration namespace.
@@ -204,26 +206,26 @@ type NetworkScope_Dependency struct {
// configured with information required to reach other services in the
// same namespace and the imported services. In addition to the
// explicitly specified namespaces, namespaces specified in the global
- // mesh config (through defaultNetworkScope.importNamespaces) will also be
+ // mesh config (through defaultServiceDependency.importNamespaces) will also be
// imported.
- Imports []*NetworkScope_Import `protobuf:"bytes,2,rep,name=imports" json:"imports,omitempty"`
+ Imports []*ServiceDependency_Import `protobuf:"bytes,2,rep,name=imports" json:"imports,omitempty"`
}
-func (m *NetworkScope_Dependency) Reset() { *m = NetworkScope_Dependency{} }
-func (m *NetworkScope_Dependency) String() string { return proto.CompactTextString(m) }
-func (*NetworkScope_Dependency) ProtoMessage() {}
-func (*NetworkScope_Dependency) Descriptor() ([]byte, []int) {
- return fileDescriptorNetworkScope, []int{0, 1}
+func (m *ServiceDependency_Dependency) Reset() { *m = ServiceDependency_Dependency{} }
+func (m *ServiceDependency_Dependency) String() string { return proto.CompactTextString(m) }
+func (*ServiceDependency_Dependency) ProtoMessage() {}
+func (*ServiceDependency_Dependency) Descriptor() ([]byte, []int) {
+ return fileDescriptorServiceDependency, []int{0, 1}
}
-func (m *NetworkScope_Dependency) GetSourceWorkloadLabels() map[string]string {
+func (m *ServiceDependency_Dependency) GetSourceWorkloadLabels() map[string]string {
if m != nil {
return m.SourceWorkloadLabels
}
return nil
}
-func (m *NetworkScope_Dependency) GetImports() []*NetworkScope_Import {
+func (m *ServiceDependency_Dependency) GetImports() []*ServiceDependency_Import {
if m != nil {
return m.Imports
}
@@ -231,12 +233,12 @@ func (m *NetworkScope_Dependency) GetImports() []*NetworkScope_Import {
}
func init() {
- proto.RegisterType((*NetworkScope)(nil), "istio.networking.v1alpha3.NetworkScope")
- proto.RegisterType((*NetworkScope_Import)(nil), "istio.networking.v1alpha3.NetworkScope.Import")
- proto.RegisterType((*NetworkScope_Dependency)(nil), "istio.networking.v1alpha3.NetworkScope.Dependency")
+ proto.RegisterType((*ServiceDependency)(nil), "istio.networking.v1alpha3.ServiceDependency")
+ proto.RegisterType((*ServiceDependency_Import)(nil), "istio.networking.v1alpha3.ServiceDependency.Import")
+ proto.RegisterType((*ServiceDependency_Dependency)(nil), "istio.networking.v1alpha3.ServiceDependency.Dependency")
proto.RegisterEnum("istio.networking.v1alpha3.ConfigScope", ConfigScope_name, ConfigScope_value)
}
-func (m *NetworkScope) Marshal() (dAtA []byte, err error) {
+func (m *ServiceDependency) Marshal() (dAtA []byte, err error) {
size := m.Size()
dAtA = make([]byte, size)
n, err := m.MarshalTo(dAtA)
@@ -246,7 +248,7 @@ func (m *NetworkScope) Marshal() (dAtA []byte, err error) {
return dAtA[:n], nil
}
-func (m *NetworkScope) MarshalTo(dAtA []byte) (int, error) {
+func (m *ServiceDependency) MarshalTo(dAtA []byte) (int, error) {
var i int
_ = i
var l int
@@ -255,7 +257,7 @@ func (m *NetworkScope) MarshalTo(dAtA []byte) (int, error) {
for _, msg := range m.Dependencies {
dAtA[i] = 0xa
i++
- i = encodeVarintNetworkScope(dAtA, i, uint64(msg.Size()))
+ i = encodeVarintServiceDependency(dAtA, i, uint64(msg.Size()))
n, err := msg.MarshalTo(dAtA[i:])
if err != nil {
return 0, err
@@ -266,7 +268,7 @@ func (m *NetworkScope) MarshalTo(dAtA []byte) (int, error) {
return i, nil
}
-func (m *NetworkScope_Import) Marshal() (dAtA []byte, err error) {
+func (m *ServiceDependency_Import) Marshal() (dAtA []byte, err error) {
size := m.Size()
dAtA = make([]byte, size)
n, err := m.MarshalTo(dAtA)
@@ -276,7 +278,7 @@ func (m *NetworkScope_Import) Marshal() (dAtA []byte, err error) {
return dAtA[:n], nil
}
-func (m *NetworkScope_Import) MarshalTo(dAtA []byte) (int, error) {
+func (m *ServiceDependency_Import) MarshalTo(dAtA []byte) (int, error) {
var i int
_ = i
var l int
@@ -284,19 +286,19 @@ func (m *NetworkScope_Import) MarshalTo(dAtA []byte) (int, error) {
if len(m.Namespace) > 0 {
dAtA[i] = 0xa
i++
- i = encodeVarintNetworkScope(dAtA, i, uint64(len(m.Namespace)))
+ i = encodeVarintServiceDependency(dAtA, i, uint64(len(m.Namespace)))
i += copy(dAtA[i:], m.Namespace)
}
if len(m.Host) > 0 {
dAtA[i] = 0x12
i++
- i = encodeVarintNetworkScope(dAtA, i, uint64(len(m.Host)))
+ i = encodeVarintServiceDependency(dAtA, i, uint64(len(m.Host)))
i += copy(dAtA[i:], m.Host)
}
return i, nil
}
-func (m *NetworkScope_Dependency) Marshal() (dAtA []byte, err error) {
+func (m *ServiceDependency_Dependency) Marshal() (dAtA []byte, err error) {
size := m.Size()
dAtA = make([]byte, size)
n, err := m.MarshalTo(dAtA)
@@ -306,7 +308,7 @@ func (m *NetworkScope_Dependency) Marshal() (dAtA []byte, err error) {
return dAtA[:n], nil
}
-func (m *NetworkScope_Dependency) MarshalTo(dAtA []byte) (int, error) {
+func (m *ServiceDependency_Dependency) MarshalTo(dAtA []byte) (int, error) {
var i int
_ = i
var l int
@@ -316,15 +318,15 @@ func (m *NetworkScope_Dependency) MarshalTo(dAtA []byte) (int, error) {
dAtA[i] = 0xa
i++
v := m.SourceWorkloadLabels[k]
- mapSize := 1 + len(k) + sovNetworkScope(uint64(len(k))) + 1 + len(v) + sovNetworkScope(uint64(len(v)))
- i = encodeVarintNetworkScope(dAtA, i, uint64(mapSize))
+ mapSize := 1 + len(k) + sovServiceDependency(uint64(len(k))) + 1 + len(v) + sovServiceDependency(uint64(len(v)))
+ i = encodeVarintServiceDependency(dAtA, i, uint64(mapSize))
dAtA[i] = 0xa
i++
- i = encodeVarintNetworkScope(dAtA, i, uint64(len(k)))
+ i = encodeVarintServiceDependency(dAtA, i, uint64(len(k)))
i += copy(dAtA[i:], k)
dAtA[i] = 0x12
i++
- i = encodeVarintNetworkScope(dAtA, i, uint64(len(v)))
+ i = encodeVarintServiceDependency(dAtA, i, uint64(len(v)))
i += copy(dAtA[i:], v)
}
}
@@ -332,7 +334,7 @@ func (m *NetworkScope_Dependency) MarshalTo(dAtA []byte) (int, error) {
for _, msg := range m.Imports {
dAtA[i] = 0x12
i++
- i = encodeVarintNetworkScope(dAtA, i, uint64(msg.Size()))
+ i = encodeVarintServiceDependency(dAtA, i, uint64(msg.Size()))
n, err := msg.MarshalTo(dAtA[i:])
if err != nil {
return 0, err
@@ -343,7 +345,7 @@ func (m *NetworkScope_Dependency) MarshalTo(dAtA []byte) (int, error) {
return i, nil
}
-func encodeVarintNetworkScope(dAtA []byte, offset int, v uint64) int {
+func encodeVarintServiceDependency(dAtA []byte, offset int, v uint64) int {
for v >= 1<<7 {
dAtA[offset] = uint8(v&0x7f | 0x80)
v >>= 7
@@ -352,53 +354,53 @@ func encodeVarintNetworkScope(dAtA []byte, offset int, v uint64) int {
dAtA[offset] = uint8(v)
return offset + 1
}
-func (m *NetworkScope) Size() (n int) {
+func (m *ServiceDependency) Size() (n int) {
var l int
_ = l
if len(m.Dependencies) > 0 {
for _, e := range m.Dependencies {
l = e.Size()
- n += 1 + l + sovNetworkScope(uint64(l))
+ n += 1 + l + sovServiceDependency(uint64(l))
}
}
return n
}
-func (m *NetworkScope_Import) Size() (n int) {
+func (m *ServiceDependency_Import) Size() (n int) {
var l int
_ = l
l = len(m.Namespace)
if l > 0 {
- n += 1 + l + sovNetworkScope(uint64(l))
+ n += 1 + l + sovServiceDependency(uint64(l))
}
l = len(m.Host)
if l > 0 {
- n += 1 + l + sovNetworkScope(uint64(l))
+ n += 1 + l + sovServiceDependency(uint64(l))
}
return n
}
-func (m *NetworkScope_Dependency) Size() (n int) {
+func (m *ServiceDependency_Dependency) Size() (n int) {
var l int
_ = l
if len(m.SourceWorkloadLabels) > 0 {
for k, v := range m.SourceWorkloadLabels {
_ = k
_ = v
- mapEntrySize := 1 + len(k) + sovNetworkScope(uint64(len(k))) + 1 + len(v) + sovNetworkScope(uint64(len(v)))
- n += mapEntrySize + 1 + sovNetworkScope(uint64(mapEntrySize))
+ mapEntrySize := 1 + len(k) + sovServiceDependency(uint64(len(k))) + 1 + len(v) + sovServiceDependency(uint64(len(v)))
+ n += mapEntrySize + 1 + sovServiceDependency(uint64(mapEntrySize))
}
}
if len(m.Imports) > 0 {
for _, e := range m.Imports {
l = e.Size()
- n += 1 + l + sovNetworkScope(uint64(l))
+ n += 1 + l + sovServiceDependency(uint64(l))
}
}
return n
}
-func sovNetworkScope(x uint64) (n int) {
+func sovServiceDependency(x uint64) (n int) {
for {
n++
x >>= 7
@@ -408,10 +410,10 @@ func sovNetworkScope(x uint64) (n int) {
}
return n
}
-func sozNetworkScope(x uint64) (n int) {
- return sovNetworkScope(uint64((x << 1) ^ uint64((int64(x) >> 63))))
+func sozServiceDependency(x uint64) (n int) {
+ return sovServiceDependency(uint64((x << 1) ^ uint64((int64(x) >> 63))))
}
-func (m *NetworkScope) Unmarshal(dAtA []byte) error {
+func (m *ServiceDependency) Unmarshal(dAtA []byte) error {
l := len(dAtA)
iNdEx := 0
for iNdEx < l {
@@ -419,7 +421,7 @@ func (m *NetworkScope) Unmarshal(dAtA []byte) error {
var wire uint64
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
- return ErrIntOverflowNetworkScope
+ return ErrIntOverflowServiceDependency
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
@@ -434,10 +436,10 @@ func (m *NetworkScope) Unmarshal(dAtA []byte) error {
fieldNum := int32(wire >> 3)
wireType := int(wire & 0x7)
if wireType == 4 {
- return fmt.Errorf("proto: NetworkScope: wiretype end group for non-group")
+ return fmt.Errorf("proto: ServiceDependency: wiretype end group for non-group")
}
if fieldNum <= 0 {
- return fmt.Errorf("proto: NetworkScope: illegal tag %d (wire type %d)", fieldNum, wire)
+ return fmt.Errorf("proto: ServiceDependency: illegal tag %d (wire type %d)", fieldNum, wire)
}
switch fieldNum {
case 1:
@@ -447,7 +449,7 @@ func (m *NetworkScope) Unmarshal(dAtA []byte) error {
var msglen int
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
- return ErrIntOverflowNetworkScope
+ return ErrIntOverflowServiceDependency
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
@@ -460,25 +462,25 @@ func (m *NetworkScope) Unmarshal(dAtA []byte) error {
}
}
if msglen < 0 {
- return ErrInvalidLengthNetworkScope
+ return ErrInvalidLengthServiceDependency
}
postIndex := iNdEx + msglen
if postIndex > l {
return io.ErrUnexpectedEOF
}
- m.Dependencies = append(m.Dependencies, &NetworkScope_Dependency{})
+ m.Dependencies = append(m.Dependencies, &ServiceDependency_Dependency{})
if err := m.Dependencies[len(m.Dependencies)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
return err
}
iNdEx = postIndex
default:
iNdEx = preIndex
- skippy, err := skipNetworkScope(dAtA[iNdEx:])
+ skippy, err := skipServiceDependency(dAtA[iNdEx:])
if err != nil {
return err
}
if skippy < 0 {
- return ErrInvalidLengthNetworkScope
+ return ErrInvalidLengthServiceDependency
}
if (iNdEx + skippy) > l {
return io.ErrUnexpectedEOF
@@ -492,7 +494,7 @@ func (m *NetworkScope) Unmarshal(dAtA []byte) error {
}
return nil
}
-func (m *NetworkScope_Import) Unmarshal(dAtA []byte) error {
+func (m *ServiceDependency_Import) Unmarshal(dAtA []byte) error {
l := len(dAtA)
iNdEx := 0
for iNdEx < l {
@@ -500,7 +502,7 @@ func (m *NetworkScope_Import) Unmarshal(dAtA []byte) error {
var wire uint64
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
- return ErrIntOverflowNetworkScope
+ return ErrIntOverflowServiceDependency
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
@@ -528,7 +530,7 @@ func (m *NetworkScope_Import) Unmarshal(dAtA []byte) error {
var stringLen uint64
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
- return ErrIntOverflowNetworkScope
+ return ErrIntOverflowServiceDependency
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
@@ -542,7 +544,7 @@ func (m *NetworkScope_Import) Unmarshal(dAtA []byte) error {
}
intStringLen := int(stringLen)
if intStringLen < 0 {
- return ErrInvalidLengthNetworkScope
+ return ErrInvalidLengthServiceDependency
}
postIndex := iNdEx + intStringLen
if postIndex > l {
@@ -557,7 +559,7 @@ func (m *NetworkScope_Import) Unmarshal(dAtA []byte) error {
var stringLen uint64
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
- return ErrIntOverflowNetworkScope
+ return ErrIntOverflowServiceDependency
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
@@ -571,7 +573,7 @@ func (m *NetworkScope_Import) Unmarshal(dAtA []byte) error {
}
intStringLen := int(stringLen)
if intStringLen < 0 {
- return ErrInvalidLengthNetworkScope
+ return ErrInvalidLengthServiceDependency
}
postIndex := iNdEx + intStringLen
if postIndex > l {
@@ -581,12 +583,12 @@ func (m *NetworkScope_Import) Unmarshal(dAtA []byte) error {
iNdEx = postIndex
default:
iNdEx = preIndex
- skippy, err := skipNetworkScope(dAtA[iNdEx:])
+ skippy, err := skipServiceDependency(dAtA[iNdEx:])
if err != nil {
return err
}
if skippy < 0 {
- return ErrInvalidLengthNetworkScope
+ return ErrInvalidLengthServiceDependency
}
if (iNdEx + skippy) > l {
return io.ErrUnexpectedEOF
@@ -600,7 +602,7 @@ func (m *NetworkScope_Import) Unmarshal(dAtA []byte) error {
}
return nil
}
-func (m *NetworkScope_Dependency) Unmarshal(dAtA []byte) error {
+func (m *ServiceDependency_Dependency) Unmarshal(dAtA []byte) error {
l := len(dAtA)
iNdEx := 0
for iNdEx < l {
@@ -608,7 +610,7 @@ func (m *NetworkScope_Dependency) Unmarshal(dAtA []byte) error {
var wire uint64
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
- return ErrIntOverflowNetworkScope
+ return ErrIntOverflowServiceDependency
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
@@ -636,7 +638,7 @@ func (m *NetworkScope_Dependency) Unmarshal(dAtA []byte) error {
var msglen int
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
- return ErrIntOverflowNetworkScope
+ return ErrIntOverflowServiceDependency
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
@@ -649,7 +651,7 @@ func (m *NetworkScope_Dependency) Unmarshal(dAtA []byte) error {
}
}
if msglen < 0 {
- return ErrInvalidLengthNetworkScope
+ return ErrInvalidLengthServiceDependency
}
postIndex := iNdEx + msglen
if postIndex > l {
@@ -665,7 +667,7 @@ func (m *NetworkScope_Dependency) Unmarshal(dAtA []byte) error {
var wire uint64
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
- return ErrIntOverflowNetworkScope
+ return ErrIntOverflowServiceDependency
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
@@ -682,7 +684,7 @@ func (m *NetworkScope_Dependency) Unmarshal(dAtA []byte) error {
var stringLenmapkey uint64
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
- return ErrIntOverflowNetworkScope
+ return ErrIntOverflowServiceDependency
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
@@ -696,7 +698,7 @@ func (m *NetworkScope_Dependency) Unmarshal(dAtA []byte) error {
}
intStringLenmapkey := int(stringLenmapkey)
if intStringLenmapkey < 0 {
- return ErrInvalidLengthNetworkScope
+ return ErrInvalidLengthServiceDependency
}
postStringIndexmapkey := iNdEx + intStringLenmapkey
if postStringIndexmapkey > l {
@@ -708,7 +710,7 @@ func (m *NetworkScope_Dependency) Unmarshal(dAtA []byte) error {
var stringLenmapvalue uint64
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
- return ErrIntOverflowNetworkScope
+ return ErrIntOverflowServiceDependency
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
@@ -722,7 +724,7 @@ func (m *NetworkScope_Dependency) Unmarshal(dAtA []byte) error {
}
intStringLenmapvalue := int(stringLenmapvalue)
if intStringLenmapvalue < 0 {
- return ErrInvalidLengthNetworkScope
+ return ErrInvalidLengthServiceDependency
}
postStringIndexmapvalue := iNdEx + intStringLenmapvalue
if postStringIndexmapvalue > l {
@@ -732,12 +734,12 @@ func (m *NetworkScope_Dependency) Unmarshal(dAtA []byte) error {
iNdEx = postStringIndexmapvalue
} else {
iNdEx = entryPreIndex
- skippy, err := skipNetworkScope(dAtA[iNdEx:])
+ skippy, err := skipServiceDependency(dAtA[iNdEx:])
if err != nil {
return err
}
if skippy < 0 {
- return ErrInvalidLengthNetworkScope
+ return ErrInvalidLengthServiceDependency
}
if (iNdEx + skippy) > postIndex {
return io.ErrUnexpectedEOF
@@ -754,7 +756,7 @@ func (m *NetworkScope_Dependency) Unmarshal(dAtA []byte) error {
var msglen int
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
- return ErrIntOverflowNetworkScope
+ return ErrIntOverflowServiceDependency
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
@@ -767,25 +769,25 @@ func (m *NetworkScope_Dependency) Unmarshal(dAtA []byte) error {
}
}
if msglen < 0 {
- return ErrInvalidLengthNetworkScope
+ return ErrInvalidLengthServiceDependency
}
postIndex := iNdEx + msglen
if postIndex > l {
return io.ErrUnexpectedEOF
}
- m.Imports = append(m.Imports, &NetworkScope_Import{})
+ m.Imports = append(m.Imports, &ServiceDependency_Import{})
if err := m.Imports[len(m.Imports)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
return err
}
iNdEx = postIndex
default:
iNdEx = preIndex
- skippy, err := skipNetworkScope(dAtA[iNdEx:])
+ skippy, err := skipServiceDependency(dAtA[iNdEx:])
if err != nil {
return err
}
if skippy < 0 {
- return ErrInvalidLengthNetworkScope
+ return ErrInvalidLengthServiceDependency
}
if (iNdEx + skippy) > l {
return io.ErrUnexpectedEOF
@@ -799,14 +801,14 @@ func (m *NetworkScope_Dependency) Unmarshal(dAtA []byte) error {
}
return nil
}
-func skipNetworkScope(dAtA []byte) (n int, err error) {
+func skipServiceDependency(dAtA []byte) (n int, err error) {
l := len(dAtA)
iNdEx := 0
for iNdEx < l {
var wire uint64
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
- return 0, ErrIntOverflowNetworkScope
+ return 0, ErrIntOverflowServiceDependency
}
if iNdEx >= l {
return 0, io.ErrUnexpectedEOF
@@ -823,7 +825,7 @@ func skipNetworkScope(dAtA []byte) (n int, err error) {
case 0:
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
- return 0, ErrIntOverflowNetworkScope
+ return 0, ErrIntOverflowServiceDependency
}
if iNdEx >= l {
return 0, io.ErrUnexpectedEOF
@@ -841,7 +843,7 @@ func skipNetworkScope(dAtA []byte) (n int, err error) {
var length int
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
- return 0, ErrIntOverflowNetworkScope
+ return 0, ErrIntOverflowServiceDependency
}
if iNdEx >= l {
return 0, io.ErrUnexpectedEOF
@@ -855,7 +857,7 @@ func skipNetworkScope(dAtA []byte) (n int, err error) {
}
iNdEx += length
if length < 0 {
- return 0, ErrInvalidLengthNetworkScope
+ return 0, ErrInvalidLengthServiceDependency
}
return iNdEx, nil
case 3:
@@ -864,7 +866,7 @@ func skipNetworkScope(dAtA []byte) (n int, err error) {
var start int = iNdEx
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
- return 0, ErrIntOverflowNetworkScope
+ return 0, ErrIntOverflowServiceDependency
}
if iNdEx >= l {
return 0, io.ErrUnexpectedEOF
@@ -880,7 +882,7 @@ func skipNetworkScope(dAtA []byte) (n int, err error) {
if innerWireType == 4 {
break
}
- next, err := skipNetworkScope(dAtA[start:])
+ next, err := skipServiceDependency(dAtA[start:])
if err != nil {
return 0, err
}
@@ -900,34 +902,37 @@ func skipNetworkScope(dAtA []byte) (n int, err error) {
}
var (
- ErrInvalidLengthNetworkScope = fmt.Errorf("proto: negative length found during unmarshaling")
- ErrIntOverflowNetworkScope = fmt.Errorf("proto: integer overflow")
+ ErrInvalidLengthServiceDependency = fmt.Errorf("proto: negative length found during unmarshaling")
+ ErrIntOverflowServiceDependency = fmt.Errorf("proto: integer overflow")
)
-func init() { proto.RegisterFile("networking/v1alpha3/network_scope.proto", fileDescriptorNetworkScope) }
+func init() {
+ proto.RegisterFile("networking/v1alpha3/service_dependency.proto", fileDescriptorServiceDependency)
+}
-var fileDescriptorNetworkScope = []byte{
- // 352 bytes of a gzipped FileDescriptorProto
- 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x52, 0xcf, 0x4b, 0x2d, 0x29,
+var fileDescriptorServiceDependency = []byte{
+ // 357 bytes of a gzipped FileDescriptorProto
+ 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0xd2, 0xc9, 0x4b, 0x2d, 0x29,
0xcf, 0x2f, 0xca, 0xce, 0xcc, 0x4b, 0xd7, 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0xc0, 0x40, 0x4c, 0x21, 0x11, 0x2e, 0xd6,
+ 0xb2, 0xc4, 0x9c, 0xd2, 0x54, 0x68, 0x58, 0x41, 0x38, 0x56, 0x4c, 0x16, 0x8c, 0x5a, 0x6a, 0x5c,
+ 0xdc, 0xce, 0xf9, 0x79, 0x69, 0x99, 0xe9, 0xc1, 0xc9, 0xf9, 0x05, 0xa9, 0x42, 0x5c, 0x5c, 0x6c,
+ 0x01, 0xa1, 0x4e, 0x3e, 0x9e, 0xce, 0x02, 0x0c, 0x42, 0xdc, 0x5c, 0xec, 0x01, 0x41, 0x9e, 0x61,
+ 0x8e, 0x21, 0xae, 0x02, 0x8c, 0x4e, 0x7a, 0x27, 0x1e, 0xc9, 0x31, 0x5e, 0x78, 0x24, 0xc7, 0xf8,
+ 0xe0, 0x91, 0x1c, 0x63, 0x94, 0x02, 0xc4, 0xed, 0x99, 0xf9, 0xfa, 0x89, 0x05, 0x99, 0xfa, 0x58,
+ 0xd2, 0x5a, 0x12, 0x1b, 0x38, 0x65, 0x19, 0x03, 0x02, 0x00, 0x00, 0xff, 0xff, 0x1e, 0x25, 0xbe,
+ 0xb4, 0x89, 0x02, 0x00, 0x00,
}
diff --git a/networking/v1alpha3/network_scope.proto b/networking/v1alpha3/service_dependency.proto
similarity index 84%
rename from networking/v1alpha3/network_scope.proto
rename to networking/v1alpha3/service_dependency.proto
index e78dbc0322..f6c54c71a3 100644
--- a/networking/v1alpha3/network_scope.proto
+++ b/networking/v1alpha3/service_dependency.proto
@@ -18,13 +18,13 @@ package istio.networking.v1alpha3;
option go_package = "istio.io/api/networking/v1alpha3";
-// `NetworkScope` describes the set of services that a workload depends on
+// `ServiceDependency` describes the set of services that a workload depends on
// for its operation. In other words, it describes the properties of
// outgoing traffic from a given workload. By default, the service mesh
// established by Istio will have a full mesh connectivity - i.e. every
// workload will have proxy configuration required to reach every other
// workload in the mesh. However most connectivity graphs are sparse in
-// practice. The NetworkScope provides a way to declare the service
+// practice. The ServiceDependency provides a way to declare the service
// dependencies associated with each workload such that the amount of
// configuration sent to the sidecars can be scoped to the requisite
// dependencies.
@@ -33,33 +33,33 @@ option go_package = "istio.io/api/networking/v1alpha3";
// namespaces (e.g., a Kubernetes namespace or a CF org/space). Workloads
// in a namespace have an implicit dependency on other workloads in the
// same namespace. In addition, to declare dependencies on workloads in
-// other namespaces, a NetworkScope resource has to be specified in the
-// current namespace. *_Each namespace MUST have only one NetworkScope
+// other namespaces, a ServiceDependency resource has to be specified in the
+// current namespace. *_Each namespace MUST have only one ServiceDependency
// resource named "default"_*. The behavior of the system is undefined if
-// more than one NetworkScope resource exists in a given namespace. The set
-// of dependencies specified in a NetworkScope resource will be used to
+// more than one ServiceDependency resource exists in a given namespace. The set
+// of dependencies specified in a ServiceDependency resource will be used to
// compute the sidecar configuration for every workload in the namespace.
//
// NOTE 1: If workloads in the mesh depend only on other workloads in the
-// same namespace, set defaultNetworkScope.importMode to SAME_NAMESPACE
+// same namespace, set defaultServiceDependency.importMode to SAME_NAMESPACE
// in the mesh global config map (in values.yaml).
//
// NOTE 2: To facilitate incremental pruning of the the sidecar
// configuration, the default import mode for the mesh is set to
// ALL_NAMESPACES. In other words, every workload will be able to reach
-// every other workload. Adding a NetworkScope resource in a namespace will
+// every other workload. Adding a ServiceDependency resource in a namespace will
// automatically prune the configuration for the workloads in that
// namespace.
//
-// The following examples illustrate a few specific use cases of NetworkScope.
+// The following examples illustrate a few specific use cases of ServiceDependency.
//
-// The example below delcares a NetworkScope resource in the prod-us1
+// The example below delcares a ServiceDependency resource in the prod-us1
// namespace that specifies that workloads in the namespace will be able to
// reach the services in the prod-apis namespace only.
//
// ```yaml
// apiVersion: networking.istio.io/v1alpha3
-// kind: NetworkScope
+// kind: ServiceDependency
// metadata:
// name: default
// namespace: prod-us1
@@ -69,14 +69,14 @@ option go_package = "istio.io/api/networking/v1alpha3";
// - namespace: prod-apis
// ```
//
-// In a mesh where the default network scope is set to SAME_NAMESPACE
+// In a mesh where the default service dependency is set to SAME_NAMESPACE
// only, if one or more workloads need to be able to reach every other
// service in the mesh (e.g., metrics collection server), the following
-// NetworkScope resource can be used to specify such a dependency:
+// ServiceDependency resource can be used to specify such a dependency:
//
// ```yaml
// apiVersion: networking.istio.io/v1alpha3
-// kind: NetworkScope
+// kind: ServiceDependency
// metadata:
// name: default
// namespace: metrics-collection
@@ -89,9 +89,9 @@ option go_package = "istio.io/api/networking/v1alpha3";
// The configuration above will allow workloads in the metrics-collection
// namespace to access service in any namespace while workloads in other
// namespaces will be configured for namespace local access as per the
-// global default network scope (SAME_NAMESPACE).
+// global default service dependency (SAME_NAMESPACE).
//
-message NetworkScope {
+message ServiceDependency {
// Import describes the set of namespaces whose exported services
// (real/virtual) will be accessed by workloads in a given namespace. The
// sidecars attached to the workloads will be configured with information
@@ -128,7 +128,7 @@ message NetworkScope {
// One or more labels that indicate a specific set of pods/VMs on which
// this dependency configuration should be applied. The scope of label
// search is platform dependent. On Kubernetes, for example, the scope
- // includes pods running in the namespace in which the NetworkScope
+ // includes pods running in the namespace in which the ServiceDependency
// resource is present. If the sourceWorkloadLabels are omitted, the
// imports specified will be applicable to all workloads in the current
// configuration namespace.
@@ -141,7 +141,7 @@ message NetworkScope {
// configured with information required to reach other services in the
// same namespace and the imported services. In addition to the
// explicitly specified namespaces, namespaces specified in the global
- // mesh config (through defaultNetworkScope.importNamespaces) will also be
+ // mesh config (through defaultServiceDependency.importNamespaces) will also be
// imported.
repeated Import imports = 2;
};
@@ -157,7 +157,7 @@ message NetworkScope {
// a namespace when the namespace is imported. By default all
// configuration artifacts are public. Configurations with private scope
// will not be imported when the namespace containing the configuration is
-// imported in a NetworkScope.
+// imported in a ServiceDependency.
enum ConfigScope {
// Config with this scope are visible to all workloads in the mesh
PUBLIC = 0;
diff --git a/networking/v1alpha3/service_entry.pb.go b/networking/v1alpha3/service_entry.pb.go
index 80b70528d2..ba15812abd 100644
--- a/networking/v1alpha3/service_entry.pb.go
+++ b/networking/v1alpha3/service_entry.pb.go
@@ -1538,38 +1538,38 @@ var (
func init() { proto.RegisterFile("networking/v1alpha3/service_entry.proto", fileDescriptorServiceEntry) }
var fileDescriptorServiceEntry = []byte{
- // 521 bytes of a gzipped FileDescriptorProto
- 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x53, 0xcd, 0x6e, 0xd3, 0x4c,
- 0x14, 0xed, 0xc4, 0x8d, 0x13, 0xdf, 0xb4, 0x9f, 0xf2, 0x8d, 0x10, 0x1a, 0x2c, 0x14, 0x4c, 0x16,
- 0x10, 0x09, 0xc9, 0x29, 0xa9, 0x90, 0xca, 0xcf, 0xa6, 0x14, 0x4b, 0x44, 0x0a, 0x06, 0x26, 0x59,
- 0x20, 0x36, 0x91, 0x9b, 0x0c, 0xc9, 0xa8, 0x96, 0xc7, 0xf2, 0x4c, 0x13, 0xe5, 0x2d, 0x78, 0x0c,
- 0x1e, 0x85, 0x25, 0x8f, 0x80, 0xf2, 0x24, 0x28, 0xe3, 0x71, 0x9c, 0x45, 0x28, 0xed, 0xce, 0xe7,
- 0xfa, 0x9e, 0x73, 0xcf, 0xcc, 0xb9, 0x03, 0x4f, 0x13, 0xa6, 0x96, 0x22, 0xbb, 0xe2, 0xc9, 0xac,
- 0xbb, 0x78, 0x1e, 0xc5, 0xe9, 0x3c, 0x3a, 0xed, 0x4a, 0x96, 0x2d, 0xf8, 0x84, 0x8d, 0x59, 0xa2,
- 0xb2, 0x95, 0x9f, 0x66, 0x42, 0x09, 0xfc, 0x80, 0x4b, 0xc5, 0x85, 0x5f, 0xb6, 0xfb, 0x45, 0xbb,
- 0xfb, 0x78, 0x9f, 0xc6, 0x2c, 0x52, 0x6c, 0x19, 0x19, 0xb6, 0xbb, 0x77, 0x8c, 0xa9, 0x8d, 0xe5,
- 0x44, 0xa4, 0x2c, 0x6f, 0x6c, 0xff, 0xa8, 0xc1, 0xd1, 0x30, 0x1f, 0x1f, 0x6c, 0xa6, 0xe3, 0x7b,
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0x05, 0xd4, 0x2e, 0x58, 0xa4, 0x84, 0xd8, 0x29, 0xd6, 0x24, 0x66, 0x72, 0xa5, 0x62, 0xb5,
+ 0xc8, 0x06, 0xe3, 0xfb, 0x60, 0x2e, 0x29, 0x9b, 0xcd, 0xa5, 0x6d, 0xba, 0xa8, 0x7b, 0x44, 0x34,
+ 0x72, 0x4e, 0x01, 0x2a, 0xe3, 0xb8, 0x05, 0xc6, 0x25, 0x5d, 0xe9, 0xab, 0xc9, 0x3f, 0xf3, 0x2d,
+ 0x5f, 0x84, 0xf1, 0x15, 0xb5, 0x6b, 0x8a, 0x56, 0x80, 0xd7, 0xb5, 0x53, 0xe4, 0xbc, 0x82, 0xe6,
+ 0x96, 0xbd, 0xff, 0x51, 0xad, 0x2d, 0x6a, 0xe7, 0x18, 0x1a, 0xe5, 0x5e, 0xe2, 0xbb, 0x70, 0xf4,
+ 0xd1, 0x1f, 0x7d, 0x98, 0xf8, 0x5f, 0xc7, 0x3e, 0x09, 0xce, 0x86, 0xad, 0xbd, 0x4d, 0x69, 0x10,
+ 0xe8, 0x12, 0xea, 0x3c, 0x03, 0xa8, 0x36, 0x0f, 0x37, 0x60, 0x3f, 0xf8, 0x14, 0xf8, 0xad, 0x3d,
+ 0x0c, 0x60, 0x8e, 0xc6, 0x67, 0xe3, 0xc1, 0x79, 0x0b, 0xe1, 0x3a, 0x18, 0xef, 0x83, 0x51, 0xab,
+ 0xf6, 0xce, 0xfb, 0xb5, 0x6e, 0xa3, 0xdf, 0xeb, 0x36, 0xfa, 0xb3, 0x6e, 0xa3, 0x6f, 0x6e, 0x71,
+ 0xe9, 0x8c, 0xf7, 0xc2, 0x94, 0xf5, 0xae, 0x79, 0xf3, 0x17, 0xa6, 0x7a, 0xe1, 0x27, 0x7f, 0x03,
+ 0x00, 0x00, 0xff, 0xff, 0xe4, 0x0f, 0x29, 0x22, 0x78, 0x04, 0x00, 0x00,
}
diff --git a/networking/v1alpha3/service_entry.proto b/networking/v1alpha3/service_entry.proto
index de25067bae..c1f233f260 100644
--- a/networking/v1alpha3/service_entry.proto
+++ b/networking/v1alpha3/service_entry.proto
@@ -15,7 +15,7 @@
syntax = "proto3";
import "networking/v1alpha3/gateway.proto";
-import "networking/v1alpha3/network_scope.proto";
+import "networking/v1alpha3/service_dependency.proto";
package istio.networking.v1alpha3;
diff --git a/networking/v1alpha3/virtual_service.pb.go b/networking/v1alpha3/virtual_service.pb.go
index 17c4d44ad4..6d51ac6049 100644
--- a/networking/v1alpha3/virtual_service.pb.go
+++ b/networking/v1alpha3/virtual_service.pb.go
@@ -9131,119 +9131,119 @@ func init() {
}
var fileDescriptorVirtualService = []byte{
- // 1811 bytes of a gzipped FileDescriptorProto
+ // 1818 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x59, 0x4f, 0x73, 0xe3, 0x48,
- 0x15, 0x1f, 0xd9, 0x96, 0xff, 0x3c, 0x39, 0x19, 0xa7, 0xc9, 0xce, 0x6a, 0xcc, 0xd6, 0x90, 0xf5,
- 0xb2, 0xbb, 0xa1, 0x96, 0xb5, 0x0b, 0x0f, 0x2c, 0xa9, 0x65, 0x76, 0x76, 0xed, 0xcc, 0xcc, 0x3a,
- 0xd4, 0x0c, 0x49, 0xc9, 0x61, 0x0f, 0x5c, 0x54, 0xb2, 0xd4, 0xb1, 0xc5, 0xc8, 0x92, 0x68, 0xb5,
- 0x12, 0xbb, 0x38, 0xf2, 0xe7, 0x0e, 0xc5, 0x95, 0xe2, 0x53, 0x70, 0xe1, 0xc2, 0x95, 0x13, 0xc5,
- 0x27, 0xa0, 0xa6, 0xe6, 0xc0, 0x95, 0xaf, 0x40, 0xf5, 0x1f, 0xc9, 0x4a, 0x9c, 0x58, 0x76, 0x18,
- 0xa8, 0x3d, 0xc5, 0xdd, 0xfd, 0x7e, 0xaf, 0x5f, 0xbf, 0xee, 0xf7, 0xde, 0x4f, 0x2f, 0xf0, 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f,
+ 0x25, 0xf3, 0x74, 0x14, 0x24, 0x93, 0x21, 0x52, 0x71, 0xce, 0x35, 0x9e, 0x8e, 0xe4, 0x98, 0x6c,
+ 0x41, 0x25, 0xb0, 0xd5, 0x97, 0x18, 0xb7, 0x4b, 0x8c, 0x0e, 0xaa, 0xb2, 0xc0, 0x74, 0xbe, 0x05,
+ 0x35, 0xb5, 0xd9, 0x2c, 0x23, 0x73, 0x0d, 0x9a, 0xca, 0xc8, 0x07, 0xdd, 0xbf, 0xbd, 0xbe, 0xa7,
+ 0xfd, 0xe3, 0xf5, 0x3d, 0xed, 0xd5, 0xeb, 0x7b, 0xda, 0xcf, 0xb6, 0xa5, 0xcd, 0x5e, 0xb8, 0x6b,
+ 0x47, 0xde, 0xee, 0x15, 0xff, 0x96, 0x18, 0x56, 0xc5, 0xcd, 0xdf, 0xff, 0x4f, 0x00, 0x00, 0x00,
+ 0xff, 0xff, 0x0d, 0x63, 0x49, 0x86, 0x3a, 0x19, 0x00, 0x00,
}
diff --git a/networking/v1alpha3/virtual_service.proto b/networking/v1alpha3/virtual_service.proto
index 3f0e74e5b5..c97b67b3e8 100644
--- a/networking/v1alpha3/virtual_service.proto
+++ b/networking/v1alpha3/virtual_service.proto
@@ -16,8 +16,7 @@ syntax = "proto3";
import "google/protobuf/duration.proto";
import "google/protobuf/wrappers.proto";
-
-import "networking/v1alpha3/network_scope.proto";
+import "networking/v1alpha3/service_dependency.proto";
// $title: Traffic Routing
// $description: Configuration affecting traffic routing.
diff --git a/proto.lock b/proto.lock
index 633c8f8014..c1288ae658 100644
--- a/proto.lock
+++ b/proto.lock
@@ -692,7 +692,7 @@
]
},
{
- "name": "DefaultNetworkScope.Mode",
+ "name": "DefaultServiceDependency.Mode",
"enum_fields": [
{
"name": "ALL_NAMESPACES",
@@ -842,8 +842,8 @@
},
{
"id": 29,
- "name": "default_network_scope",
- "type": "DefaultNetworkScope"
+ "name": "default_service_dependency",
+ "type": "DefaultServiceDependency"
}
],
"reserved_ids": [
@@ -862,7 +862,7 @@
]
},
{
- "name": "DefaultNetworkScope",
+ "name": "DefaultServiceDependency",
"fields": [
{
"id": 1,
@@ -3150,7 +3150,7 @@
}
},
{
- "protopath": "networking:/:v1alpha3:/:network_scope.proto",
+ "protopath": "networking:/:v1alpha3:/:service_dependency.proto",
"def": {
"enums": [
{
@@ -3169,7 +3169,7 @@
],
"messages": [
{
- "name": "NetworkScope",
+ "name": "ServiceDependency",
"fields": [
{
"id": 1,
diff --git a/python/istio_api/mesh/v1alpha1/config_pb2.py b/python/istio_api/mesh/v1alpha1/config_pb2.py
index f5462a765d..5c7f884e8f 100644
--- a/python/istio_api/mesh/v1alpha1/config_pb2.py
+++ b/python/istio_api/mesh/v1alpha1/config_pb2.py
@@ -22,7 +22,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\x1a*networking/v1alpha3/destination_rule.proto\"\xe3\r\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\x61\n\rtcp_keepalive\x18\x1c \x01(\x0b\x32J.istio.networking.v1alpha3.ConnectionPoolSettings.TCPSettings.TcpKeepalive\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\x38\n\x11rds_refresh_delay\x18\x0b \x01(\x0b\x32\x19.google.protobuf.DurationB\x02\x18\x01\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\x12N\n\x13\x61\x63\x63\x65ss_log_encoding\x18\x1b \x01(\x0e\x32\x31.istio.mesh.v1alpha1.MeshConfig.AccessLogEncoding\x12\x38\n\x0e\x64\x65\x66\x61ult_config\x18\x0e \x01(\x0b\x32 .istio.mesh.v1alpha1.ProxyConfig\x12\x19\n\rmixer_address\x18\x10 \x01(\tB\x02\x18\x01\x12Z\n\x17outbound_traffic_policy\x18\x11 \x01(\x0b\x32\x35.istio.mesh.v1alpha1.MeshConfig.OutboundTrafficPolicyB\x02\x18\x01\x12\'\n\x1f\x65nable_client_side_policy_check\x18\x13 \x01(\x08\x12\x14\n\x0csds_uds_path\x18\x14 \x01(\t\x12\x38\n\x11sds_refresh_delay\x18\x15 \x01(\x0b\x32\x19.google.protobuf.DurationB\x02\x18\x01\x12\x39\n\x0e\x63onfig_sources\x18\x16 \x03(\x0b\x32!.istio.mesh.v1alpha1.ConfigSource\x12\x1e\n\x16\x65nable_sds_token_mount\x18\x17 \x01(\x08\x12\x14\n\x0ctrust_domain\x18\x1a \x01(\t\x12R\n\x15\x64\x65\x66\x61ult_network_scope\x18\x1d \x01(\x0b\x32\x33.istio.mesh.v1alpha1.MeshConfig.DefaultNetworkScope\x1a\xb5\x01\n\x15OutboundTrafficPolicy\x12L\n\x04mode\x18\x01 \x01(\x0e\x32:.istio.mesh.v1alpha1.MeshConfig.OutboundTrafficPolicy.ModeB\x02\x18\x01\"N\n\x04Mode\x12\x15\n\rREGISTRY_ONLY\x10\x00\x1a\x02\x08\x01\x12\x11\n\tALLOW_ANY\x10\x01\x1a\x02\x08\x01\x12\x1c\n\x14VIRTUAL_SERVICE_ONLY\x10\x02\x1a\x02\x08\x01\x1a\xaf\x01\n\x13\x44\x65\x66\x61ultNetworkScope\x12M\n\x0bimport_mode\x18\x01 \x01(\x0e\x32\x38.istio.mesh.v1alpha1.MeshConfig.DefaultNetworkScope.Mode\x12\x19\n\x11import_namespaces\x18\x02 \x03(\t\".\n\x04Mode\x12\x12\n\x0e\x41LL_NAMESPACES\x10\x00\x12\x12\n\x0eSAME_NAMESPACE\x10\x01\"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\x11\x41\x63\x63\x65ssLogEncoding\x12\x08\n\x04TEXT\x10\x00\x12\x08\n\x04JSON\x10\x01J\x04\x08\x0f\x10\x10J\x04\x08\x12\x10\x13\"]\n\x0c\x43onfigSource\x12\x0f\n\x07\x61\x64\x64ress\x18\x01 \x01(\t\x12<\n\x0ctls_settings\x18\x02 \x01(\x0b\x32&.istio.networking.v1alpha3.TLSSettingsB\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\x1a*networking/v1alpha3/destination_rule.proto\"\xf7\r\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\x61\n\rtcp_keepalive\x18\x1c \x01(\x0b\x32J.istio.networking.v1alpha3.ConnectionPoolSettings.TCPSettings.TcpKeepalive\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\x38\n\x11rds_refresh_delay\x18\x0b \x01(\x0b\x32\x19.google.protobuf.DurationB\x02\x18\x01\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\x12N\n\x13\x61\x63\x63\x65ss_log_encoding\x18\x1b \x01(\x0e\x32\x31.istio.mesh.v1alpha1.MeshConfig.AccessLogEncoding\x12\x38\n\x0e\x64\x65\x66\x61ult_config\x18\x0e \x01(\x0b\x32 .istio.mesh.v1alpha1.ProxyConfig\x12\x19\n\rmixer_address\x18\x10 \x01(\tB\x02\x18\x01\x12Z\n\x17outbound_traffic_policy\x18\x11 \x01(\x0b\x32\x35.istio.mesh.v1alpha1.MeshConfig.OutboundTrafficPolicyB\x02\x18\x01\x12\'\n\x1f\x65nable_client_side_policy_check\x18\x13 \x01(\x08\x12\x14\n\x0csds_uds_path\x18\x14 \x01(\t\x12\x38\n\x11sds_refresh_delay\x18\x15 \x01(\x0b\x32\x19.google.protobuf.DurationB\x02\x18\x01\x12\x39\n\x0e\x63onfig_sources\x18\x16 \x03(\x0b\x32!.istio.mesh.v1alpha1.ConfigSource\x12\x1e\n\x16\x65nable_sds_token_mount\x18\x17 \x01(\x08\x12\x14\n\x0ctrust_domain\x18\x1a \x01(\t\x12\\\n\x1a\x64\x65\x66\x61ult_service_dependency\x18\x1d \x01(\x0b\x32\x38.istio.mesh.v1alpha1.MeshConfig.DefaultServiceDependency\x1a\xb5\x01\n\x15OutboundTrafficPolicy\x12L\n\x04mode\x18\x01 \x01(\x0e\x32:.istio.mesh.v1alpha1.MeshConfig.OutboundTrafficPolicy.ModeB\x02\x18\x01\"N\n\x04Mode\x12\x15\n\rREGISTRY_ONLY\x10\x00\x1a\x02\x08\x01\x12\x11\n\tALLOW_ANY\x10\x01\x1a\x02\x08\x01\x12\x1c\n\x14VIRTUAL_SERVICE_ONLY\x10\x02\x1a\x02\x08\x01\x1a\xb9\x01\n\x18\x44\x65\x66\x61ultServiceDependency\x12R\n\x0bimport_mode\x18\x01 \x01(\x0e\x32=.istio.mesh.v1alpha1.MeshConfig.DefaultServiceDependency.Mode\x12\x19\n\x11import_namespaces\x18\x02 \x03(\t\".\n\x04Mode\x12\x12\n\x0e\x41LL_NAMESPACES\x10\x00\x12\x12\n\x0eSAME_NAMESPACE\x10\x01\"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\x11\x41\x63\x63\x65ssLogEncoding\x12\x08\n\x04TEXT\x10\x00\x12\x08\n\x04JSON\x10\x01J\x04\x08\x0f\x10\x10J\x04\x08\x12\x10\x13\"]\n\x0c\x43onfigSource\x12\x0f\n\x07\x61\x64\x64ress\x18\x01 \x01(\t\x12<\n\x0ctls_settings\x18\x02 \x01(\x0b\x32&.istio.networking.v1alpha3.TLSSettingsB\x1cZ\x1aistio.io/api/mesh/v1alpha1b\x06proto3')
,
dependencies=[google_dot_protobuf_dot_duration__pb2.DESCRIPTOR,mesh_dot_v1alpha1_dot_proxy__pb2.DESCRIPTOR,networking_dot_v1alpha3_dot_destination__rule__pb2.DESCRIPTOR,])
@@ -49,14 +49,14 @@
],
containing_type=None,
options=None,
- serialized_start=1510,
- serialized_end=1588,
+ serialized_start=1520,
+ serialized_end=1598,
)
_sym_db.RegisterEnumDescriptor(_MESHCONFIG_OUTBOUNDTRAFFICPOLICY_MODE)
-_MESHCONFIG_DEFAULTNETWORKSCOPE_MODE = _descriptor.EnumDescriptor(
+_MESHCONFIG_DEFAULTSERVICEDEPENDENCY_MODE = _descriptor.EnumDescriptor(
name='Mode',
- full_name='istio.mesh.v1alpha1.MeshConfig.DefaultNetworkScope.Mode',
+ full_name='istio.mesh.v1alpha1.MeshConfig.DefaultServiceDependency.Mode',
filename=None,
file=DESCRIPTOR,
values=[
@@ -71,10 +71,10 @@
],
containing_type=None,
options=None,
- serialized_start=1720,
- serialized_end=1766,
+ serialized_start=1740,
+ serialized_end=1786,
)
-_sym_db.RegisterEnumDescriptor(_MESHCONFIG_DEFAULTNETWORKSCOPE_MODE)
+_sym_db.RegisterEnumDescriptor(_MESHCONFIG_DEFAULTSERVICEDEPENDENCY_MODE)
_MESHCONFIG_INGRESSCONTROLLERMODE = _descriptor.EnumDescriptor(
name='IngressControllerMode',
@@ -97,8 +97,8 @@
],
containing_type=None,
options=None,
- serialized_start=1768,
- serialized_end=1825,
+ serialized_start=1788,
+ serialized_end=1845,
)
_sym_db.RegisterEnumDescriptor(_MESHCONFIG_INGRESSCONTROLLERMODE)
@@ -119,8 +119,8 @@
],
containing_type=None,
options=None,
- serialized_start=1827,
- serialized_end=1865,
+ serialized_start=1847,
+ serialized_end=1885,
)
_sym_db.RegisterEnumDescriptor(_MESHCONFIG_AUTHPOLICY)
@@ -141,8 +141,8 @@
],
containing_type=None,
options=None,
- serialized_start=1867,
- serialized_end=1906,
+ serialized_start=1887,
+ serialized_end=1926,
)
_sym_db.RegisterEnumDescriptor(_MESHCONFIG_ACCESSLOGENCODING)
@@ -174,26 +174,26 @@
extension_ranges=[],
oneofs=[
],
- serialized_start=1407,
- serialized_end=1588,
+ serialized_start=1417,
+ serialized_end=1598,
)
-_MESHCONFIG_DEFAULTNETWORKSCOPE = _descriptor.Descriptor(
- name='DefaultNetworkScope',
- full_name='istio.mesh.v1alpha1.MeshConfig.DefaultNetworkScope',
+_MESHCONFIG_DEFAULTSERVICEDEPENDENCY = _descriptor.Descriptor(
+ name='DefaultServiceDependency',
+ full_name='istio.mesh.v1alpha1.MeshConfig.DefaultServiceDependency',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
- name='import_mode', full_name='istio.mesh.v1alpha1.MeshConfig.DefaultNetworkScope.import_mode', index=0,
+ name='import_mode', full_name='istio.mesh.v1alpha1.MeshConfig.DefaultServiceDependency.import_mode', index=0,
number=1, 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='import_namespaces', full_name='istio.mesh.v1alpha1.MeshConfig.DefaultNetworkScope.import_namespaces', index=1,
+ name='import_namespaces', full_name='istio.mesh.v1alpha1.MeshConfig.DefaultServiceDependency.import_namespaces', index=1,
number=2, type=9, cpp_type=9, label=3,
has_default_value=False, default_value=[],
message_type=None, enum_type=None, containing_type=None,
@@ -204,7 +204,7 @@
],
nested_types=[],
enum_types=[
- _MESHCONFIG_DEFAULTNETWORKSCOPE_MODE,
+ _MESHCONFIG_DEFAULTSERVICEDEPENDENCY_MODE,
],
options=None,
is_extendable=False,
@@ -212,8 +212,8 @@
extension_ranges=[],
oneofs=[
],
- serialized_start=1591,
- serialized_end=1766,
+ serialized_start=1601,
+ serialized_end=1786,
)
_MESHCONFIG = _descriptor.Descriptor(
@@ -406,7 +406,7 @@
is_extension=False, extension_scope=None,
options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
- name='default_network_scope', full_name='istio.mesh.v1alpha1.MeshConfig.default_network_scope', index=26,
+ name='default_service_dependency', full_name='istio.mesh.v1alpha1.MeshConfig.default_service_dependency', index=26,
number=29, type=11, cpp_type=10, label=1,
has_default_value=False, default_value=None,
message_type=None, enum_type=None, containing_type=None,
@@ -415,7 +415,7 @@
],
extensions=[
],
- nested_types=[_MESHCONFIG_OUTBOUNDTRAFFICPOLICY, _MESHCONFIG_DEFAULTNETWORKSCOPE, ],
+ nested_types=[_MESHCONFIG_OUTBOUNDTRAFFICPOLICY, _MESHCONFIG_DEFAULTSERVICEDEPENDENCY, ],
enum_types=[
_MESHCONFIG_INGRESSCONTROLLERMODE,
_MESHCONFIG_AUTHPOLICY,
@@ -428,7 +428,7 @@
oneofs=[
],
serialized_start=155,
- serialized_end=1918,
+ serialized_end=1938,
)
@@ -465,16 +465,16 @@
extension_ranges=[],
oneofs=[
],
- serialized_start=1920,
- serialized_end=2013,
+ serialized_start=1940,
+ serialized_end=2033,
)
_MESHCONFIG_OUTBOUNDTRAFFICPOLICY.fields_by_name['mode'].enum_type = _MESHCONFIG_OUTBOUNDTRAFFICPOLICY_MODE
_MESHCONFIG_OUTBOUNDTRAFFICPOLICY.containing_type = _MESHCONFIG
_MESHCONFIG_OUTBOUNDTRAFFICPOLICY_MODE.containing_type = _MESHCONFIG_OUTBOUNDTRAFFICPOLICY
-_MESHCONFIG_DEFAULTNETWORKSCOPE.fields_by_name['import_mode'].enum_type = _MESHCONFIG_DEFAULTNETWORKSCOPE_MODE
-_MESHCONFIG_DEFAULTNETWORKSCOPE.containing_type = _MESHCONFIG
-_MESHCONFIG_DEFAULTNETWORKSCOPE_MODE.containing_type = _MESHCONFIG_DEFAULTNETWORKSCOPE
+_MESHCONFIG_DEFAULTSERVICEDEPENDENCY.fields_by_name['import_mode'].enum_type = _MESHCONFIG_DEFAULTSERVICEDEPENDENCY_MODE
+_MESHCONFIG_DEFAULTSERVICEDEPENDENCY.containing_type = _MESHCONFIG
+_MESHCONFIG_DEFAULTSERVICEDEPENDENCY_MODE.containing_type = _MESHCONFIG_DEFAULTSERVICEDEPENDENCY
_MESHCONFIG.fields_by_name['connect_timeout'].message_type = google_dot_protobuf_dot_duration__pb2._DURATION
_MESHCONFIG.fields_by_name['tcp_keepalive'].message_type = networking_dot_v1alpha3_dot_destination__rule__pb2._CONNECTIONPOOLSETTINGS_TCPSETTINGS_TCPKEEPALIVE
_MESHCONFIG.fields_by_name['ingress_controller_mode'].enum_type = _MESHCONFIG_INGRESSCONTROLLERMODE
@@ -485,7 +485,7 @@
_MESHCONFIG.fields_by_name['outbound_traffic_policy'].message_type = _MESHCONFIG_OUTBOUNDTRAFFICPOLICY
_MESHCONFIG.fields_by_name['sds_refresh_delay'].message_type = google_dot_protobuf_dot_duration__pb2._DURATION
_MESHCONFIG.fields_by_name['config_sources'].message_type = _CONFIGSOURCE
-_MESHCONFIG.fields_by_name['default_network_scope'].message_type = _MESHCONFIG_DEFAULTNETWORKSCOPE
+_MESHCONFIG.fields_by_name['default_service_dependency'].message_type = _MESHCONFIG_DEFAULTSERVICEDEPENDENCY
_MESHCONFIG_INGRESSCONTROLLERMODE.containing_type = _MESHCONFIG
_MESHCONFIG_AUTHPOLICY.containing_type = _MESHCONFIG
_MESHCONFIG_ACCESSLOGENCODING.containing_type = _MESHCONFIG
@@ -503,10 +503,10 @@
))
,
- DefaultNetworkScope = _reflection.GeneratedProtocolMessageType('DefaultNetworkScope', (_message.Message,), dict(
- DESCRIPTOR = _MESHCONFIG_DEFAULTNETWORKSCOPE,
+ DefaultServiceDependency = _reflection.GeneratedProtocolMessageType('DefaultServiceDependency', (_message.Message,), dict(
+ DESCRIPTOR = _MESHCONFIG_DEFAULTSERVICEDEPENDENCY,
__module__ = 'mesh.v1alpha1.config_pb2'
- # @@protoc_insertion_point(class_scope:istio.mesh.v1alpha1.MeshConfig.DefaultNetworkScope)
+ # @@protoc_insertion_point(class_scope:istio.mesh.v1alpha1.MeshConfig.DefaultServiceDependency)
))
,
DESCRIPTOR = _MESHCONFIG,
@@ -515,7 +515,7 @@
))
_sym_db.RegisterMessage(MeshConfig)
_sym_db.RegisterMessage(MeshConfig.OutboundTrafficPolicy)
-_sym_db.RegisterMessage(MeshConfig.DefaultNetworkScope)
+_sym_db.RegisterMessage(MeshConfig.DefaultServiceDependency)
ConfigSource = _reflection.GeneratedProtocolMessageType('ConfigSource', (_message.Message,), dict(
DESCRIPTOR = _CONFIGSOURCE,
diff --git a/python/istio_api/networking/v1alpha3/destination_rule_pb2.py b/python/istio_api/networking/v1alpha3/destination_rule_pb2.py
index 23e08904dc..a3bc60696a 100644
--- a/python/istio_api/networking/v1alpha3/destination_rule_pb2.py
+++ b/python/istio_api/networking/v1alpha3/destination_rule_pb2.py
@@ -15,7 +15,7 @@
from google.protobuf import duration_pb2 as google_dot_protobuf_dot_duration__pb2
from networking.v1alpha3 import virtual_service_pb2 as networking_dot_v1alpha3_dot_virtual__service__pb2
-from networking.v1alpha3 import network_scope_pb2 as networking_dot_v1alpha3_dot_network__scope__pb2
+from networking.v1alpha3 import service_dependency_pb2 as networking_dot_v1alpha3_dot_service__dependency__pb2
from gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2
@@ -23,9 +23,9 @@
name='networking/v1alpha3/destination_rule.proto',
package='istio.networking.v1alpha3',
syntax='proto3',
- serialized_pb=_b('\n*networking/v1alpha3/destination_rule.proto\x12\x19istio.networking.v1alpha3\x1a\x1egoogle/protobuf/duration.proto\x1a)networking/v1alpha3/virtual_service.proto\x1a\'networking/v1alpha3/network_scope.proto\x1a\x14gogoproto/gogo.proto\"\xd3\x01\n\x0f\x44\x65stinationRule\x12\x0c\n\x04host\x18\x01 \x01(\t\x12@\n\x0etraffic_policy\x18\x02 \x01(\x0b\x32(.istio.networking.v1alpha3.TrafficPolicy\x12\x32\n\x07subsets\x18\x03 \x03(\x0b\x32!.istio.networking.v1alpha3.Subset\x12<\n\x0c\x63onfig_scope\x18\x04 \x01(\x0e\x32&.istio.networking.v1alpha3.ConfigScope\"\xd7\x05\n\rTrafficPolicy\x12\x46\n\rload_balancer\x18\x01 \x01(\x0b\x32/.istio.networking.v1alpha3.LoadBalancerSettings\x12J\n\x0f\x63onnection_pool\x18\x02 \x01(\x0b\x32\x31.istio.networking.v1alpha3.ConnectionPoolSettings\x12\x46\n\x11outlier_detection\x18\x03 \x01(\x0b\x32+.istio.networking.v1alpha3.OutlierDetection\x12\x33\n\x03tls\x18\x04 \x01(\x0b\x32&.istio.networking.v1alpha3.TLSSettings\x12W\n\x13port_level_settings\x18\x05 \x03(\x0b\x32:.istio.networking.v1alpha3.TrafficPolicy.PortTrafficPolicy\x1a\xdb\x02\n\x11PortTrafficPolicy\x12\x35\n\x04port\x18\x01 \x01(\x0b\x32\'.istio.networking.v1alpha3.PortSelector\x12\x46\n\rload_balancer\x18\x02 \x01(\x0b\x32/.istio.networking.v1alpha3.LoadBalancerSettings\x12J\n\x0f\x63onnection_pool\x18\x03 \x01(\x0b\x32\x31.istio.networking.v1alpha3.ConnectionPoolSettings\x12\x46\n\x11outlier_detection\x18\x04 \x01(\x0b\x32+.istio.networking.v1alpha3.OutlierDetection\x12\x33\n\x03tls\x18\x05 \x01(\x0b\x32&.istio.networking.v1alpha3.TLSSettings\"\xc6\x01\n\x06Subset\x12\x0c\n\x04name\x18\x01 \x01(\t\x12=\n\x06labels\x18\x02 \x03(\x0b\x32-.istio.networking.v1alpha3.Subset.LabelsEntry\x12@\n\x0etraffic_policy\x18\x03 \x01(\x0b\x32(.istio.networking.v1alpha3.TrafficPolicy\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\xc3\x04\n\x14LoadBalancerSettings\x12J\n\x06simple\x18\x01 \x01(\x0e\x32\x38.istio.networking.v1alpha3.LoadBalancerSettings.SimpleLBH\x00\x12[\n\x0f\x63onsistent_hash\x18\x02 \x01(\x0b\x32@.istio.networking.v1alpha3.LoadBalancerSettings.ConsistentHashLBH\x00\x1a\xaa\x02\n\x10\x43onsistentHashLB\x12\x1a\n\x10http_header_name\x18\x01 \x01(\tH\x00\x12\x62\n\x0bhttp_cookie\x18\x02 \x01(\x0b\x32K.istio.networking.v1alpha3.LoadBalancerSettings.ConsistentHashLB.HTTPCookieH\x00\x12\x17\n\ruse_source_ip\x18\x03 \x01(\x08H\x00\x12\x19\n\x11minimum_ring_size\x18\x04 \x01(\x04\x1aV\n\nHTTPCookie\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0c\n\x04path\x18\x02 \x01(\t\x12,\n\x03ttl\x18\x03 \x01(\x0b\x32\x19.google.protobuf.DurationB\x04\x98\xdf\x1f\x01\x42\n\n\x08hash_key\"H\n\x08SimpleLB\x12\x0f\n\x0bROUND_ROBIN\x10\x00\x12\x0e\n\nLEAST_CONN\x10\x01\x12\n\n\x06RANDOM\x10\x02\x12\x0f\n\x0bPASSTHROUGH\x10\x03\x42\x0b\n\tlb_policy\"\xf3\x04\n\x16\x43onnectionPoolSettings\x12J\n\x03tcp\x18\x01 \x01(\x0b\x32=.istio.networking.v1alpha3.ConnectionPoolSettings.TCPSettings\x12L\n\x04http\x18\x02 \x01(\x0b\x32>.istio.networking.v1alpha3.ConnectionPoolSettings.HTTPSettings\x1a\xb3\x02\n\x0bTCPSettings\x12\x17\n\x0fmax_connections\x18\x01 \x01(\x05\x12\x32\n\x0f\x63onnect_timeout\x18\x02 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x61\n\rtcp_keepalive\x18\x03 \x01(\x0b\x32J.istio.networking.v1alpha3.ConnectionPoolSettings.TCPSettings.TcpKeepalive\x1at\n\x0cTcpKeepalive\x12\x0e\n\x06probes\x18\x01 \x01(\r\x12\'\n\x04time\x18\x02 \x01(\x0b\x32\x19.google.protobuf.Duration\x12+\n\x08interval\x18\x03 \x01(\x0b\x32\x19.google.protobuf.Duration\x1a\x88\x01\n\x0cHTTPSettings\x12\"\n\x1ahttp1_max_pending_requests\x18\x01 \x01(\x05\x12\x1a\n\x12http2_max_requests\x18\x02 \x01(\x05\x12#\n\x1bmax_requests_per_connection\x18\x03 \x01(\x05\x12\x13\n\x0bmax_retries\x18\x04 \x01(\x05\"\xcc\x01\n\x10OutlierDetection\x12\x1a\n\x12\x63onsecutive_errors\x18\x01 \x01(\x05\x12+\n\x08interval\x18\x02 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x35\n\x12\x62\x61se_ejection_time\x18\x03 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x1c\n\x14max_ejection_percent\x18\x04 \x01(\x05\x12\x1a\n\x12min_health_percent\x18\x05 \x01(\x05\"\xff\x01\n\x0bTLSSettings\x12<\n\x04mode\x18\x01 \x01(\x0e\x32..istio.networking.v1alpha3.TLSSettings.TLSmode\x12\x1a\n\x12\x63lient_certificate\x18\x02 \x01(\t\x12\x13\n\x0bprivate_key\x18\x03 \x01(\t\x12\x17\n\x0f\x63\x61_certificates\x18\x04 \x01(\t\x12\x19\n\x11subject_alt_names\x18\x05 \x03(\t\x12\x0b\n\x03sni\x18\x06 \x01(\t\"@\n\x07TLSmode\x12\x0b\n\x07\x44ISABLE\x10\x00\x12\n\n\x06SIMPLE\x10\x01\x12\n\n\x06MUTUAL\x10\x02\x12\x10\n\x0cISTIO_MUTUAL\x10\x03\x42\"Z istio.io/api/networking/v1alpha3b\x06proto3')
+ serialized_pb=_b('\n*networking/v1alpha3/destination_rule.proto\x12\x19istio.networking.v1alpha3\x1a\x1egoogle/protobuf/duration.proto\x1a)networking/v1alpha3/virtual_service.proto\x1a,networking/v1alpha3/service_dependency.proto\x1a\x14gogoproto/gogo.proto\"\xd3\x01\n\x0f\x44\x65stinationRule\x12\x0c\n\x04host\x18\x01 \x01(\t\x12@\n\x0etraffic_policy\x18\x02 \x01(\x0b\x32(.istio.networking.v1alpha3.TrafficPolicy\x12\x32\n\x07subsets\x18\x03 \x03(\x0b\x32!.istio.networking.v1alpha3.Subset\x12<\n\x0c\x63onfig_scope\x18\x04 \x01(\x0e\x32&.istio.networking.v1alpha3.ConfigScope\"\xd7\x05\n\rTrafficPolicy\x12\x46\n\rload_balancer\x18\x01 \x01(\x0b\x32/.istio.networking.v1alpha3.LoadBalancerSettings\x12J\n\x0f\x63onnection_pool\x18\x02 \x01(\x0b\x32\x31.istio.networking.v1alpha3.ConnectionPoolSettings\x12\x46\n\x11outlier_detection\x18\x03 \x01(\x0b\x32+.istio.networking.v1alpha3.OutlierDetection\x12\x33\n\x03tls\x18\x04 \x01(\x0b\x32&.istio.networking.v1alpha3.TLSSettings\x12W\n\x13port_level_settings\x18\x05 \x03(\x0b\x32:.istio.networking.v1alpha3.TrafficPolicy.PortTrafficPolicy\x1a\xdb\x02\n\x11PortTrafficPolicy\x12\x35\n\x04port\x18\x01 \x01(\x0b\x32\'.istio.networking.v1alpha3.PortSelector\x12\x46\n\rload_balancer\x18\x02 \x01(\x0b\x32/.istio.networking.v1alpha3.LoadBalancerSettings\x12J\n\x0f\x63onnection_pool\x18\x03 \x01(\x0b\x32\x31.istio.networking.v1alpha3.ConnectionPoolSettings\x12\x46\n\x11outlier_detection\x18\x04 \x01(\x0b\x32+.istio.networking.v1alpha3.OutlierDetection\x12\x33\n\x03tls\x18\x05 \x01(\x0b\x32&.istio.networking.v1alpha3.TLSSettings\"\xc6\x01\n\x06Subset\x12\x0c\n\x04name\x18\x01 \x01(\t\x12=\n\x06labels\x18\x02 \x03(\x0b\x32-.istio.networking.v1alpha3.Subset.LabelsEntry\x12@\n\x0etraffic_policy\x18\x03 \x01(\x0b\x32(.istio.networking.v1alpha3.TrafficPolicy\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\xc3\x04\n\x14LoadBalancerSettings\x12J\n\x06simple\x18\x01 \x01(\x0e\x32\x38.istio.networking.v1alpha3.LoadBalancerSettings.SimpleLBH\x00\x12[\n\x0f\x63onsistent_hash\x18\x02 \x01(\x0b\x32@.istio.networking.v1alpha3.LoadBalancerSettings.ConsistentHashLBH\x00\x1a\xaa\x02\n\x10\x43onsistentHashLB\x12\x1a\n\x10http_header_name\x18\x01 \x01(\tH\x00\x12\x62\n\x0bhttp_cookie\x18\x02 \x01(\x0b\x32K.istio.networking.v1alpha3.LoadBalancerSettings.ConsistentHashLB.HTTPCookieH\x00\x12\x17\n\ruse_source_ip\x18\x03 \x01(\x08H\x00\x12\x19\n\x11minimum_ring_size\x18\x04 \x01(\x04\x1aV\n\nHTTPCookie\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0c\n\x04path\x18\x02 \x01(\t\x12,\n\x03ttl\x18\x03 \x01(\x0b\x32\x19.google.protobuf.DurationB\x04\x98\xdf\x1f\x01\x42\n\n\x08hash_key\"H\n\x08SimpleLB\x12\x0f\n\x0bROUND_ROBIN\x10\x00\x12\x0e\n\nLEAST_CONN\x10\x01\x12\n\n\x06RANDOM\x10\x02\x12\x0f\n\x0bPASSTHROUGH\x10\x03\x42\x0b\n\tlb_policy\"\xf3\x04\n\x16\x43onnectionPoolSettings\x12J\n\x03tcp\x18\x01 \x01(\x0b\x32=.istio.networking.v1alpha3.ConnectionPoolSettings.TCPSettings\x12L\n\x04http\x18\x02 \x01(\x0b\x32>.istio.networking.v1alpha3.ConnectionPoolSettings.HTTPSettings\x1a\xb3\x02\n\x0bTCPSettings\x12\x17\n\x0fmax_connections\x18\x01 \x01(\x05\x12\x32\n\x0f\x63onnect_timeout\x18\x02 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x61\n\rtcp_keepalive\x18\x03 \x01(\x0b\x32J.istio.networking.v1alpha3.ConnectionPoolSettings.TCPSettings.TcpKeepalive\x1at\n\x0cTcpKeepalive\x12\x0e\n\x06probes\x18\x01 \x01(\r\x12\'\n\x04time\x18\x02 \x01(\x0b\x32\x19.google.protobuf.Duration\x12+\n\x08interval\x18\x03 \x01(\x0b\x32\x19.google.protobuf.Duration\x1a\x88\x01\n\x0cHTTPSettings\x12\"\n\x1ahttp1_max_pending_requests\x18\x01 \x01(\x05\x12\x1a\n\x12http2_max_requests\x18\x02 \x01(\x05\x12#\n\x1bmax_requests_per_connection\x18\x03 \x01(\x05\x12\x13\n\x0bmax_retries\x18\x04 \x01(\x05\"\xcc\x01\n\x10OutlierDetection\x12\x1a\n\x12\x63onsecutive_errors\x18\x01 \x01(\x05\x12+\n\x08interval\x18\x02 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x35\n\x12\x62\x61se_ejection_time\x18\x03 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x1c\n\x14max_ejection_percent\x18\x04 \x01(\x05\x12\x1a\n\x12min_health_percent\x18\x05 \x01(\x05\"\xff\x01\n\x0bTLSSettings\x12<\n\x04mode\x18\x01 \x01(\x0e\x32..istio.networking.v1alpha3.TLSSettings.TLSmode\x12\x1a\n\x12\x63lient_certificate\x18\x02 \x01(\t\x12\x13\n\x0bprivate_key\x18\x03 \x01(\t\x12\x17\n\x0f\x63\x61_certificates\x18\x04 \x01(\t\x12\x19\n\x11subject_alt_names\x18\x05 \x03(\t\x12\x0b\n\x03sni\x18\x06 \x01(\t\"@\n\x07TLSmode\x12\x0b\n\x07\x44ISABLE\x10\x00\x12\n\n\x06SIMPLE\x10\x01\x12\n\n\x06MUTUAL\x10\x02\x12\x10\n\x0cISTIO_MUTUAL\x10\x03\x42\"Z istio.io/api/networking/v1alpha3b\x06proto3')
,
- dependencies=[google_dot_protobuf_dot_duration__pb2.DESCRIPTOR,networking_dot_v1alpha3_dot_virtual__service__pb2.DESCRIPTOR,networking_dot_v1alpha3_dot_network__scope__pb2.DESCRIPTOR,gogoproto_dot_gogo__pb2.DESCRIPTOR,])
+ dependencies=[google_dot_protobuf_dot_duration__pb2.DESCRIPTOR,networking_dot_v1alpha3_dot_virtual__service__pb2.DESCRIPTOR,networking_dot_v1alpha3_dot_service__dependency__pb2.DESCRIPTOR,gogoproto_dot_gogo__pb2.DESCRIPTOR,])
@@ -54,8 +54,8 @@
],
containing_type=None,
options=None,
- serialized_start=1851,
- serialized_end=1923,
+ serialized_start=1856,
+ serialized_end=1928,
)
_sym_db.RegisterEnumDescriptor(_LOADBALANCERSETTINGS_SIMPLELB)
@@ -84,8 +84,8 @@
],
containing_type=None,
options=None,
- serialized_start=2967,
- serialized_end=3031,
+ serialized_start=2972,
+ serialized_end=3036,
)
_sym_db.RegisterEnumDescriptor(_TLSSETTINGS_TLSMODE)
@@ -137,8 +137,8 @@
extension_ranges=[],
oneofs=[
],
- serialized_start=212,
- serialized_end=423,
+ serialized_start=217,
+ serialized_end=428,
)
@@ -196,8 +196,8 @@
extension_ranges=[],
oneofs=[
],
- serialized_start=806,
- serialized_end=1153,
+ serialized_start=811,
+ serialized_end=1158,
)
_TRAFFICPOLICY = _descriptor.Descriptor(
@@ -254,8 +254,8 @@
extension_ranges=[],
oneofs=[
],
- serialized_start=426,
- serialized_end=1153,
+ serialized_start=431,
+ serialized_end=1158,
)
@@ -292,8 +292,8 @@
extension_ranges=[],
oneofs=[
],
- serialized_start=1309,
- serialized_end=1354,
+ serialized_start=1314,
+ serialized_end=1359,
)
_SUBSET = _descriptor.Descriptor(
@@ -336,8 +336,8 @@
extension_ranges=[],
oneofs=[
],
- serialized_start=1156,
- serialized_end=1354,
+ serialized_start=1161,
+ serialized_end=1359,
)
@@ -381,8 +381,8 @@
extension_ranges=[],
oneofs=[
],
- serialized_start=1751,
- serialized_end=1837,
+ serialized_start=1756,
+ serialized_end=1842,
)
_LOADBALANCERSETTINGS_CONSISTENTHASHLB = _descriptor.Descriptor(
@@ -435,8 +435,8 @@
name='hash_key', full_name='istio.networking.v1alpha3.LoadBalancerSettings.ConsistentHashLB.hash_key',
index=0, containing_type=None, fields=[]),
],
- serialized_start=1551,
- serialized_end=1849,
+ serialized_start=1556,
+ serialized_end=1854,
)
_LOADBALANCERSETTINGS = _descriptor.Descriptor(
@@ -476,8 +476,8 @@
name='lb_policy', full_name='istio.networking.v1alpha3.LoadBalancerSettings.lb_policy',
index=0, containing_type=None, fields=[]),
],
- serialized_start=1357,
- serialized_end=1936,
+ serialized_start=1362,
+ serialized_end=1941,
)
@@ -521,8 +521,8 @@
extension_ranges=[],
oneofs=[
],
- serialized_start=2311,
- serialized_end=2427,
+ serialized_start=2316,
+ serialized_end=2432,
)
_CONNECTIONPOOLSETTINGS_TCPSETTINGS = _descriptor.Descriptor(
@@ -565,8 +565,8 @@
extension_ranges=[],
oneofs=[
],
- serialized_start=2120,
- serialized_end=2427,
+ serialized_start=2125,
+ serialized_end=2432,
)
_CONNECTIONPOOLSETTINGS_HTTPSETTINGS = _descriptor.Descriptor(
@@ -616,8 +616,8 @@
extension_ranges=[],
oneofs=[
],
- serialized_start=2430,
- serialized_end=2566,
+ serialized_start=2435,
+ serialized_end=2571,
)
_CONNECTIONPOOLSETTINGS = _descriptor.Descriptor(
@@ -653,8 +653,8 @@
extension_ranges=[],
oneofs=[
],
- serialized_start=1939,
- serialized_end=2566,
+ serialized_start=1944,
+ serialized_end=2571,
)
@@ -712,8 +712,8 @@
extension_ranges=[],
oneofs=[
],
- serialized_start=2569,
- serialized_end=2773,
+ serialized_start=2574,
+ serialized_end=2778,
)
@@ -779,13 +779,13 @@
extension_ranges=[],
oneofs=[
],
- serialized_start=2776,
- serialized_end=3031,
+ serialized_start=2781,
+ serialized_end=3036,
)
_DESTINATIONRULE.fields_by_name['traffic_policy'].message_type = _TRAFFICPOLICY
_DESTINATIONRULE.fields_by_name['subsets'].message_type = _SUBSET
-_DESTINATIONRULE.fields_by_name['config_scope'].enum_type = networking_dot_v1alpha3_dot_network__scope__pb2._CONFIGSCOPE
+_DESTINATIONRULE.fields_by_name['config_scope'].enum_type = networking_dot_v1alpha3_dot_service__dependency__pb2._CONFIGSCOPE
_TRAFFICPOLICY_PORTTRAFFICPOLICY.fields_by_name['port'].message_type = networking_dot_v1alpha3_dot_virtual__service__pb2._PORTSELECTOR
_TRAFFICPOLICY_PORTTRAFFICPOLICY.fields_by_name['load_balancer'].message_type = _LOADBALANCERSETTINGS
_TRAFFICPOLICY_PORTTRAFFICPOLICY.fields_by_name['connection_pool'].message_type = _CONNECTIONPOOLSETTINGS
diff --git a/python/istio_api/networking/v1alpha3/network_scope_pb2.py b/python/istio_api/networking/v1alpha3/service_dependency_pb2.py
similarity index 54%
rename from python/istio_api/networking/v1alpha3/network_scope_pb2.py
rename to python/istio_api/networking/v1alpha3/service_dependency_pb2.py
index 2fd1a36238..995a079b31 100644
--- a/python/istio_api/networking/v1alpha3/network_scope_pb2.py
+++ b/python/istio_api/networking/v1alpha3/service_dependency_pb2.py
@@ -1,5 +1,5 @@
# Generated by the protocol buffer compiler. DO NOT EDIT!
-# source: networking/v1alpha3/network_scope.proto
+# source: networking/v1alpha3/service_dependency.proto
import sys
_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1'))
@@ -17,10 +17,10 @@
DESCRIPTOR = _descriptor.FileDescriptor(
- name='networking/v1alpha3/network_scope.proto',
+ name='networking/v1alpha3/service_dependency.proto',
package='istio.networking.v1alpha3',
syntax='proto3',
- serialized_pb=_b('\n\'networking/v1alpha3/network_scope.proto\x12\x19istio.networking.v1alpha3\"\xfe\x02\n\x0cNetworkScope\x12H\n\x0c\x64\x65pendencies\x18\x01 \x03(\x0b\x32\x32.istio.networking.v1alpha3.NetworkScope.Dependency\x1a)\n\x06Import\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x0c\n\x04host\x18\x02 \x01(\t\x1a\xf8\x01\n\nDependency\x12l\n\x16source_workload_labels\x18\x01 \x03(\x0b\x32L.istio.networking.v1alpha3.NetworkScope.Dependency.SourceWorkloadLabelsEntry\x12?\n\x07imports\x18\x02 \x03(\x0b\x32..istio.networking.v1alpha3.NetworkScope.Import\x1a;\n\x19SourceWorkloadLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01*&\n\x0b\x43onfigScope\x12\n\n\x06PUBLIC\x10\x00\x12\x0b\n\x07PRIVATE\x10\x01\x42\"Z istio.io/api/networking/v1alpha3b\x06proto3')
+ serialized_pb=_b('\n,networking/v1alpha3/service_dependency.proto\x12\x19istio.networking.v1alpha3\"\x92\x03\n\x11ServiceDependency\x12M\n\x0c\x64\x65pendencies\x18\x01 \x03(\x0b\x32\x37.istio.networking.v1alpha3.ServiceDependency.Dependency\x1a)\n\x06Import\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x0c\n\x04host\x18\x02 \x01(\t\x1a\x82\x02\n\nDependency\x12q\n\x16source_workload_labels\x18\x01 \x03(\x0b\x32Q.istio.networking.v1alpha3.ServiceDependency.Dependency.SourceWorkloadLabelsEntry\x12\x44\n\x07imports\x18\x02 \x03(\x0b\x32\x33.istio.networking.v1alpha3.ServiceDependency.Import\x1a;\n\x19SourceWorkloadLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01*&\n\x0b\x43onfigScope\x12\n\n\x06PUBLIC\x10\x00\x12\x0b\n\x07PRIVATE\x10\x01\x42\"Z istio.io/api/networking/v1alpha3b\x06proto3')
)
_CONFIGSCOPE = _descriptor.EnumDescriptor(
@@ -40,8 +40,8 @@
],
containing_type=None,
options=None,
- serialized_start=455,
- serialized_end=493,
+ serialized_start=480,
+ serialized_end=518,
)
_sym_db.RegisterEnumDescriptor(_CONFIGSCOPE)
@@ -51,22 +51,22 @@
-_NETWORKSCOPE_IMPORT = _descriptor.Descriptor(
+_SERVICEDEPENDENCY_IMPORT = _descriptor.Descriptor(
name='Import',
- full_name='istio.networking.v1alpha3.NetworkScope.Import',
+ full_name='istio.networking.v1alpha3.ServiceDependency.Import',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
- name='namespace', full_name='istio.networking.v1alpha3.NetworkScope.Import.namespace', index=0,
+ name='namespace', full_name='istio.networking.v1alpha3.ServiceDependency.Import.namespace', index=0,
number=1, 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='host', full_name='istio.networking.v1alpha3.NetworkScope.Import.host', index=1,
+ name='host', full_name='istio.networking.v1alpha3.ServiceDependency.Import.host', index=1,
number=2, 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,
@@ -84,26 +84,26 @@
extension_ranges=[],
oneofs=[
],
- serialized_start=161,
- serialized_end=202,
+ serialized_start=176,
+ serialized_end=217,
)
-_NETWORKSCOPE_DEPENDENCY_SOURCEWORKLOADLABELSENTRY = _descriptor.Descriptor(
+_SERVICEDEPENDENCY_DEPENDENCY_SOURCEWORKLOADLABELSENTRY = _descriptor.Descriptor(
name='SourceWorkloadLabelsEntry',
- full_name='istio.networking.v1alpha3.NetworkScope.Dependency.SourceWorkloadLabelsEntry',
+ full_name='istio.networking.v1alpha3.ServiceDependency.Dependency.SourceWorkloadLabelsEntry',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
- name='key', full_name='istio.networking.v1alpha3.NetworkScope.Dependency.SourceWorkloadLabelsEntry.key', index=0,
+ name='key', full_name='istio.networking.v1alpha3.ServiceDependency.Dependency.SourceWorkloadLabelsEntry.key', index=0,
number=1, 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='value', full_name='istio.networking.v1alpha3.NetworkScope.Dependency.SourceWorkloadLabelsEntry.value', index=1,
+ name='value', full_name='istio.networking.v1alpha3.ServiceDependency.Dependency.SourceWorkloadLabelsEntry.value', index=1,
number=2, 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,
@@ -121,26 +121,26 @@
extension_ranges=[],
oneofs=[
],
- serialized_start=394,
- serialized_end=453,
+ serialized_start=419,
+ serialized_end=478,
)
-_NETWORKSCOPE_DEPENDENCY = _descriptor.Descriptor(
+_SERVICEDEPENDENCY_DEPENDENCY = _descriptor.Descriptor(
name='Dependency',
- full_name='istio.networking.v1alpha3.NetworkScope.Dependency',
+ full_name='istio.networking.v1alpha3.ServiceDependency.Dependency',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
- name='source_workload_labels', full_name='istio.networking.v1alpha3.NetworkScope.Dependency.source_workload_labels', index=0,
+ name='source_workload_labels', full_name='istio.networking.v1alpha3.ServiceDependency.Dependency.source_workload_labels', index=0,
number=1, type=11, cpp_type=10, label=3,
has_default_value=False, default_value=[],
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
- name='imports', full_name='istio.networking.v1alpha3.NetworkScope.Dependency.imports', index=1,
+ name='imports', full_name='istio.networking.v1alpha3.ServiceDependency.Dependency.imports', index=1,
number=2, type=11, cpp_type=10, label=3,
has_default_value=False, default_value=[],
message_type=None, enum_type=None, containing_type=None,
@@ -149,7 +149,7 @@
],
extensions=[
],
- nested_types=[_NETWORKSCOPE_DEPENDENCY_SOURCEWORKLOADLABELSENTRY, ],
+ nested_types=[_SERVICEDEPENDENCY_DEPENDENCY_SOURCEWORKLOADLABELSENTRY, ],
enum_types=[
],
options=None,
@@ -158,19 +158,19 @@
extension_ranges=[],
oneofs=[
],
- serialized_start=205,
- serialized_end=453,
+ serialized_start=220,
+ serialized_end=478,
)
-_NETWORKSCOPE = _descriptor.Descriptor(
- name='NetworkScope',
- full_name='istio.networking.v1alpha3.NetworkScope',
+_SERVICEDEPENDENCY = _descriptor.Descriptor(
+ name='ServiceDependency',
+ full_name='istio.networking.v1alpha3.ServiceDependency',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
- name='dependencies', full_name='istio.networking.v1alpha3.NetworkScope.dependencies', index=0,
+ name='dependencies', full_name='istio.networking.v1alpha3.ServiceDependency.dependencies', index=0,
number=1, type=11, cpp_type=10, label=3,
has_default_value=False, default_value=[],
message_type=None, enum_type=None, containing_type=None,
@@ -179,7 +179,7 @@
],
extensions=[
],
- nested_types=[_NETWORKSCOPE_IMPORT, _NETWORKSCOPE_DEPENDENCY, ],
+ nested_types=[_SERVICEDEPENDENCY_IMPORT, _SERVICEDEPENDENCY_DEPENDENCY, ],
enum_types=[
],
options=None,
@@ -188,54 +188,54 @@
extension_ranges=[],
oneofs=[
],
- serialized_start=71,
- serialized_end=453,
+ serialized_start=76,
+ serialized_end=478,
)
-_NETWORKSCOPE_IMPORT.containing_type = _NETWORKSCOPE
-_NETWORKSCOPE_DEPENDENCY_SOURCEWORKLOADLABELSENTRY.containing_type = _NETWORKSCOPE_DEPENDENCY
-_NETWORKSCOPE_DEPENDENCY.fields_by_name['source_workload_labels'].message_type = _NETWORKSCOPE_DEPENDENCY_SOURCEWORKLOADLABELSENTRY
-_NETWORKSCOPE_DEPENDENCY.fields_by_name['imports'].message_type = _NETWORKSCOPE_IMPORT
-_NETWORKSCOPE_DEPENDENCY.containing_type = _NETWORKSCOPE
-_NETWORKSCOPE.fields_by_name['dependencies'].message_type = _NETWORKSCOPE_DEPENDENCY
-DESCRIPTOR.message_types_by_name['NetworkScope'] = _NETWORKSCOPE
+_SERVICEDEPENDENCY_IMPORT.containing_type = _SERVICEDEPENDENCY
+_SERVICEDEPENDENCY_DEPENDENCY_SOURCEWORKLOADLABELSENTRY.containing_type = _SERVICEDEPENDENCY_DEPENDENCY
+_SERVICEDEPENDENCY_DEPENDENCY.fields_by_name['source_workload_labels'].message_type = _SERVICEDEPENDENCY_DEPENDENCY_SOURCEWORKLOADLABELSENTRY
+_SERVICEDEPENDENCY_DEPENDENCY.fields_by_name['imports'].message_type = _SERVICEDEPENDENCY_IMPORT
+_SERVICEDEPENDENCY_DEPENDENCY.containing_type = _SERVICEDEPENDENCY
+_SERVICEDEPENDENCY.fields_by_name['dependencies'].message_type = _SERVICEDEPENDENCY_DEPENDENCY
+DESCRIPTOR.message_types_by_name['ServiceDependency'] = _SERVICEDEPENDENCY
DESCRIPTOR.enum_types_by_name['ConfigScope'] = _CONFIGSCOPE
_sym_db.RegisterFileDescriptor(DESCRIPTOR)
-NetworkScope = _reflection.GeneratedProtocolMessageType('NetworkScope', (_message.Message,), dict(
+ServiceDependency = _reflection.GeneratedProtocolMessageType('ServiceDependency', (_message.Message,), dict(
Import = _reflection.GeneratedProtocolMessageType('Import', (_message.Message,), dict(
- DESCRIPTOR = _NETWORKSCOPE_IMPORT,
- __module__ = 'networking.v1alpha3.network_scope_pb2'
- # @@protoc_insertion_point(class_scope:istio.networking.v1alpha3.NetworkScope.Import)
+ DESCRIPTOR = _SERVICEDEPENDENCY_IMPORT,
+ __module__ = 'networking.v1alpha3.service_dependency_pb2'
+ # @@protoc_insertion_point(class_scope:istio.networking.v1alpha3.ServiceDependency.Import)
))
,
Dependency = _reflection.GeneratedProtocolMessageType('Dependency', (_message.Message,), dict(
SourceWorkloadLabelsEntry = _reflection.GeneratedProtocolMessageType('SourceWorkloadLabelsEntry', (_message.Message,), dict(
- DESCRIPTOR = _NETWORKSCOPE_DEPENDENCY_SOURCEWORKLOADLABELSENTRY,
- __module__ = 'networking.v1alpha3.network_scope_pb2'
- # @@protoc_insertion_point(class_scope:istio.networking.v1alpha3.NetworkScope.Dependency.SourceWorkloadLabelsEntry)
+ DESCRIPTOR = _SERVICEDEPENDENCY_DEPENDENCY_SOURCEWORKLOADLABELSENTRY,
+ __module__ = 'networking.v1alpha3.service_dependency_pb2'
+ # @@protoc_insertion_point(class_scope:istio.networking.v1alpha3.ServiceDependency.Dependency.SourceWorkloadLabelsEntry)
))
,
- DESCRIPTOR = _NETWORKSCOPE_DEPENDENCY,
- __module__ = 'networking.v1alpha3.network_scope_pb2'
- # @@protoc_insertion_point(class_scope:istio.networking.v1alpha3.NetworkScope.Dependency)
+ DESCRIPTOR = _SERVICEDEPENDENCY_DEPENDENCY,
+ __module__ = 'networking.v1alpha3.service_dependency_pb2'
+ # @@protoc_insertion_point(class_scope:istio.networking.v1alpha3.ServiceDependency.Dependency)
))
,
- DESCRIPTOR = _NETWORKSCOPE,
- __module__ = 'networking.v1alpha3.network_scope_pb2'
- # @@protoc_insertion_point(class_scope:istio.networking.v1alpha3.NetworkScope)
+ DESCRIPTOR = _SERVICEDEPENDENCY,
+ __module__ = 'networking.v1alpha3.service_dependency_pb2'
+ # @@protoc_insertion_point(class_scope:istio.networking.v1alpha3.ServiceDependency)
))
-_sym_db.RegisterMessage(NetworkScope)
-_sym_db.RegisterMessage(NetworkScope.Import)
-_sym_db.RegisterMessage(NetworkScope.Dependency)
-_sym_db.RegisterMessage(NetworkScope.Dependency.SourceWorkloadLabelsEntry)
+_sym_db.RegisterMessage(ServiceDependency)
+_sym_db.RegisterMessage(ServiceDependency.Import)
+_sym_db.RegisterMessage(ServiceDependency.Dependency)
+_sym_db.RegisterMessage(ServiceDependency.Dependency.SourceWorkloadLabelsEntry)
DESCRIPTOR.has_options = True
DESCRIPTOR._options = _descriptor._ParseOptions(descriptor_pb2.FileOptions(), _b('Z istio.io/api/networking/v1alpha3'))
-_NETWORKSCOPE_DEPENDENCY_SOURCEWORKLOADLABELSENTRY.has_options = True
-_NETWORKSCOPE_DEPENDENCY_SOURCEWORKLOADLABELSENTRY._options = _descriptor._ParseOptions(descriptor_pb2.MessageOptions(), _b('8\001'))
+_SERVICEDEPENDENCY_DEPENDENCY_SOURCEWORKLOADLABELSENTRY.has_options = True
+_SERVICEDEPENDENCY_DEPENDENCY_SOURCEWORKLOADLABELSENTRY._options = _descriptor._ParseOptions(descriptor_pb2.MessageOptions(), _b('8\001'))
# @@protoc_insertion_point(module_scope)
diff --git a/python/istio_api/networking/v1alpha3/service_entry_pb2.py b/python/istio_api/networking/v1alpha3/service_entry_pb2.py
index b9d58bd667..c3c269209f 100644
--- a/python/istio_api/networking/v1alpha3/service_entry_pb2.py
+++ b/python/istio_api/networking/v1alpha3/service_entry_pb2.py
@@ -14,16 +14,16 @@
from networking.v1alpha3 import gateway_pb2 as networking_dot_v1alpha3_dot_gateway__pb2
-from networking.v1alpha3 import network_scope_pb2 as networking_dot_v1alpha3_dot_network__scope__pb2
+from networking.v1alpha3 import service_dependency_pb2 as networking_dot_v1alpha3_dot_service__dependency__pb2
DESCRIPTOR = _descriptor.FileDescriptor(
name='networking/v1alpha3/service_entry.proto',
package='istio.networking.v1alpha3',
syntax='proto3',
- serialized_pb=_b('\n\'networking/v1alpha3/service_entry.proto\x12\x19istio.networking.v1alpha3\x1a!networking/v1alpha3/gateway.proto\x1a\'networking/v1alpha3/network_scope.proto\"\x96\x06\n\x0cServiceEntry\x12\r\n\x05hosts\x18\x01 \x03(\t\x12\x11\n\taddresses\x18\x02 \x03(\t\x12.\n\x05ports\x18\x03 \x03(\x0b\x32\x1f.istio.networking.v1alpha3.Port\x12\x42\n\x08location\x18\x04 \x01(\x0e\x32\x30.istio.networking.v1alpha3.ServiceEntry.Location\x12\x46\n\nresolution\x18\x05 \x01(\x0e\x32\x32.istio.networking.v1alpha3.ServiceEntry.Resolution\x12\x43\n\tendpoints\x18\x06 \x03(\x0b\x32\x30.istio.networking.v1alpha3.ServiceEntry.Endpoint\x12<\n\x0c\x63onfig_scope\x18\x07 \x01(\x0e\x32&.istio.networking.v1alpha3.ConfigScope\x1a\xc5\x02\n\x08\x45ndpoint\x12\x0f\n\x07\x61\x64\x64ress\x18\x01 \x01(\t\x12J\n\x05ports\x18\x02 \x03(\x0b\x32;.istio.networking.v1alpha3.ServiceEntry.Endpoint.PortsEntry\x12L\n\x06labels\x18\x03 \x03(\x0b\x32<.istio.networking.v1alpha3.ServiceEntry.Endpoint.LabelsEntry\x12\x0f\n\x07network\x18\x04 \x01(\t\x12\x10\n\x08locality\x18\x05 \x01(\t\x12\x0e\n\x06weight\x18\x06 \x01(\r\x1a,\n\nPortsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\r:\x02\x38\x01\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"0\n\x08Location\x12\x11\n\rMESH_EXTERNAL\x10\x00\x12\x11\n\rMESH_INTERNAL\x10\x01\"+\n\nResolution\x12\x08\n\x04NONE\x10\x00\x12\n\n\x06STATIC\x10\x01\x12\x07\n\x03\x44NS\x10\x02\x42\"Z istio.io/api/networking/v1alpha3b\x06proto3')
+ serialized_pb=_b('\n\'networking/v1alpha3/service_entry.proto\x12\x19istio.networking.v1alpha3\x1a!networking/v1alpha3/gateway.proto\x1a,networking/v1alpha3/service_dependency.proto\"\x96\x06\n\x0cServiceEntry\x12\r\n\x05hosts\x18\x01 \x03(\t\x12\x11\n\taddresses\x18\x02 \x03(\t\x12.\n\x05ports\x18\x03 \x03(\x0b\x32\x1f.istio.networking.v1alpha3.Port\x12\x42\n\x08location\x18\x04 \x01(\x0e\x32\x30.istio.networking.v1alpha3.ServiceEntry.Location\x12\x46\n\nresolution\x18\x05 \x01(\x0e\x32\x32.istio.networking.v1alpha3.ServiceEntry.Resolution\x12\x43\n\tendpoints\x18\x06 \x03(\x0b\x32\x30.istio.networking.v1alpha3.ServiceEntry.Endpoint\x12<\n\x0c\x63onfig_scope\x18\x07 \x01(\x0e\x32&.istio.networking.v1alpha3.ConfigScope\x1a\xc5\x02\n\x08\x45ndpoint\x12\x0f\n\x07\x61\x64\x64ress\x18\x01 \x01(\t\x12J\n\x05ports\x18\x02 \x03(\x0b\x32;.istio.networking.v1alpha3.ServiceEntry.Endpoint.PortsEntry\x12L\n\x06labels\x18\x03 \x03(\x0b\x32<.istio.networking.v1alpha3.ServiceEntry.Endpoint.LabelsEntry\x12\x0f\n\x07network\x18\x04 \x01(\t\x12\x10\n\x08locality\x18\x05 \x01(\t\x12\x0e\n\x06weight\x18\x06 \x01(\r\x1a,\n\nPortsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\r:\x02\x38\x01\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"0\n\x08Location\x12\x11\n\rMESH_EXTERNAL\x10\x00\x12\x11\n\rMESH_INTERNAL\x10\x01\"+\n\nResolution\x12\x08\n\x04NONE\x10\x00\x12\n\n\x06STATIC\x10\x01\x12\x07\n\x03\x44NS\x10\x02\x42\"Z istio.io/api/networking/v1alpha3b\x06proto3')
,
- dependencies=[networking_dot_v1alpha3_dot_gateway__pb2.DESCRIPTOR,networking_dot_v1alpha3_dot_network__scope__pb2.DESCRIPTOR,])
+ dependencies=[networking_dot_v1alpha3_dot_gateway__pb2.DESCRIPTOR,networking_dot_v1alpha3_dot_service__dependency__pb2.DESCRIPTOR,])
@@ -44,8 +44,8 @@
],
containing_type=None,
options=None,
- serialized_start=844,
- serialized_end=892,
+ serialized_start=849,
+ serialized_end=897,
)
_sym_db.RegisterEnumDescriptor(_SERVICEENTRY_LOCATION)
@@ -70,8 +70,8 @@
],
containing_type=None,
options=None,
- serialized_start=894,
- serialized_end=937,
+ serialized_start=899,
+ serialized_end=942,
)
_sym_db.RegisterEnumDescriptor(_SERVICEENTRY_RESOLUTION)
@@ -109,8 +109,8 @@
extension_ranges=[],
oneofs=[
],
- serialized_start=751,
- serialized_end=795,
+ serialized_start=756,
+ serialized_end=800,
)
_SERVICEENTRY_ENDPOINT_LABELSENTRY = _descriptor.Descriptor(
@@ -146,8 +146,8 @@
extension_ranges=[],
oneofs=[
],
- serialized_start=797,
- serialized_end=842,
+ serialized_start=802,
+ serialized_end=847,
)
_SERVICEENTRY_ENDPOINT = _descriptor.Descriptor(
@@ -211,8 +211,8 @@
extension_ranges=[],
oneofs=[
],
- serialized_start=517,
- serialized_end=842,
+ serialized_start=522,
+ serialized_end=847,
)
_SERVICEENTRY = _descriptor.Descriptor(
@@ -285,8 +285,8 @@
extension_ranges=[],
oneofs=[
],
- serialized_start=147,
- serialized_end=937,
+ serialized_start=152,
+ serialized_end=942,
)
_SERVICEENTRY_ENDPOINT_PORTSENTRY.containing_type = _SERVICEENTRY_ENDPOINT
@@ -298,7 +298,7 @@
_SERVICEENTRY.fields_by_name['location'].enum_type = _SERVICEENTRY_LOCATION
_SERVICEENTRY.fields_by_name['resolution'].enum_type = _SERVICEENTRY_RESOLUTION
_SERVICEENTRY.fields_by_name['endpoints'].message_type = _SERVICEENTRY_ENDPOINT
-_SERVICEENTRY.fields_by_name['config_scope'].enum_type = networking_dot_v1alpha3_dot_network__scope__pb2._CONFIGSCOPE
+_SERVICEENTRY.fields_by_name['config_scope'].enum_type = networking_dot_v1alpha3_dot_service__dependency__pb2._CONFIGSCOPE
_SERVICEENTRY_LOCATION.containing_type = _SERVICEENTRY
_SERVICEENTRY_RESOLUTION.containing_type = _SERVICEENTRY
DESCRIPTOR.message_types_by_name['ServiceEntry'] = _SERVICEENTRY
diff --git a/python/istio_api/networking/v1alpha3/virtual_service_pb2.py b/python/istio_api/networking/v1alpha3/virtual_service_pb2.py
index 9a6433a753..7df90ca370 100644
--- a/python/istio_api/networking/v1alpha3/virtual_service_pb2.py
+++ b/python/istio_api/networking/v1alpha3/virtual_service_pb2.py
@@ -15,16 +15,16 @@
from google.protobuf import duration_pb2 as google_dot_protobuf_dot_duration__pb2
from google.protobuf import wrappers_pb2 as google_dot_protobuf_dot_wrappers__pb2
-from networking.v1alpha3 import network_scope_pb2 as networking_dot_v1alpha3_dot_network__scope__pb2
+from networking.v1alpha3 import service_dependency_pb2 as networking_dot_v1alpha3_dot_service__dependency__pb2
DESCRIPTOR = _descriptor.FileDescriptor(
name='networking/v1alpha3/virtual_service.proto',
package='istio.networking.v1alpha3',
syntax='proto3',
- serialized_pb=_b('\n)networking/v1alpha3/virtual_service.proto\x12\x19istio.networking.v1alpha3\x1a\x1egoogle/protobuf/duration.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a\'networking/v1alpha3/network_scope.proto\"\x87\x02\n\x0eVirtualService\x12\r\n\x05hosts\x18\x01 \x03(\t\x12\x10\n\x08gateways\x18\x02 \x03(\t\x12\x32\n\x04http\x18\x03 \x03(\x0b\x32$.istio.networking.v1alpha3.HTTPRoute\x12\x30\n\x03tls\x18\x05 \x03(\x0b\x32#.istio.networking.v1alpha3.TLSRoute\x12\x30\n\x03tcp\x18\x04 \x03(\x0b\x32#.istio.networking.v1alpha3.TCPRoute\x12<\n\x0c\x63onfig_scope\x18\x06 \x01(\x0e\x32&.istio.networking.v1alpha3.ConfigScope\"b\n\x0b\x44\x65stination\x12\x0c\n\x04host\x18\x01 \x01(\t\x12\x0e\n\x06subset\x18\x02 \x01(\t\x12\x35\n\x04port\x18\x03 \x01(\x0b\x32\'.istio.networking.v1alpha3.PortSelector\"\xf9\x08\n\tHTTPRoute\x12:\n\x05match\x18\x01 \x03(\x0b\x32+.istio.networking.v1alpha3.HTTPMatchRequest\x12>\n\x05route\x18\x02 \x03(\x0b\x32/.istio.networking.v1alpha3.HTTPRouteDestination\x12\x39\n\x08redirect\x18\x03 \x01(\x0b\x32\'.istio.networking.v1alpha3.HTTPRedirect\x12\x37\n\x07rewrite\x18\x04 \x01(\x0b\x32&.istio.networking.v1alpha3.HTTPRewrite\x12\x19\n\x11websocket_upgrade\x18\x05 \x01(\x08\x12*\n\x07timeout\x18\x06 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x35\n\x07retries\x18\x07 \x01(\x0b\x32$.istio.networking.v1alpha3.HTTPRetry\x12<\n\x05\x66\x61ult\x18\x08 \x01(\x0b\x32-.istio.networking.v1alpha3.HTTPFaultInjection\x12\x36\n\x06mirror\x18\t \x01(\x0b\x32&.istio.networking.v1alpha3.Destination\x12:\n\x0b\x63ors_policy\x18\n \x01(\x0b\x32%.istio.networking.v1alpha3.CorsPolicy\x12S\n\x0e\x61ppend_headers\x18\x0b \x03(\x0b\x32\x37.istio.networking.v1alpha3.HTTPRoute.AppendHeadersEntryB\x02\x18\x01\x12#\n\x17remove_response_headers\x18\x0c \x03(\tB\x02\x18\x01\x12\x64\n\x17\x61ppend_response_headers\x18\r \x03(\x0b\x32?.istio.networking.v1alpha3.HTTPRoute.AppendResponseHeadersEntryB\x02\x18\x01\x12\"\n\x16remove_request_headers\x18\x0e \x03(\tB\x02\x18\x01\x12\x62\n\x16\x61ppend_request_headers\x18\x0f \x03(\x0b\x32>.istio.networking.v1alpha3.HTTPRoute.AppendRequestHeadersEntryB\x02\x18\x01\x12\x33\n\x07headers\x18\x10 \x01(\x0b\x32\".istio.networking.v1alpha3.Headers\x1a\x34\n\x12\x41ppendHeadersEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a<\n\x1a\x41ppendResponseHeadersEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a;\n\x19\x41ppendRequestHeadersEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\xa9\x03\n\x07Headers\x12\x44\n\x07request\x18\x01 \x01(\x0b\x32\x33.istio.networking.v1alpha3.Headers.HeaderOperations\x12\x45\n\x08response\x18\x02 \x01(\x0b\x32\x33.istio.networking.v1alpha3.Headers.HeaderOperations\x1a\x90\x02\n\x10HeaderOperations\x12I\n\x03set\x18\x01 \x03(\x0b\x32<.istio.networking.v1alpha3.Headers.HeaderOperations.SetEntry\x12I\n\x03\x61\x64\x64\x18\x02 \x03(\x0b\x32<.istio.networking.v1alpha3.Headers.HeaderOperations.AddEntry\x12\x0e\n\x06remove\x18\x03 \x03(\t\x1a*\n\x08SetEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a*\n\x08\x41\x64\x64\x45ntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\x84\x01\n\x08TLSRoute\x12<\n\x05match\x18\x01 \x03(\x0b\x32-.istio.networking.v1alpha3.TLSMatchAttributes\x12:\n\x05route\x18\x02 \x03(\x0b\x32+.istio.networking.v1alpha3.RouteDestination\"\x83\x01\n\x08TCPRoute\x12;\n\x05match\x18\x01 \x03(\x0b\x32,.istio.networking.v1alpha3.L4MatchAttributes\x12:\n\x05route\x18\x02 \x03(\x0b\x32+.istio.networking.v1alpha3.RouteDestination\"\xc0\x04\n\x10HTTPMatchRequest\x12\x33\n\x03uri\x18\x01 \x01(\x0b\x32&.istio.networking.v1alpha3.StringMatch\x12\x36\n\x06scheme\x18\x02 \x01(\x0b\x32&.istio.networking.v1alpha3.StringMatch\x12\x36\n\x06method\x18\x03 \x01(\x0b\x32&.istio.networking.v1alpha3.StringMatch\x12\x39\n\tauthority\x18\x04 \x01(\x0b\x32&.istio.networking.v1alpha3.StringMatch\x12I\n\x07headers\x18\x05 \x03(\x0b\x32\x38.istio.networking.v1alpha3.HTTPMatchRequest.HeadersEntry\x12\x0c\n\x04port\x18\x06 \x01(\r\x12T\n\rsource_labels\x18\x07 \x03(\x0b\x32=.istio.networking.v1alpha3.HTTPMatchRequest.SourceLabelsEntry\x12\x10\n\x08gateways\x18\x08 \x03(\t\x1aV\n\x0cHeadersEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x35\n\x05value\x18\x02 \x01(\x0b\x32&.istio.networking.v1alpha3.StringMatch:\x02\x38\x01\x1a\x33\n\x11SourceLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\xbc\x04\n\x14HTTPRouteDestination\x12;\n\x0b\x64\x65stination\x18\x01 \x01(\x0b\x32&.istio.networking.v1alpha3.Destination\x12\x0e\n\x06weight\x18\x02 \x01(\x05\x12#\n\x17remove_response_headers\x18\x03 \x03(\tB\x02\x18\x01\x12o\n\x17\x61ppend_response_headers\x18\x04 \x03(\x0b\x32J.istio.networking.v1alpha3.HTTPRouteDestination.AppendResponseHeadersEntryB\x02\x18\x01\x12\"\n\x16remove_request_headers\x18\x05 \x03(\tB\x02\x18\x01\x12m\n\x16\x61ppend_request_headers\x18\x06 \x03(\x0b\x32I.istio.networking.v1alpha3.HTTPRouteDestination.AppendRequestHeadersEntryB\x02\x18\x01\x12\x33\n\x07headers\x18\x07 \x01(\x0b\x32\".istio.networking.v1alpha3.Headers\x1a<\n\x1a\x41ppendResponseHeadersEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a;\n\x19\x41ppendRequestHeadersEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"_\n\x10RouteDestination\x12;\n\x0b\x64\x65stination\x18\x01 \x01(\x0b\x32&.istio.networking.v1alpha3.Destination\x12\x0e\n\x06weight\x18\x02 \x01(\x05\"\xf3\x01\n\x11L4MatchAttributes\x12\x1b\n\x13\x64\x65stination_subnets\x18\x01 \x03(\t\x12\x0c\n\x04port\x18\x02 \x01(\r\x12\x15\n\rsource_subnet\x18\x03 \x01(\t\x12U\n\rsource_labels\x18\x04 \x03(\x0b\x32>.istio.networking.v1alpha3.L4MatchAttributes.SourceLabelsEntry\x12\x10\n\x08gateways\x18\x05 \x03(\t\x1a\x33\n\x11SourceLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\x88\x02\n\x12TLSMatchAttributes\x12\x11\n\tsni_hosts\x18\x01 \x03(\t\x12\x1b\n\x13\x64\x65stination_subnets\x18\x02 \x03(\t\x12\x0c\n\x04port\x18\x03 \x01(\r\x12\x15\n\rsource_subnet\x18\x04 \x01(\t\x12V\n\rsource_labels\x18\x05 \x03(\x0b\x32?.istio.networking.v1alpha3.TLSMatchAttributes.SourceLabelsEntry\x12\x10\n\x08gateways\x18\x06 \x03(\t\x1a\x33\n\x11SourceLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\".\n\x0cHTTPRedirect\x12\x0b\n\x03uri\x18\x01 \x01(\t\x12\x11\n\tauthority\x18\x02 \x01(\t\"-\n\x0bHTTPRewrite\x12\x0b\n\x03uri\x18\x01 \x01(\t\x12\x11\n\tauthority\x18\x02 \x01(\t\"O\n\x0bStringMatch\x12\x0f\n\x05\x65xact\x18\x01 \x01(\tH\x00\x12\x10\n\x06prefix\x18\x02 \x01(\tH\x00\x12\x0f\n\x05regex\x18\x03 \x01(\tH\x00\x42\x0c\n\nmatch_type\"c\n\tHTTPRetry\x12\x10\n\x08\x61ttempts\x18\x01 \x01(\x05\x12\x32\n\x0fper_try_timeout\x18\x02 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x10\n\x08retry_on\x18\x03 \x01(\t\"\xcb\x01\n\nCorsPolicy\x12\x14\n\x0c\x61llow_origin\x18\x01 \x03(\t\x12\x15\n\rallow_methods\x18\x02 \x03(\t\x12\x15\n\rallow_headers\x18\x03 \x03(\t\x12\x16\n\x0e\x65xpose_headers\x18\x04 \x03(\t\x12*\n\x07max_age\x18\x05 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x35\n\x11\x61llow_credentials\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.BoolValue\"\x9a\x04\n\x12HTTPFaultInjection\x12\x42\n\x05\x64\x65lay\x18\x01 \x01(\x0b\x32\x33.istio.networking.v1alpha3.HTTPFaultInjection.Delay\x12\x42\n\x05\x61\x62ort\x18\x02 \x01(\x0b\x32\x33.istio.networking.v1alpha3.HTTPFaultInjection.Abort\x1a\xd1\x01\n\x05\x44\x65lay\x12\x13\n\x07percent\x18\x01 \x01(\x05\x42\x02\x18\x01\x12\x30\n\x0b\x66ixed_delay\x18\x02 \x01(\x0b\x32\x19.google.protobuf.DurationH\x00\x12\x36\n\x11\x65xponential_delay\x18\x03 \x01(\x0b\x32\x19.google.protobuf.DurationH\x00\x12\x36\n\npercentage\x18\x05 \x01(\x0b\x32\".istio.networking.v1alpha3.PercentB\x11\n\x0fhttp_delay_type\x1a\xa7\x01\n\x05\x41\x62ort\x12\x13\n\x07percent\x18\x01 \x01(\x05\x42\x02\x18\x01\x12\x15\n\x0bhttp_status\x18\x02 \x01(\x05H\x00\x12\x15\n\x0bgrpc_status\x18\x03 \x01(\tH\x00\x12\x15\n\x0bhttp2_error\x18\x04 \x01(\tH\x00\x12\x36\n\npercentage\x18\x05 \x01(\x0b\x32\".istio.networking.v1alpha3.PercentB\x0c\n\nerror_type\"8\n\x0cPortSelector\x12\x10\n\x06number\x18\x01 \x01(\rH\x00\x12\x0e\n\x04name\x18\x02 \x01(\tH\x00\x42\x06\n\x04port\"\x18\n\x07Percent\x12\r\n\x05value\x18\x01 \x01(\x01\x42\"Z istio.io/api/networking/v1alpha3b\x06proto3')
+ serialized_pb=_b('\n)networking/v1alpha3/virtual_service.proto\x12\x19istio.networking.v1alpha3\x1a\x1egoogle/protobuf/duration.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a,networking/v1alpha3/service_dependency.proto\"\x87\x02\n\x0eVirtualService\x12\r\n\x05hosts\x18\x01 \x03(\t\x12\x10\n\x08gateways\x18\x02 \x03(\t\x12\x32\n\x04http\x18\x03 \x03(\x0b\x32$.istio.networking.v1alpha3.HTTPRoute\x12\x30\n\x03tls\x18\x05 \x03(\x0b\x32#.istio.networking.v1alpha3.TLSRoute\x12\x30\n\x03tcp\x18\x04 \x03(\x0b\x32#.istio.networking.v1alpha3.TCPRoute\x12<\n\x0c\x63onfig_scope\x18\x06 \x01(\x0e\x32&.istio.networking.v1alpha3.ConfigScope\"b\n\x0b\x44\x65stination\x12\x0c\n\x04host\x18\x01 \x01(\t\x12\x0e\n\x06subset\x18\x02 \x01(\t\x12\x35\n\x04port\x18\x03 \x01(\x0b\x32\'.istio.networking.v1alpha3.PortSelector\"\xf9\x08\n\tHTTPRoute\x12:\n\x05match\x18\x01 \x03(\x0b\x32+.istio.networking.v1alpha3.HTTPMatchRequest\x12>\n\x05route\x18\x02 \x03(\x0b\x32/.istio.networking.v1alpha3.HTTPRouteDestination\x12\x39\n\x08redirect\x18\x03 \x01(\x0b\x32\'.istio.networking.v1alpha3.HTTPRedirect\x12\x37\n\x07rewrite\x18\x04 \x01(\x0b\x32&.istio.networking.v1alpha3.HTTPRewrite\x12\x19\n\x11websocket_upgrade\x18\x05 \x01(\x08\x12*\n\x07timeout\x18\x06 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x35\n\x07retries\x18\x07 \x01(\x0b\x32$.istio.networking.v1alpha3.HTTPRetry\x12<\n\x05\x66\x61ult\x18\x08 \x01(\x0b\x32-.istio.networking.v1alpha3.HTTPFaultInjection\x12\x36\n\x06mirror\x18\t \x01(\x0b\x32&.istio.networking.v1alpha3.Destination\x12:\n\x0b\x63ors_policy\x18\n \x01(\x0b\x32%.istio.networking.v1alpha3.CorsPolicy\x12S\n\x0e\x61ppend_headers\x18\x0b \x03(\x0b\x32\x37.istio.networking.v1alpha3.HTTPRoute.AppendHeadersEntryB\x02\x18\x01\x12#\n\x17remove_response_headers\x18\x0c \x03(\tB\x02\x18\x01\x12\x64\n\x17\x61ppend_response_headers\x18\r \x03(\x0b\x32?.istio.networking.v1alpha3.HTTPRoute.AppendResponseHeadersEntryB\x02\x18\x01\x12\"\n\x16remove_request_headers\x18\x0e \x03(\tB\x02\x18\x01\x12\x62\n\x16\x61ppend_request_headers\x18\x0f \x03(\x0b\x32>.istio.networking.v1alpha3.HTTPRoute.AppendRequestHeadersEntryB\x02\x18\x01\x12\x33\n\x07headers\x18\x10 \x01(\x0b\x32\".istio.networking.v1alpha3.Headers\x1a\x34\n\x12\x41ppendHeadersEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a<\n\x1a\x41ppendResponseHeadersEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a;\n\x19\x41ppendRequestHeadersEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\xa9\x03\n\x07Headers\x12\x44\n\x07request\x18\x01 \x01(\x0b\x32\x33.istio.networking.v1alpha3.Headers.HeaderOperations\x12\x45\n\x08response\x18\x02 \x01(\x0b\x32\x33.istio.networking.v1alpha3.Headers.HeaderOperations\x1a\x90\x02\n\x10HeaderOperations\x12I\n\x03set\x18\x01 \x03(\x0b\x32<.istio.networking.v1alpha3.Headers.HeaderOperations.SetEntry\x12I\n\x03\x61\x64\x64\x18\x02 \x03(\x0b\x32<.istio.networking.v1alpha3.Headers.HeaderOperations.AddEntry\x12\x0e\n\x06remove\x18\x03 \x03(\t\x1a*\n\x08SetEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a*\n\x08\x41\x64\x64\x45ntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\x84\x01\n\x08TLSRoute\x12<\n\x05match\x18\x01 \x03(\x0b\x32-.istio.networking.v1alpha3.TLSMatchAttributes\x12:\n\x05route\x18\x02 \x03(\x0b\x32+.istio.networking.v1alpha3.RouteDestination\"\x83\x01\n\x08TCPRoute\x12;\n\x05match\x18\x01 \x03(\x0b\x32,.istio.networking.v1alpha3.L4MatchAttributes\x12:\n\x05route\x18\x02 \x03(\x0b\x32+.istio.networking.v1alpha3.RouteDestination\"\xc0\x04\n\x10HTTPMatchRequest\x12\x33\n\x03uri\x18\x01 \x01(\x0b\x32&.istio.networking.v1alpha3.StringMatch\x12\x36\n\x06scheme\x18\x02 \x01(\x0b\x32&.istio.networking.v1alpha3.StringMatch\x12\x36\n\x06method\x18\x03 \x01(\x0b\x32&.istio.networking.v1alpha3.StringMatch\x12\x39\n\tauthority\x18\x04 \x01(\x0b\x32&.istio.networking.v1alpha3.StringMatch\x12I\n\x07headers\x18\x05 \x03(\x0b\x32\x38.istio.networking.v1alpha3.HTTPMatchRequest.HeadersEntry\x12\x0c\n\x04port\x18\x06 \x01(\r\x12T\n\rsource_labels\x18\x07 \x03(\x0b\x32=.istio.networking.v1alpha3.HTTPMatchRequest.SourceLabelsEntry\x12\x10\n\x08gateways\x18\x08 \x03(\t\x1aV\n\x0cHeadersEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x35\n\x05value\x18\x02 \x01(\x0b\x32&.istio.networking.v1alpha3.StringMatch:\x02\x38\x01\x1a\x33\n\x11SourceLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\xbc\x04\n\x14HTTPRouteDestination\x12;\n\x0b\x64\x65stination\x18\x01 \x01(\x0b\x32&.istio.networking.v1alpha3.Destination\x12\x0e\n\x06weight\x18\x02 \x01(\x05\x12#\n\x17remove_response_headers\x18\x03 \x03(\tB\x02\x18\x01\x12o\n\x17\x61ppend_response_headers\x18\x04 \x03(\x0b\x32J.istio.networking.v1alpha3.HTTPRouteDestination.AppendResponseHeadersEntryB\x02\x18\x01\x12\"\n\x16remove_request_headers\x18\x05 \x03(\tB\x02\x18\x01\x12m\n\x16\x61ppend_request_headers\x18\x06 \x03(\x0b\x32I.istio.networking.v1alpha3.HTTPRouteDestination.AppendRequestHeadersEntryB\x02\x18\x01\x12\x33\n\x07headers\x18\x07 \x01(\x0b\x32\".istio.networking.v1alpha3.Headers\x1a<\n\x1a\x41ppendResponseHeadersEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a;\n\x19\x41ppendRequestHeadersEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"_\n\x10RouteDestination\x12;\n\x0b\x64\x65stination\x18\x01 \x01(\x0b\x32&.istio.networking.v1alpha3.Destination\x12\x0e\n\x06weight\x18\x02 \x01(\x05\"\xf3\x01\n\x11L4MatchAttributes\x12\x1b\n\x13\x64\x65stination_subnets\x18\x01 \x03(\t\x12\x0c\n\x04port\x18\x02 \x01(\r\x12\x15\n\rsource_subnet\x18\x03 \x01(\t\x12U\n\rsource_labels\x18\x04 \x03(\x0b\x32>.istio.networking.v1alpha3.L4MatchAttributes.SourceLabelsEntry\x12\x10\n\x08gateways\x18\x05 \x03(\t\x1a\x33\n\x11SourceLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\x88\x02\n\x12TLSMatchAttributes\x12\x11\n\tsni_hosts\x18\x01 \x03(\t\x12\x1b\n\x13\x64\x65stination_subnets\x18\x02 \x03(\t\x12\x0c\n\x04port\x18\x03 \x01(\r\x12\x15\n\rsource_subnet\x18\x04 \x01(\t\x12V\n\rsource_labels\x18\x05 \x03(\x0b\x32?.istio.networking.v1alpha3.TLSMatchAttributes.SourceLabelsEntry\x12\x10\n\x08gateways\x18\x06 \x03(\t\x1a\x33\n\x11SourceLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\".\n\x0cHTTPRedirect\x12\x0b\n\x03uri\x18\x01 \x01(\t\x12\x11\n\tauthority\x18\x02 \x01(\t\"-\n\x0bHTTPRewrite\x12\x0b\n\x03uri\x18\x01 \x01(\t\x12\x11\n\tauthority\x18\x02 \x01(\t\"O\n\x0bStringMatch\x12\x0f\n\x05\x65xact\x18\x01 \x01(\tH\x00\x12\x10\n\x06prefix\x18\x02 \x01(\tH\x00\x12\x0f\n\x05regex\x18\x03 \x01(\tH\x00\x42\x0c\n\nmatch_type\"c\n\tHTTPRetry\x12\x10\n\x08\x61ttempts\x18\x01 \x01(\x05\x12\x32\n\x0fper_try_timeout\x18\x02 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x10\n\x08retry_on\x18\x03 \x01(\t\"\xcb\x01\n\nCorsPolicy\x12\x14\n\x0c\x61llow_origin\x18\x01 \x03(\t\x12\x15\n\rallow_methods\x18\x02 \x03(\t\x12\x15\n\rallow_headers\x18\x03 \x03(\t\x12\x16\n\x0e\x65xpose_headers\x18\x04 \x03(\t\x12*\n\x07max_age\x18\x05 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x35\n\x11\x61llow_credentials\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.BoolValue\"\x9a\x04\n\x12HTTPFaultInjection\x12\x42\n\x05\x64\x65lay\x18\x01 \x01(\x0b\x32\x33.istio.networking.v1alpha3.HTTPFaultInjection.Delay\x12\x42\n\x05\x61\x62ort\x18\x02 \x01(\x0b\x32\x33.istio.networking.v1alpha3.HTTPFaultInjection.Abort\x1a\xd1\x01\n\x05\x44\x65lay\x12\x13\n\x07percent\x18\x01 \x01(\x05\x42\x02\x18\x01\x12\x30\n\x0b\x66ixed_delay\x18\x02 \x01(\x0b\x32\x19.google.protobuf.DurationH\x00\x12\x36\n\x11\x65xponential_delay\x18\x03 \x01(\x0b\x32\x19.google.protobuf.DurationH\x00\x12\x36\n\npercentage\x18\x05 \x01(\x0b\x32\".istio.networking.v1alpha3.PercentB\x11\n\x0fhttp_delay_type\x1a\xa7\x01\n\x05\x41\x62ort\x12\x13\n\x07percent\x18\x01 \x01(\x05\x42\x02\x18\x01\x12\x15\n\x0bhttp_status\x18\x02 \x01(\x05H\x00\x12\x15\n\x0bgrpc_status\x18\x03 \x01(\tH\x00\x12\x15\n\x0bhttp2_error\x18\x04 \x01(\tH\x00\x12\x36\n\npercentage\x18\x05 \x01(\x0b\x32\".istio.networking.v1alpha3.PercentB\x0c\n\nerror_type\"8\n\x0cPortSelector\x12\x10\n\x06number\x18\x01 \x01(\rH\x00\x12\x0e\n\x04name\x18\x02 \x01(\tH\x00\x42\x06\n\x04port\"\x18\n\x07Percent\x12\r\n\x05value\x18\x01 \x01(\x01\x42\"Z istio.io/api/networking/v1alpha3b\x06proto3')
,
- dependencies=[google_dot_protobuf_dot_duration__pb2.DESCRIPTOR,google_dot_protobuf_dot_wrappers__pb2.DESCRIPTOR,networking_dot_v1alpha3_dot_network__scope__pb2.DESCRIPTOR,])
+ dependencies=[google_dot_protobuf_dot_duration__pb2.DESCRIPTOR,google_dot_protobuf_dot_wrappers__pb2.DESCRIPTOR,networking_dot_v1alpha3_dot_service__dependency__pb2.DESCRIPTOR,])
@@ -90,8 +90,8 @@
extension_ranges=[],
oneofs=[
],
- serialized_start=178,
- serialized_end=441,
+ serialized_start=183,
+ serialized_end=446,
)
@@ -135,8 +135,8 @@
extension_ranges=[],
oneofs=[
],
- serialized_start=443,
- serialized_end=541,
+ serialized_start=448,
+ serialized_end=546,
)
@@ -173,8 +173,8 @@
extension_ranges=[],
oneofs=[
],
- serialized_start=1514,
- serialized_end=1566,
+ serialized_start=1519,
+ serialized_end=1571,
)
_HTTPROUTE_APPENDRESPONSEHEADERSENTRY = _descriptor.Descriptor(
@@ -210,8 +210,8 @@
extension_ranges=[],
oneofs=[
],
- serialized_start=1568,
- serialized_end=1628,
+ serialized_start=1573,
+ serialized_end=1633,
)
_HTTPROUTE_APPENDREQUESTHEADERSENTRY = _descriptor.Descriptor(
@@ -247,8 +247,8 @@
extension_ranges=[],
oneofs=[
],
- serialized_start=1630,
- serialized_end=1689,
+ serialized_start=1635,
+ serialized_end=1694,
)
_HTTPROUTE = _descriptor.Descriptor(
@@ -382,8 +382,8 @@
extension_ranges=[],
oneofs=[
],
- serialized_start=544,
- serialized_end=1689,
+ serialized_start=549,
+ serialized_end=1694,
)
@@ -420,8 +420,8 @@
extension_ranges=[],
oneofs=[
],
- serialized_start=2031,
- serialized_end=2073,
+ serialized_start=2036,
+ serialized_end=2078,
)
_HEADERS_HEADEROPERATIONS_ADDENTRY = _descriptor.Descriptor(
@@ -457,8 +457,8 @@
extension_ranges=[],
oneofs=[
],
- serialized_start=2075,
- serialized_end=2117,
+ serialized_start=2080,
+ serialized_end=2122,
)
_HEADERS_HEADEROPERATIONS = _descriptor.Descriptor(
@@ -501,8 +501,8 @@
extension_ranges=[],
oneofs=[
],
- serialized_start=1845,
- serialized_end=2117,
+ serialized_start=1850,
+ serialized_end=2122,
)
_HEADERS = _descriptor.Descriptor(
@@ -538,8 +538,8 @@
extension_ranges=[],
oneofs=[
],
- serialized_start=1692,
- serialized_end=2117,
+ serialized_start=1697,
+ serialized_end=2122,
)
@@ -576,8 +576,8 @@
extension_ranges=[],
oneofs=[
],
- serialized_start=2120,
- serialized_end=2252,
+ serialized_start=2125,
+ serialized_end=2257,
)
@@ -614,8 +614,8 @@
extension_ranges=[],
oneofs=[
],
- serialized_start=2255,
- serialized_end=2386,
+ serialized_start=2260,
+ serialized_end=2391,
)
@@ -652,8 +652,8 @@
extension_ranges=[],
oneofs=[
],
- serialized_start=2826,
- serialized_end=2912,
+ serialized_start=2831,
+ serialized_end=2917,
)
_HTTPMATCHREQUEST_SOURCELABELSENTRY = _descriptor.Descriptor(
@@ -689,8 +689,8 @@
extension_ranges=[],
oneofs=[
],
- serialized_start=2914,
- serialized_end=2965,
+ serialized_start=2919,
+ serialized_end=2970,
)
_HTTPMATCHREQUEST = _descriptor.Descriptor(
@@ -768,8 +768,8 @@
extension_ranges=[],
oneofs=[
],
- serialized_start=2389,
- serialized_end=2965,
+ serialized_start=2394,
+ serialized_end=2970,
)
@@ -806,8 +806,8 @@
extension_ranges=[],
oneofs=[
],
- serialized_start=1568,
- serialized_end=1628,
+ serialized_start=1573,
+ serialized_end=1633,
)
_HTTPROUTEDESTINATION_APPENDREQUESTHEADERSENTRY = _descriptor.Descriptor(
@@ -843,8 +843,8 @@
extension_ranges=[],
oneofs=[
],
- serialized_start=1630,
- serialized_end=1689,
+ serialized_start=1635,
+ serialized_end=1694,
)
_HTTPROUTEDESTINATION = _descriptor.Descriptor(
@@ -915,8 +915,8 @@
extension_ranges=[],
oneofs=[
],
- serialized_start=2968,
- serialized_end=3540,
+ serialized_start=2973,
+ serialized_end=3545,
)
@@ -953,8 +953,8 @@
extension_ranges=[],
oneofs=[
],
- serialized_start=3542,
- serialized_end=3637,
+ serialized_start=3547,
+ serialized_end=3642,
)
@@ -991,8 +991,8 @@
extension_ranges=[],
oneofs=[
],
- serialized_start=2914,
- serialized_end=2965,
+ serialized_start=2919,
+ serialized_end=2970,
)
_L4MATCHATTRIBUTES = _descriptor.Descriptor(
@@ -1049,8 +1049,8 @@
extension_ranges=[],
oneofs=[
],
- serialized_start=3640,
- serialized_end=3883,
+ serialized_start=3645,
+ serialized_end=3888,
)
@@ -1087,8 +1087,8 @@
extension_ranges=[],
oneofs=[
],
- serialized_start=2914,
- serialized_end=2965,
+ serialized_start=2919,
+ serialized_end=2970,
)
_TLSMATCHATTRIBUTES = _descriptor.Descriptor(
@@ -1152,8 +1152,8 @@
extension_ranges=[],
oneofs=[
],
- serialized_start=3886,
- serialized_end=4150,
+ serialized_start=3891,
+ serialized_end=4155,
)
@@ -1190,8 +1190,8 @@
extension_ranges=[],
oneofs=[
],
- serialized_start=4152,
- serialized_end=4198,
+ serialized_start=4157,
+ serialized_end=4203,
)
@@ -1228,8 +1228,8 @@
extension_ranges=[],
oneofs=[
],
- serialized_start=4200,
- serialized_end=4245,
+ serialized_start=4205,
+ serialized_end=4250,
)
@@ -1276,8 +1276,8 @@
name='match_type', full_name='istio.networking.v1alpha3.StringMatch.match_type',
index=0, containing_type=None, fields=[]),
],
- serialized_start=4247,
- serialized_end=4326,
+ serialized_start=4252,
+ serialized_end=4331,
)
@@ -1321,8 +1321,8 @@
extension_ranges=[],
oneofs=[
],
- serialized_start=4328,
- serialized_end=4427,
+ serialized_start=4333,
+ serialized_end=4432,
)
@@ -1387,8 +1387,8 @@
extension_ranges=[],
oneofs=[
],
- serialized_start=4430,
- serialized_end=4633,
+ serialized_start=4435,
+ serialized_end=4638,
)
@@ -1442,8 +1442,8 @@
name='http_delay_type', full_name='istio.networking.v1alpha3.HTTPFaultInjection.Delay.http_delay_type',
index=0, containing_type=None, fields=[]),
],
- serialized_start=4795,
- serialized_end=5004,
+ serialized_start=4800,
+ serialized_end=5009,
)
_HTTPFAULTINJECTION_ABORT = _descriptor.Descriptor(
@@ -1503,8 +1503,8 @@
name='error_type', full_name='istio.networking.v1alpha3.HTTPFaultInjection.Abort.error_type',
index=0, containing_type=None, fields=[]),
],
- serialized_start=5007,
- serialized_end=5174,
+ serialized_start=5012,
+ serialized_end=5179,
)
_HTTPFAULTINJECTION = _descriptor.Descriptor(
@@ -1540,8 +1540,8 @@
extension_ranges=[],
oneofs=[
],
- serialized_start=4636,
- serialized_end=5174,
+ serialized_start=4641,
+ serialized_end=5179,
)
@@ -1581,8 +1581,8 @@
name='port', full_name='istio.networking.v1alpha3.PortSelector.port',
index=0, containing_type=None, fields=[]),
],
- serialized_start=5176,
- serialized_end=5232,
+ serialized_start=5181,
+ serialized_end=5237,
)
@@ -1612,14 +1612,14 @@
extension_ranges=[],
oneofs=[
],
- serialized_start=5234,
- serialized_end=5258,
+ serialized_start=5239,
+ serialized_end=5263,
)
_VIRTUALSERVICE.fields_by_name['http'].message_type = _HTTPROUTE
_VIRTUALSERVICE.fields_by_name['tls'].message_type = _TLSROUTE
_VIRTUALSERVICE.fields_by_name['tcp'].message_type = _TCPROUTE
-_VIRTUALSERVICE.fields_by_name['config_scope'].enum_type = networking_dot_v1alpha3_dot_network__scope__pb2._CONFIGSCOPE
+_VIRTUALSERVICE.fields_by_name['config_scope'].enum_type = networking_dot_v1alpha3_dot_service__dependency__pb2._CONFIGSCOPE
_DESTINATION.fields_by_name['port'].message_type = _PORTSELECTOR
_HTTPROUTE_APPENDHEADERSENTRY.containing_type = _HTTPROUTE
_HTTPROUTE_APPENDRESPONSEHEADERSENTRY.containing_type = _HTTPROUTE
|