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 efb916a1 [dubboctl] update profiles yaml (#570)
efb916a1 is described below
commit efb916a1868e68923d055290db37d55d647daed9
Author: Jian Zhong <[email protected]>
AuthorDate: Fri Jan 31 03:01:35 2025 +0800
[dubboctl] update profiles yaml (#570)
---
manifests/profiles/default.yaml | 1 +
manifests/profiles/demo.yaml | 7 +-
manifests/profiles/empty.yaml | 1 +
operator/cmd/cluster/profile.go | 22 +++--
operator/pkg/apis/proto/values_types.proto | 12 +--
operator/pkg/apis/types.go | 16 ++--
operator/pkg/apis/values_types.pb.go | 127 +++++++++++------------------
pkg/art/dubbo-ascii.txt | 8 +-
8 files changed, 83 insertions(+), 111 deletions(-)
diff --git a/manifests/profiles/default.yaml b/manifests/profiles/default.yaml
index a6414d59..20b9d1c1 100644
--- a/manifests/profiles/default.yaml
+++ b/manifests/profiles/default.yaml
@@ -22,6 +22,7 @@ spec:
components:
base:
enabled: true
+ dashboard:
admin:
enabled: true
values:
diff --git a/manifests/profiles/demo.yaml b/manifests/profiles/demo.yaml
index dfb7429a..d3064d8b 100644
--- a/manifests/profiles/demo.yaml
+++ b/manifests/profiles/demo.yaml
@@ -18,4 +18,9 @@ kind: DubboOperator
metadata:
namespace: dubbo-system
spec:
- profile: demo
+ components:
+ base:
+ enabled: true
+ values:
+ profile: demo
+
diff --git a/manifests/profiles/empty.yaml b/manifests/profiles/empty.yaml
index 01961587..02c91471 100644
--- a/manifests/profiles/empty.yaml
+++ b/manifests/profiles/empty.yaml
@@ -20,5 +20,6 @@ spec:
components:
base:
enabled: false
+ dashboard:
admin:
enabled: false
diff --git a/operator/cmd/cluster/profile.go b/operator/cmd/cluster/profile.go
index 3b6f175a..254f8844 100644
--- a/operator/cmd/cluster/profile.go
+++ b/operator/cmd/cluster/profile.go
@@ -44,10 +44,8 @@ func addProfileListFlags(cmd *cobra.Command, args
*profileListArgs) {
cmd.PersistentFlags().StringVarP(&args.manifestsPath, "manifests", "d",
"", "Specify a path to a directory of charts and profiles")
}
-func addProfileShowFlags(cmd *cobra.Command, args *profileShowArgs) {
+func addProfileDescFlags(cmd *cobra.Command, args *profileShowArgs) {
cmd.PersistentFlags().StringSliceVarP(&args.filenames, "filenames",
"f", nil, "")
- cmd.PersistentFlags().StringVarP(&args.configPath, "config-path", "p",
"",
- "The path the root of the configuration subtree to dump e.g.
components.pilot. By default, dump whole tree")
cmd.PersistentFlags().StringVarP(&args.outputFormat, "output", "o",
yamlOutput,
"Output format: one of json|yaml|flags")
cmd.PersistentFlags().StringVarP(&args.manifestsPath, "manifests", "d",
"", "")
@@ -58,7 +56,7 @@ func ProfileCmd(ctx cli.Context) *cobra.Command {
plArgs := &profileListArgs{}
psArgs := &profileShowArgs{}
plc := profileListCmd(rootArgs, plArgs)
- psc := profileShowCmd(rootArgs, psArgs)
+ pdc := profileDescCmd(rootArgs, psArgs)
pc := &cobra.Command{
Use: "profile",
Short: "Commands related to Dubbo configuration profiles",
@@ -68,9 +66,9 @@ func ProfileCmd(ctx cli.Context) *cobra.Command {
" dubboctl install --set profile=demo",
}
addProfileListFlags(plc, plArgs)
- addProfileShowFlags(psc, psArgs)
+ addProfileDescFlags(pdc, psArgs)
pc.AddCommand(plc)
- pc.AddCommand(psc)
+ pc.AddCommand(pdc)
AddFlags(pc, rootArgs)
return pc
}
@@ -87,11 +85,11 @@ func profileListCmd(rootArgs *RootArgs, plArgs
*profileListArgs) *cobra.Command
}
}
-func profileShowCmd(rootArgs *RootArgs, pdArgs *profileShowArgs)
*cobra.Command {
+func profileDescCmd(rootArgs *RootArgs, pdArgs *profileShowArgs)
*cobra.Command {
return &cobra.Command{
- Use: "show [<profile>]",
- Short: "Shows an Dubbo configuration profile",
- Long: "The show subcommand show the values in an Dubbo
configuration profile.",
+ Use: "desc [<profile>]",
+ Short: "Describes an Dubbo configuration profile",
+ Long: "The desc subcommand describe the values in an Dubbo
configuration profile.",
Args: func(cmd *cobra.Command, args []string) error {
if len(args) > 1 {
return fmt.Errorf("too many positional
arguments")
@@ -100,7 +98,7 @@ func profileShowCmd(rootArgs *RootArgs, pdArgs
*profileShowArgs) *cobra.Command
},
RunE: func(cmd *cobra.Command, args []string) error {
l := clog.NewConsoleLogger(cmd.OutOrStdout(),
cmd.ErrOrStderr(), InstallerScope)
- return profileShow(args, rootArgs, pdArgs, l)
+ return profileDesc(args, rootArgs, pdArgs, l)
},
}
}
@@ -123,7 +121,7 @@ func profileList(cmd *cobra.Command, args *RootArgs, plArgs
*profileListArgs) er
return nil
}
-func profileShow(args []string, rootArgs *RootArgs, pdArgs *profileShowArgs, l
clog.Logger) error {
+func profileDesc(args []string, rootArgs *RootArgs, pdArgs *profileShowArgs, l
clog.Logger) error {
if len(args) == 1 && pdArgs.filenames != nil {
return fmt.Errorf("cannot specify both profile name and
filename flag")
}
diff --git a/operator/pkg/apis/proto/values_types.proto
b/operator/pkg/apis/proto/values_types.proto
index f80b5041..5ab3089d 100644
--- a/operator/pkg/apis/proto/values_types.proto
+++ b/operator/pkg/apis/proto/values_types.proto
@@ -22,14 +22,8 @@ message ArchConfig {
// Global Configuration for Dubbo components.
message GlobalConfig {
- // Deprecated: replaced by the affinity k8s settings which allows
architecture nodeAffinity configuration of this behavior.
- ArchConfig arch = 1 [deprecated = true];
-
- // Controls whether the server-side validation is enabled.
- google.protobuf.BoolValue configValidation = 2;
-
- // Specifies the default namespace for the dubbo control plane components.
- string dubboNamespace = 14;
+ // Specifies the default namespace.
+ string dubboNamespace = 1;
}
message BaseConfig {
@@ -45,7 +39,7 @@ message Values {
BaseConfig base = 2;
// Specifies which installation configuration profile to apply.
- string profile = 4;
+ string profile = 3;
}
// IntOrString is a type that can hold an int32 or a string. When used in
diff --git a/operator/pkg/apis/types.go b/operator/pkg/apis/types.go
index 2eda62a3..a6af82ae 100644
--- a/operator/pkg/apis/types.go
+++ b/operator/pkg/apis/types.go
@@ -13,20 +13,24 @@ import (
type DubboOperator struct {
metav1.TypeMeta `json:",inline"`
// +optional
- metav1.ObjectMeta `json:"metadata,omitempty""`
+ metav1.ObjectMeta `json:"metadata,omitempty"`
// +optional
Spec DubboOperatorSpec `json:"spec,omitempty"`
}
type DubboOperatorSpec struct {
- Profile string `json:"profile,omitempty"`
- Components *DubboComponentSpec `json:"components,omitempty"`
- Values json.RawMessage `json:"values,omitempty"`
+ Profile string `json:"profile,omitempty"`
+ Dashboard *DubboAdminDashboardSpec `json:"dashboard,omitempty"`
+ Components *DubboComponentSpec `json:"components,omitempty"`
+ Values json.RawMessage `json:"values,omitempty"`
}
type DubboComponentSpec struct {
- Base *BaseComponentSpec `json:"base,omitempty"`
- Admin *ComponentSpec `json:"admin,omitempty"`
+ Base *BaseComponentSpec `json:"base,omitempty"`
+}
+
+type DubboAdminDashboardSpec struct {
+ Admin *ComponentSpec `json:"admin,omitempty"`
}
type BaseComponentSpec struct {
diff --git a/operator/pkg/apis/values_types.pb.go
b/operator/pkg/apis/values_types.pb.go
index 59ff55a2..73ea2f65 100644
--- a/operator/pkg/apis/values_types.pb.go
+++ b/operator/pkg/apis/values_types.pb.go
@@ -102,14 +102,8 @@ type GlobalConfig struct {
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
- // Deprecated: replaced by the affinity k8s settings which allows
architecture nodeAffinity configuration of this behavior.
- //
- // Deprecated: Marked as deprecated in values_types.proto.
- Arch *ArchConfig `protobuf:"bytes,1,opt,name=arch,proto3"
json:"arch,omitempty"`
- // Controls whether the server-side validation is enabled.
- ConfigValidation *wrapperspb.BoolValue
`protobuf:"bytes,2,opt,name=configValidation,proto3"
json:"configValidation,omitempty"`
- // Specifies the default namespace for the dubbo control plane
components.
- DubboNamespace string
`protobuf:"bytes,14,opt,name=dubboNamespace,proto3"
json:"dubboNamespace,omitempty"`
+ // Specifies the default namespace.
+ DubboNamespace string
`protobuf:"bytes,1,opt,name=dubboNamespace,proto3"
json:"dubboNamespace,omitempty"`
}
func (x *GlobalConfig) Reset() {
@@ -144,21 +138,6 @@ func (*GlobalConfig) Descriptor() ([]byte, []int) {
return file_values_types_proto_rawDescGZIP(), []int{1}
}
-// Deprecated: Marked as deprecated in values_types.proto.
-func (x *GlobalConfig) GetArch() *ArchConfig {
- if x != nil {
- return x.Arch
- }
- return nil
-}
-
-func (x *GlobalConfig) GetConfigValidation() *wrapperspb.BoolValue {
- if x != nil {
- return x.ConfigValidation
- }
- return nil
-}
-
func (x *GlobalConfig) GetDubboNamespace() string {
if x != nil {
return x.DubboNamespace
@@ -231,7 +210,7 @@ type Values struct {
// Configuration for the base component.
Base *BaseConfig `protobuf:"bytes,2,opt,name=base,proto3"
json:"base,omitempty"`
// Specifies which installation configuration profile to apply.
- Profile string `protobuf:"bytes,4,opt,name=profile,proto3"
json:"profile,omitempty"`
+ Profile string `protobuf:"bytes,3,opt,name=profile,proto3"
json:"profile,omitempty"`
}
func (x *Values) Reset() {
@@ -373,50 +352,42 @@ var file_values_types_proto_rawDesc = []byte{
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, 0xbb, 0x01, 0x0a, 0x0c,
0x47, 0x6c, 0x6f, 0x62,
- 0x61, 0x6c, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x3b, 0x0a, 0x04,
0x61, 0x72, 0x63, 0x68,
- 0x18, 0x01, 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, 0x41, 0x72, 0x63, 0x68, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x42,
0x02, 0x18, 0x01, 0x52,
- 0x04, 0x61, 0x72, 0x63, 0x68, 0x12, 0x46, 0x0a, 0x10, 0x63, 0x6f, 0x6e,
0x66, 0x69, 0x67, 0x56,
- 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 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,
0x10, 0x63, 0x6f, 0x6e,
- 0x66, 0x69, 0x67, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x69, 0x6f,
0x6e, 0x12, 0x26, 0x0a,
- 0x0e, 0x64, 0x75, 0x62, 0x62, 0x6f, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70,
0x61, 0x63, 0x65, 0x18,
- 0x0e, 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, 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,
+ 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,
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, 0x04, 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, 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,
}
var (
@@ -443,19 +414,17 @@ var file_values_types_proto_goTypes = []interface{}{
(*wrapperspb.StringValue)(nil), // 7: google.protobuf.StringValue
}
var file_values_types_proto_depIdxs = []int32{
- 0, // 0: dubbo.operator.v1alpha1.GlobalConfig.arch:type_name ->
dubbo.operator.v1alpha1.ArchConfig
- 5, // 1:
dubbo.operator.v1alpha1.GlobalConfig.configValidation:type_name ->
google.protobuf.BoolValue
- 5, // 2:
dubbo.operator.v1alpha1.BaseConfig.enabledubboConfigCRDs:type_name ->
google.protobuf.BoolValue
- 1, // 3: dubbo.operator.v1alpha1.BaseConfig.global:type_name ->
dubbo.operator.v1alpha1.GlobalConfig
- 1, // 4: dubbo.operator.v1alpha1.Values.global:type_name ->
dubbo.operator.v1alpha1.GlobalConfig
- 2, // 5: dubbo.operator.v1alpha1.Values.base:type_name ->
dubbo.operator.v1alpha1.BaseConfig
- 6, // 6: dubbo.operator.v1alpha1.IntOrString.intVal:type_name ->
google.protobuf.Int32Value
- 7, // 7: dubbo.operator.v1alpha1.IntOrString.strVal:type_name ->
google.protobuf.StringValue
- 8, // [8:8] is the sub-list for method output_type
- 8, // [8:8] is the sub-list for method input_type
- 8, // [8:8] is the sub-list for extension type_name
- 8, // [8:8] is the sub-list for extension extendee
- 0, // [0:8] is the sub-list for field type_name
+ 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
}
func init() { file_values_types_proto_init() }
diff --git a/pkg/art/dubbo-ascii.txt b/pkg/art/dubbo-ascii.txt
index bccba1a4..3a990c1a 100644
--- a/pkg/art/dubbo-ascii.txt
+++ b/pkg/art/dubbo-ascii.txt
@@ -1,5 +1,5 @@
-.____ ._. ._.._. ._. ._____.
-| _ \ | | | || |__ | |__ | ._. |
-| | | || | | || |_.\ | |_.\ | | | |
+ ____ _ _ _ _ _____
+| _ \ | | | || |__ | |__ | _ |
+| | | || | | || |_ \ | |_ \ | | | |
| |_| || |_| || |_| || |_| || |_| |
-|____/ |_____||____/ |____/ |_____|
+|____/ |_____||____/ |____/ |_____|
\ No newline at end of file