This is an automated email from the ASF dual-hosted git repository.

zhongxjian pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/dubbo-kubernetes.git


The following commit(s) were added to refs/heads/master by this push:
     new 57089113 [operator] Update proto values logic (#604)
57089113 is described below

commit 5708911370ce9d51c75a372102dc220fc42cd055
Author: Jian Zhong <[email protected]>
AuthorDate: Sun Feb 16 20:36:57 2025 +0800

    [operator] Update proto values logic (#604)
---
 operator/pkg/apis/proto/values_types.proto         |  18 +-
 operator/pkg/apis/values_types.pb.go               | 243 ++++++---------------
 .../{value_types_json.go => values_types_json.go}  |   0
 3 files changed, 70 insertions(+), 191 deletions(-)

diff --git a/operator/pkg/apis/proto/values_types.proto 
b/operator/pkg/apis/proto/values_types.proto
index 5ab3089d..87d79d59 100644
--- a/operator/pkg/apis/proto/values_types.proto
+++ b/operator/pkg/apis/proto/values_types.proto
@@ -6,20 +6,6 @@ import "google/protobuf/wrappers.proto";
 
 option go_package = "dubbo.io/dubbo/operator/pkg/apis";
 
-message ArchConfig {
-  // Sets pod scheduling weight for amd64 arch
-  uint32 amd64 = 1;
-
-  // Sets pod scheduling weight for ppc64le arch.
-  uint32 ppc64le = 2;
-
-  // Sets pod scheduling weight for s390x arch.
-  uint32 s390x = 3;
-
-  // Sets pod scheduling weight for arm64 arch.
-  uint32 arm64 = 4;
-}
-
 // Global Configuration for Dubbo components.
 message GlobalConfig {
   // Specifies the default namespace.
@@ -27,8 +13,8 @@ message GlobalConfig {
 }
 
 message BaseConfig {
-  google.protobuf.BoolValue enabledubboConfigCRDs = 1;
-  GlobalConfig global = 2; // Add this line if `global` is required in 
BaseConfig
+  // For dubboctl usage to disable dubbo config crds in base
+  google.protobuf.BoolValue enableDubboConfigCRDs = 1;
 }
 
 message Values {
diff --git a/operator/pkg/apis/values_types.pb.go 
b/operator/pkg/apis/values_types.pb.go
index 73ea2f65..3c3c1bc1 100644
--- a/operator/pkg/apis/values_types.pb.go
+++ b/operator/pkg/apis/values_types.pb.go
@@ -21,81 +21,6 @@ const (
        _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
 )
 
-type ArchConfig struct {
-       state         protoimpl.MessageState
-       sizeCache     protoimpl.SizeCache
-       unknownFields protoimpl.UnknownFields
-
-       // Sets pod scheduling weight for amd64 arch
-       Amd64 uint32 `protobuf:"varint,1,opt,name=amd64,proto3" 
json:"amd64,omitempty"`
-       // Sets pod scheduling weight for ppc64le arch.
-       Ppc64Le uint32 `protobuf:"varint,2,opt,name=ppc64le,proto3" 
json:"ppc64le,omitempty"`
-       // Sets pod scheduling weight for s390x arch.
-       S390X uint32 `protobuf:"varint,3,opt,name=s390x,proto3" 
json:"s390x,omitempty"`
-       // Sets pod scheduling weight for arm64 arch.
-       Arm64 uint32 `protobuf:"varint,4,opt,name=arm64,proto3" 
json:"arm64,omitempty"`
-}
-
-func (x *ArchConfig) Reset() {
-       *x = ArchConfig{}
-       if protoimpl.UnsafeEnabled {
-               mi := &file_values_types_proto_msgTypes[0]
-               ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
-               ms.StoreMessageInfo(mi)
-       }
-}
-
-func (x *ArchConfig) String() string {
-       return protoimpl.X.MessageStringOf(x)
-}
-
-func (*ArchConfig) ProtoMessage() {}
-
-func (x *ArchConfig) ProtoReflect() protoreflect.Message {
-       mi := &file_values_types_proto_msgTypes[0]
-       if protoimpl.UnsafeEnabled && x != nil {
-               ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
-               if ms.LoadMessageInfo() == nil {
-                       ms.StoreMessageInfo(mi)
-               }
-               return ms
-       }
-       return mi.MessageOf(x)
-}
-
-// Deprecated: Use ArchConfig.ProtoReflect.Descriptor instead.
-func (*ArchConfig) Descriptor() ([]byte, []int) {
-       return file_values_types_proto_rawDescGZIP(), []int{0}
-}
-
-func (x *ArchConfig) GetAmd64() uint32 {
-       if x != nil {
-               return x.Amd64
-       }
-       return 0
-}
-
-func (x *ArchConfig) GetPpc64Le() uint32 {
-       if x != nil {
-               return x.Ppc64Le
-       }
-       return 0
-}
-
-func (x *ArchConfig) GetS390X() uint32 {
-       if x != nil {
-               return x.S390X
-       }
-       return 0
-}
-
-func (x *ArchConfig) GetArm64() uint32 {
-       if x != nil {
-               return x.Arm64
-       }
-       return 0
-}
-
 // Global Configuration for Dubbo components.
 type GlobalConfig struct {
        state         protoimpl.MessageState
@@ -109,7 +34,7 @@ type GlobalConfig struct {
 func (x *GlobalConfig) Reset() {
        *x = GlobalConfig{}
        if protoimpl.UnsafeEnabled {
-               mi := &file_values_types_proto_msgTypes[1]
+               mi := &file_values_types_proto_msgTypes[0]
                ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
                ms.StoreMessageInfo(mi)
        }
@@ -122,7 +47,7 @@ func (x *GlobalConfig) String() string {
 func (*GlobalConfig) ProtoMessage() {}
 
 func (x *GlobalConfig) ProtoReflect() protoreflect.Message {
-       mi := &file_values_types_proto_msgTypes[1]
+       mi := &file_values_types_proto_msgTypes[0]
        if protoimpl.UnsafeEnabled && x != nil {
                ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
                if ms.LoadMessageInfo() == nil {
@@ -135,7 +60,7 @@ func (x *GlobalConfig) ProtoReflect() protoreflect.Message {
 
 // Deprecated: Use GlobalConfig.ProtoReflect.Descriptor instead.
 func (*GlobalConfig) Descriptor() ([]byte, []int) {
-       return file_values_types_proto_rawDescGZIP(), []int{1}
+       return file_values_types_proto_rawDescGZIP(), []int{0}
 }
 
 func (x *GlobalConfig) GetDubboNamespace() string {
@@ -150,14 +75,14 @@ type BaseConfig struct {
        sizeCache     protoimpl.SizeCache
        unknownFields protoimpl.UnknownFields
 
-       EnabledubboConfigCRDs *wrapperspb.BoolValue 
`protobuf:"bytes,1,opt,name=enabledubboConfigCRDs,proto3" 
json:"enabledubboConfigCRDs,omitempty"`
-       Global                *GlobalConfig         
`protobuf:"bytes,2,opt,name=global,proto3" json:"global,omitempty"` // Add this 
line if `global` is required in BaseConfig
+       // For dubboctl usage to disable dubbo config crds in base
+       EnableDubboConfigCRDs *wrapperspb.BoolValue 
`protobuf:"bytes,1,opt,name=enableDubboConfigCRDs,proto3" 
json:"enableDubboConfigCRDs,omitempty"`
 }
 
 func (x *BaseConfig) Reset() {
        *x = BaseConfig{}
        if protoimpl.UnsafeEnabled {
-               mi := &file_values_types_proto_msgTypes[2]
+               mi := &file_values_types_proto_msgTypes[1]
                ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
                ms.StoreMessageInfo(mi)
        }
@@ -170,7 +95,7 @@ func (x *BaseConfig) String() string {
 func (*BaseConfig) ProtoMessage() {}
 
 func (x *BaseConfig) ProtoReflect() protoreflect.Message {
-       mi := &file_values_types_proto_msgTypes[2]
+       mi := &file_values_types_proto_msgTypes[1]
        if protoimpl.UnsafeEnabled && x != nil {
                ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
                if ms.LoadMessageInfo() == nil {
@@ -183,19 +108,12 @@ func (x *BaseConfig) ProtoReflect() protoreflect.Message {
 
 // Deprecated: Use BaseConfig.ProtoReflect.Descriptor instead.
 func (*BaseConfig) Descriptor() ([]byte, []int) {
-       return file_values_types_proto_rawDescGZIP(), []int{2}
-}
-
-func (x *BaseConfig) GetEnabledubboConfigCRDs() *wrapperspb.BoolValue {
-       if x != nil {
-               return x.EnabledubboConfigCRDs
-       }
-       return nil
+       return file_values_types_proto_rawDescGZIP(), []int{1}
 }
 
-func (x *BaseConfig) GetGlobal() *GlobalConfig {
+func (x *BaseConfig) GetEnableDubboConfigCRDs() *wrapperspb.BoolValue {
        if x != nil {
-               return x.Global
+               return x.EnableDubboConfigCRDs
        }
        return nil
 }
@@ -216,7 +134,7 @@ type Values struct {
 func (x *Values) Reset() {
        *x = Values{}
        if protoimpl.UnsafeEnabled {
-               mi := &file_values_types_proto_msgTypes[3]
+               mi := &file_values_types_proto_msgTypes[2]
                ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
                ms.StoreMessageInfo(mi)
        }
@@ -229,7 +147,7 @@ func (x *Values) String() string {
 func (*Values) ProtoMessage() {}
 
 func (x *Values) ProtoReflect() protoreflect.Message {
-       mi := &file_values_types_proto_msgTypes[3]
+       mi := &file_values_types_proto_msgTypes[2]
        if protoimpl.UnsafeEnabled && x != nil {
                ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
                if ms.LoadMessageInfo() == nil {
@@ -242,7 +160,7 @@ func (x *Values) ProtoReflect() protoreflect.Message {
 
 // Deprecated: Use Values.ProtoReflect.Descriptor instead.
 func (*Values) Descriptor() ([]byte, []int) {
-       return file_values_types_proto_rawDescGZIP(), []int{3}
+       return file_values_types_proto_rawDescGZIP(), []int{2}
 }
 
 func (x *Values) GetGlobal() *GlobalConfig {
@@ -288,7 +206,7 @@ type IntOrString struct {
 func (x *IntOrString) Reset() {
        *x = IntOrString{}
        if protoimpl.UnsafeEnabled {
-               mi := &file_values_types_proto_msgTypes[4]
+               mi := &file_values_types_proto_msgTypes[3]
                ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
                ms.StoreMessageInfo(mi)
        }
@@ -301,7 +219,7 @@ func (x *IntOrString) String() string {
 func (*IntOrString) ProtoMessage() {}
 
 func (x *IntOrString) ProtoReflect() protoreflect.Message {
-       mi := &file_values_types_proto_msgTypes[4]
+       mi := &file_values_types_proto_msgTypes[3]
        if protoimpl.UnsafeEnabled && x != nil {
                ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
                if ms.LoadMessageInfo() == nil {
@@ -314,7 +232,7 @@ func (x *IntOrString) ProtoReflect() protoreflect.Message {
 
 // Deprecated: Use IntOrString.ProtoReflect.Descriptor instead.
 func (*IntOrString) Descriptor() ([]byte, []int) {
-       return file_values_types_proto_rawDescGZIP(), []int{4}
+       return file_values_types_proto_rawDescGZIP(), []int{3}
 }
 
 func (x *IntOrString) GetType() int64 {
@@ -345,49 +263,38 @@ var file_values_types_proto_rawDesc = []byte{
        0x72, 0x6f, 0x74, 0x6f, 0x12, 0x17, 0x64, 0x75, 0x62, 0x62, 0x6f, 0x2e, 
0x6f, 0x70, 0x65, 0x72,
        0x61, 0x74, 0x6f, 0x72, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 
0x31, 0x1a, 0x1e, 0x67,
        0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 
0x75, 0x66, 0x2f, 0x77,
-       0x72, 0x61, 0x70, 0x70, 0x65, 0x72, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 
0x6f, 0x22, 0x68, 0x0a,
-       0x0a, 0x41, 0x72, 0x63, 0x68, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 
0x14, 0x0a, 0x05, 0x61,
-       0x6d, 0x64, 0x36, 0x34, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 
0x61, 0x6d, 0x64, 0x36,
-       0x34, 0x12, 0x18, 0x0a, 0x07, 0x70, 0x70, 0x63, 0x36, 0x34, 0x6c, 0x65, 
0x18, 0x02, 0x20, 0x01,
-       0x28, 0x0d, 0x52, 0x07, 0x70, 0x70, 0x63, 0x36, 0x34, 0x6c, 0x65, 0x12, 
0x14, 0x0a, 0x05, 0x73,
-       0x33, 0x39, 0x30, 0x78, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 
0x73, 0x33, 0x39, 0x30,
-       0x78, 0x12, 0x14, 0x0a, 0x05, 0x61, 0x72, 0x6d, 0x36, 0x34, 0x18, 0x04, 
0x20, 0x01, 0x28, 0x0d,
-       0x52, 0x05, 0x61, 0x72, 0x6d, 0x36, 0x34, 0x22, 0x36, 0x0a, 0x0c, 0x47, 
0x6c, 0x6f, 0x62, 0x61,
-       0x6c, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x26, 0x0a, 0x0e, 0x64, 
0x75, 0x62, 0x62, 0x6f,
-       0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x01, 0x20, 
0x01, 0x28, 0x09, 0x52,
-       0x0e, 0x64, 0x75, 0x62, 0x62, 0x6f, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 
0x61, 0x63, 0x65, 0x22,
-       0x9d, 0x01, 0x0a, 0x0a, 0x42, 0x61, 0x73, 0x65, 0x43, 0x6f, 0x6e, 0x66, 
0x69, 0x67, 0x12, 0x50,
-       0x0a, 0x15, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x75, 0x62, 0x62, 
0x6f, 0x43, 0x6f, 0x6e,
-       0x66, 0x69, 0x67, 0x43, 0x52, 0x44, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 
0x0b, 0x32, 0x1a, 0x2e,
-       0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 
0x62, 0x75, 0x66, 0x2e,
-       0x42, 0x6f, 0x6f, 0x6c, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x15, 0x65, 
0x6e, 0x61, 0x62, 0x6c,
-       0x65, 0x64, 0x75, 0x62, 0x62, 0x6f, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 
0x43, 0x52, 0x44, 0x73,
-       0x12, 0x3d, 0x0a, 0x06, 0x67, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x18, 0x02, 
0x20, 0x01, 0x28, 0x0b,
+       0x72, 0x61, 0x70, 0x70, 0x65, 0x72, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 
0x6f, 0x22, 0x36, 0x0a,
+       0x0c, 0x47, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x43, 0x6f, 0x6e, 0x66, 0x69, 
0x67, 0x12, 0x26, 0x0a,
+       0x0e, 0x64, 0x75, 0x62, 0x62, 0x6f, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 
0x61, 0x63, 0x65, 0x18,
+       0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x64, 0x75, 0x62, 0x62, 0x6f, 
0x4e, 0x61, 0x6d, 0x65,
+       0x73, 0x70, 0x61, 0x63, 0x65, 0x22, 0x5e, 0x0a, 0x0a, 0x42, 0x61, 0x73, 
0x65, 0x43, 0x6f, 0x6e,
+       0x66, 0x69, 0x67, 0x12, 0x50, 0x0a, 0x15, 0x65, 0x6e, 0x61, 0x62, 0x6c, 
0x65, 0x44, 0x75, 0x62,
+       0x62, 0x6f, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x43, 0x52, 0x44, 0x73, 
0x18, 0x01, 0x20, 0x01,
+       0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 
0x70, 0x72, 0x6f, 0x74,
+       0x6f, 0x62, 0x75, 0x66, 0x2e, 0x42, 0x6f, 0x6f, 0x6c, 0x56, 0x61, 0x6c, 
0x75, 0x65, 0x52, 0x15,
+       0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x44, 0x75, 0x62, 0x62, 0x6f, 0x43, 
0x6f, 0x6e, 0x66, 0x69,
+       0x67, 0x43, 0x52, 0x44, 0x73, 0x22, 0x9a, 0x01, 0x0a, 0x06, 0x56, 0x61, 
0x6c, 0x75, 0x65, 0x73,
+       0x12, 0x3d, 0x0a, 0x06, 0x67, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x18, 0x01, 
0x20, 0x01, 0x28, 0x0b,
        0x32, 0x25, 0x2e, 0x64, 0x75, 0x62, 0x62, 0x6f, 0x2e, 0x6f, 0x70, 0x65, 
0x72, 0x61, 0x74, 0x6f,
        0x72, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x47, 
0x6c, 0x6f, 0x62, 0x61,
-       0x6c, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x06, 0x67, 0x6c, 0x6f, 
0x62, 0x61, 0x6c, 0x22,
-       0x9a, 0x01, 0x0a, 0x06, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x12, 0x3d, 
0x0a, 0x06, 0x67, 0x6c,
-       0x6f, 0x62, 0x61, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, 
0x2e, 0x64, 0x75, 0x62,
-       0x62, 0x6f, 0x2e, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x2e, 
0x76, 0x31, 0x61, 0x6c,
-       0x70, 0x68, 0x61, 0x31, 0x2e, 0x47, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x43, 
0x6f, 0x6e, 0x66, 0x69,
-       0x67, 0x52, 0x06, 0x67, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x12, 0x37, 0x0a, 
0x04, 0x62, 0x61, 0x73,
-       0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x64, 0x75, 
0x62, 0x62, 0x6f, 0x2e,
-       0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x2e, 0x76, 0x31, 0x61, 
0x6c, 0x70, 0x68, 0x61,
-       0x31, 0x2e, 0x42, 0x61, 0x73, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 
0x52, 0x04, 0x62, 0x61,
-       0x73, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x70, 0x72, 0x6f, 0x66, 0x69, 0x6c, 
0x65, 0x18, 0x03, 0x20,
-       0x01, 0x28, 0x09, 0x52, 0x07, 0x70, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 
0x22, 0x8c, 0x01, 0x0a,
-       0x0b, 0x49, 0x6e, 0x74, 0x4f, 0x72, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 
0x12, 0x12, 0x0a, 0x04,
-       0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x04, 
0x74, 0x79, 0x70, 0x65,
-       0x12, 0x33, 0x0a, 0x06, 0x69, 0x6e, 0x74, 0x56, 0x61, 0x6c, 0x18, 0x02, 
0x20, 0x01, 0x28, 0x0b,
-       0x32, 0x1b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 
0x6f, 0x74, 0x6f, 0x62,
-       0x75, 0x66, 0x2e, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x56, 0x61, 0x6c, 0x75, 
0x65, 0x52, 0x06, 0x69,
-       0x6e, 0x74, 0x56, 0x61, 0x6c, 0x12, 0x34, 0x0a, 0x06, 0x73, 0x74, 0x72, 
0x56, 0x61, 0x6c, 0x18,
-       0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 
0x6c, 0x65, 0x2e, 0x70,
-       0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x69, 
0x6e, 0x67, 0x56, 0x61,
-       0x6c, 0x75, 0x65, 0x52, 0x06, 0x73, 0x74, 0x72, 0x56, 0x61, 0x6c, 0x42, 
0x22, 0x5a, 0x20, 0x64,
-       0x75, 0x62, 0x62, 0x6f, 0x2e, 0x69, 0x6f, 0x2f, 0x64, 0x75, 0x62, 0x62, 
0x6f, 0x2f, 0x6f, 0x70,
-       0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x2f, 0x70, 0x6b, 0x67, 0x2f, 0x61, 
0x70, 0x69, 0x73, 0x62,
-       0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
+       0x6c, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x06, 0x67, 0x6c, 0x6f, 
0x62, 0x61, 0x6c, 0x12,
+       0x37, 0x0a, 0x04, 0x62, 0x61, 0x73, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 
0x0b, 0x32, 0x23, 0x2e,
+       0x64, 0x75, 0x62, 0x62, 0x6f, 0x2e, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 
0x6f, 0x72, 0x2e, 0x76,
+       0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x42, 0x61, 0x73, 0x65, 
0x43, 0x6f, 0x6e, 0x66,
+       0x69, 0x67, 0x52, 0x04, 0x62, 0x61, 0x73, 0x65, 0x12, 0x18, 0x0a, 0x07, 
0x70, 0x72, 0x6f, 0x66,
+       0x69, 0x6c, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x70, 
0x72, 0x6f, 0x66, 0x69,
+       0x6c, 0x65, 0x22, 0x8c, 0x01, 0x0a, 0x0b, 0x49, 0x6e, 0x74, 0x4f, 0x72, 
0x53, 0x74, 0x72, 0x69,
+       0x6e, 0x67, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 
0x20, 0x01, 0x28, 0x03,
+       0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x33, 0x0a, 0x06, 0x69, 0x6e, 
0x74, 0x56, 0x61, 0x6c,
+       0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x67, 0x6f, 0x6f, 
0x67, 0x6c, 0x65, 0x2e,
+       0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x49, 0x6e, 0x74, 
0x33, 0x32, 0x56, 0x61,
+       0x6c, 0x75, 0x65, 0x52, 0x06, 0x69, 0x6e, 0x74, 0x56, 0x61, 0x6c, 0x12, 
0x34, 0x0a, 0x06, 0x73,
+       0x74, 0x72, 0x56, 0x61, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 
0x1c, 0x2e, 0x67, 0x6f,
+       0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 
0x66, 0x2e, 0x53, 0x74,
+       0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x06, 0x73, 
0x74, 0x72, 0x56, 0x61,
+       0x6c, 0x42, 0x22, 0x5a, 0x20, 0x64, 0x75, 0x62, 0x62, 0x6f, 0x2e, 0x69, 
0x6f, 0x2f, 0x64, 0x75,
+       0x62, 0x62, 0x6f, 0x2f, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 
0x2f, 0x70, 0x6b, 0x67,
+       0x2f, 0x61, 0x70, 0x69, 0x73, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 
0x33,
 }
 
 var (
@@ -402,29 +309,27 @@ func file_values_types_proto_rawDescGZIP() []byte {
        return file_values_types_proto_rawDescData
 }
 
-var file_values_types_proto_msgTypes = make([]protoimpl.MessageInfo, 5)
+var file_values_types_proto_msgTypes = make([]protoimpl.MessageInfo, 4)
 var file_values_types_proto_goTypes = []interface{}{
-       (*ArchConfig)(nil),             // 0: dubbo.operator.v1alpha1.ArchConfig
-       (*GlobalConfig)(nil),           // 1: 
dubbo.operator.v1alpha1.GlobalConfig
-       (*BaseConfig)(nil),             // 2: dubbo.operator.v1alpha1.BaseConfig
-       (*Values)(nil),                 // 3: dubbo.operator.v1alpha1.Values
-       (*IntOrString)(nil),            // 4: 
dubbo.operator.v1alpha1.IntOrString
-       (*wrapperspb.BoolValue)(nil),   // 5: google.protobuf.BoolValue
-       (*wrapperspb.Int32Value)(nil),  // 6: google.protobuf.Int32Value
-       (*wrapperspb.StringValue)(nil), // 7: google.protobuf.StringValue
+       (*GlobalConfig)(nil),           // 0: 
dubbo.operator.v1alpha1.GlobalConfig
+       (*BaseConfig)(nil),             // 1: dubbo.operator.v1alpha1.BaseConfig
+       (*Values)(nil),                 // 2: dubbo.operator.v1alpha1.Values
+       (*IntOrString)(nil),            // 3: 
dubbo.operator.v1alpha1.IntOrString
+       (*wrapperspb.BoolValue)(nil),   // 4: google.protobuf.BoolValue
+       (*wrapperspb.Int32Value)(nil),  // 5: google.protobuf.Int32Value
+       (*wrapperspb.StringValue)(nil), // 6: google.protobuf.StringValue
 }
 var file_values_types_proto_depIdxs = []int32{
-       5, // 0: 
dubbo.operator.v1alpha1.BaseConfig.enabledubboConfigCRDs:type_name -> 
google.protobuf.BoolValue
-       1, // 1: dubbo.operator.v1alpha1.BaseConfig.global:type_name -> 
dubbo.operator.v1alpha1.GlobalConfig
-       1, // 2: dubbo.operator.v1alpha1.Values.global:type_name -> 
dubbo.operator.v1alpha1.GlobalConfig
-       2, // 3: dubbo.operator.v1alpha1.Values.base:type_name -> 
dubbo.operator.v1alpha1.BaseConfig
-       6, // 4: dubbo.operator.v1alpha1.IntOrString.intVal:type_name -> 
google.protobuf.Int32Value
-       7, // 5: dubbo.operator.v1alpha1.IntOrString.strVal:type_name -> 
google.protobuf.StringValue
-       6, // [6:6] is the sub-list for method output_type
-       6, // [6:6] is the sub-list for method input_type
-       6, // [6:6] is the sub-list for extension type_name
-       6, // [6:6] is the sub-list for extension extendee
-       0, // [0:6] is the sub-list for field type_name
+       4, // 0: 
dubbo.operator.v1alpha1.BaseConfig.enableDubboConfigCRDs:type_name -> 
google.protobuf.BoolValue
+       0, // 1: dubbo.operator.v1alpha1.Values.global:type_name -> 
dubbo.operator.v1alpha1.GlobalConfig
+       1, // 2: dubbo.operator.v1alpha1.Values.base:type_name -> 
dubbo.operator.v1alpha1.BaseConfig
+       5, // 3: dubbo.operator.v1alpha1.IntOrString.intVal:type_name -> 
google.protobuf.Int32Value
+       6, // 4: dubbo.operator.v1alpha1.IntOrString.strVal:type_name -> 
google.protobuf.StringValue
+       5, // [5:5] is the sub-list for method output_type
+       5, // [5:5] is the sub-list for method input_type
+       5, // [5:5] is the sub-list for extension type_name
+       5, // [5:5] is the sub-list for extension extendee
+       0, // [0:5] is the sub-list for field type_name
 }
 
 func init() { file_values_types_proto_init() }
@@ -434,18 +339,6 @@ func file_values_types_proto_init() {
        }
        if !protoimpl.UnsafeEnabled {
                file_values_types_proto_msgTypes[0].Exporter = func(v 
interface{}, i int) interface{} {
-                       switch v := v.(*ArchConfig); i {
-                       case 0:
-                               return &v.state
-                       case 1:
-                               return &v.sizeCache
-                       case 2:
-                               return &v.unknownFields
-                       default:
-                               return nil
-                       }
-               }
-               file_values_types_proto_msgTypes[1].Exporter = func(v 
interface{}, i int) interface{} {
                        switch v := v.(*GlobalConfig); i {
                        case 0:
                                return &v.state
@@ -457,7 +350,7 @@ func file_values_types_proto_init() {
                                return nil
                        }
                }
-               file_values_types_proto_msgTypes[2].Exporter = func(v 
interface{}, i int) interface{} {
+               file_values_types_proto_msgTypes[1].Exporter = func(v 
interface{}, i int) interface{} {
                        switch v := v.(*BaseConfig); i {
                        case 0:
                                return &v.state
@@ -469,7 +362,7 @@ func file_values_types_proto_init() {
                                return nil
                        }
                }
-               file_values_types_proto_msgTypes[3].Exporter = func(v 
interface{}, i int) interface{} {
+               file_values_types_proto_msgTypes[2].Exporter = func(v 
interface{}, i int) interface{} {
                        switch v := v.(*Values); i {
                        case 0:
                                return &v.state
@@ -481,7 +374,7 @@ func file_values_types_proto_init() {
                                return nil
                        }
                }
-               file_values_types_proto_msgTypes[4].Exporter = func(v 
interface{}, i int) interface{} {
+               file_values_types_proto_msgTypes[3].Exporter = func(v 
interface{}, i int) interface{} {
                        switch v := v.(*IntOrString); i {
                        case 0:
                                return &v.state
@@ -500,7 +393,7 @@ func file_values_types_proto_init() {
                        GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
                        RawDescriptor: file_values_types_proto_rawDesc,
                        NumEnums:      0,
-                       NumMessages:   5,
+                       NumMessages:   4,
                        NumExtensions: 0,
                        NumServices:   0,
                },
diff --git a/operator/pkg/apis/value_types_json.go 
b/operator/pkg/apis/values_types_json.go
similarity index 100%
rename from operator/pkg/apis/value_types_json.go
rename to operator/pkg/apis/values_types_json.go

Reply via email to