diff --git a/mesh/v1alpha1/config.pb.go b/mesh/v1alpha1/config.pb.go index 04cfb65148..c1e92f1999 100644 --- a/mesh/v1alpha1/config.pb.go +++ b/mesh/v1alpha1/config.pb.go @@ -175,6 +175,10 @@ type MeshConfig struct { // for k8s service account JWT, so that K8s API server mounts k8s service account JWT to envoy container, which // will be used to generate key/cert eventually. This isn't supported for non-k8s case. EnableSdsTokenMount bool `protobuf:"varint,23,opt,name=enable_sds_token_mount,json=enableSdsTokenMount,proto3" json:"enable_sds_token_mount,omitempty"` + // The trust domain corresponds to the trust root of a system. + // 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"` } func (m *MeshConfig) Reset() { *m = MeshConfig{} } @@ -315,6 +319,13 @@ func (m *MeshConfig) GetEnableSdsTokenMount() bool { return false } +func (m *MeshConfig) GetTrustDomain() string { + if m != nil { + return m.TrustDomain + } + return "" +} + // ConfigSource describes information about a configuration store inside a // mesh. A single control plane instance can interact with one or more data // sources. @@ -525,6 +536,14 @@ func (m *MeshConfig) MarshalTo(dAtA []byte) (int, error) { } i++ } + if len(m.TrustDomain) > 0 { + dAtA[i] = 0xd2 + i++ + dAtA[i] = 0x1 + i++ + i = encodeVarintConfig(dAtA, i, uint64(len(m.TrustDomain))) + i += copy(dAtA[i:], m.TrustDomain) + } return i, nil } @@ -643,6 +662,10 @@ func (m *MeshConfig) Size() (n int) { if m.PolicyCheckFailOpen { n += 3 } + l = len(m.TrustDomain) + if l > 0 { + n += 2 + l + sovConfig(uint64(l)) + } return n } @@ -1178,6 +1201,35 @@ func (m *MeshConfig) Unmarshal(dAtA []byte) error { } } m.PolicyCheckFailOpen = bool(v != 0) + case 26: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TrustDomain", 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.TrustDomain = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipConfig(dAtA[iNdEx:]) @@ -1419,58 +1471,59 @@ var ( func init() { proto.RegisterFile("mesh/v1alpha1/config.proto", fileDescriptorConfig) } var fileDescriptorConfig = []byte{ - // 838 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x54, 0xdd, 0x4e, 0x23, 0x37, - 0x18, 0xdd, 0x81, 0x2c, 0x84, 0x2f, 0x7f, 0x83, 0x53, 0x58, 0x43, 0x25, 0x9a, 0x52, 0x95, 0x46, - 0xa8, 0x9a, 0x68, 0x83, 0x7a, 0xd1, 0x4b, 0x08, 0x9b, 0x2e, 0x51, 0x58, 0xd0, 0x64, 0xb8, 0xe9, - 0x8d, 0x35, 0xcc, 0x38, 0x33, 0x16, 0x8e, 0x3d, 0x1a, 0x7b, 0xb6, 0xbb, 0xcf, 0xd4, 0x17, 0xe9, - 0x65, 0x1f, 0xa1, 0xe2, 0x49, 0xaa, 0xb1, 0x27, 0x24, 0x48, 0x91, 0xf6, 0xd2, 0xe7, 0x1c, 0xfb, - 0x3b, 0xfe, 0xce, 0x67, 0xc3, 0xf1, 0x82, 0xaa, 0x74, 0xf0, 0xf9, 0x7d, 0xc8, 0xb3, 0x34, 0x7c, - 0x3f, 0x88, 0xa4, 0x98, 0xb3, 0xc4, 0xcb, 0x72, 0xa9, 0x25, 0xea, 0x32, 0xa5, 0x99, 0xf4, 0x4a, - 0x85, 0xb7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ileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x54, 0x5d, 0x4f, 0x23, 0x37, + 0x14, 0xdd, 0x81, 0x2c, 0x84, 0x9b, 0x0f, 0x06, 0xa7, 0xb0, 0x26, 0x95, 0x68, 0x96, 0xaa, 0x34, + 0x42, 0xd5, 0x44, 0x1b, 0xd4, 0x87, 0x3e, 0x42, 0xd8, 0x74, 0x89, 0xc2, 0x82, 0x26, 0xe1, 0xa5, + 0x2f, 0xd6, 0x30, 0xe3, 0x64, 0x2c, 0x1c, 0x7b, 0x64, 0x7b, 0xb6, 0xbb, 0xff, 0xb0, 0x4f, 0x55, + 0x7f, 0x42, 0xc5, 0x2f, 0xa9, 0xc6, 0x9e, 0x90, 0x20, 0x45, 0xea, 0xa3, 0xcf, 0x39, 0xbe, 0xf7, + 0xf8, 0xde, 0xeb, 0x0b, 0xed, 0x05, 0xd5, 0x69, 0xef, 0xcb, 0x87, 0x88, 0x67, 0x69, 0xf4, 0xa1, + 0x17, 0x4b, 0x31, 0x63, 0xf3, 0x20, 0x53, 0xd2, 0x48, 0xd4, 0x62, 0xda, 0x30, 0x19, 0x14, 0x8a, + 0x60, 0xa9, 0x68, 0x9f, 0xcc, 0xa5, 0x9c, 0x73, 0xda, 0xb3, 0x92, 0xc7, 0x7c, 0xd6, 0x4b, 0x72, + 0x15, 0x19, 0x26, 0x85, 0xbb, 0xd4, 0x3e, 0x7e, 0x1d, 0x30, 0x53, 0xf2, 0xeb, 0xb7, 0x92, 0x3a, + 0x17, 0xd4, 0xfc, 0x29, 0xd5, 0x13, 0x13, 0xf3, 0xa5, 0xe0, 0xa2, 0x97, 0x50, 0x6d, 0x98, 0xb0, + 0x11, 0x88, 0xca, 0x39, 0x75, 0xda, 0xd3, 0xbf, 0xf7, 0x00, 0x6e, 0xa9, 0x4e, 0x07, 0xd6, 0x10, + 0xfa, 0x05, 0xd0, 0x82, 0x7d, 0xa5, 0x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e, 0x27, 0xbe, 0x37, 0xaa, 0x54, 0x6b, 0x7e, 0x7d, + 0x54, 0xa9, 0xee, 0xfb, 0xfe, 0xa8, 0x52, 0xf5, 0xfd, 0x83, 0x51, 0xa5, 0x7a, 0xe0, 0xa3, 0x51, + 0xa5, 0x8a, 0xfc, 0xd6, 0xa8, 0x52, 0x3d, 0xf4, 0x8f, 0x4e, 0x35, 0xd4, 0xd7, 0xcb, 0x8b, 0x30, + 0xec, 0x46, 0x49, 0x52, 0xd8, 0x2a, 0xd7, 0xd8, 0xf2, 0x88, 0x6e, 0xa0, 0x6e, 0x78, 0xf1, 0x31, + 0x8d, 0x61, 0x62, 0xae, 0xed, 0xda, 0xaa, 0xf5, 0xcf, 0xca, 0x8e, 0xad, 0x76, 0xe8, 0xb2, 0x6f, + 0x17, 0xc1, 0x74, 0x3c, 0x99, 0x94, 0xea, 0xb0, 0x66, 0xb8, 0x5e, 0x1e, 0xae, 0xba, 0x7f, 0x3d, + 0x9f, 0x78, 0xff, 0x3c, 0x9f, 0x78, 0xff, 0x3e, 0x9f, 0x78, 0x7f, 0xb4, 0x5d, 0x04, 0x26, 0x7b, + 0x51, 0xc6, 0x7a, 0xaf, 0xf6, 0xf4, 0xe3, 0x8e, 0xdd, 0x2c, 0x17, 0xff, 0x05, 0x00, 0x00, 0xff, + 0xff, 0x36, 0x90, 0xf4, 0x9e, 0x10, 0x06, 0x00, 0x00, } diff --git a/mesh/v1alpha1/config.proto b/mesh/v1alpha1/config.proto index 4ed253bc91..947ee9f70e 100644 --- a/mesh/v1alpha1/config.proto +++ b/mesh/v1alpha1/config.proto @@ -157,8 +157,13 @@ message MeshConfig { // will be used to generate key/cert eventually. This isn't supported for non-k8s case. bool enable_sds_token_mount = 23; + // The trust domain corresponds to the trust root of a system. + // 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. + string trust_domain = 26; + // $hide_from_docs - // Next available field number: 26 + // Next available field number: 27 } // 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 c78edc388d..13b2d84987 100644 --- a/mesh/v1alpha1/istio.mesh.v1alpha1.pb.html +++ b/mesh/v1alpha1/istio.mesh.v1alpha1.pb.html @@ -263,6 +263,16 @@
trustDomainstringThe trust domain corresponds to the trust root of a system. +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.
+