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 2ca3b338 [horus] Optimize yaml naming (#419)
2ca3b338 is described below
commit 2ca3b338844f24a2075a96f573e18795a903569f
Author: mfordjody <[email protected]>
AuthorDate: Thu Oct 3 11:46:11 2024 +0800
[horus] Optimize yaml naming (#419)
---
app/horus/base/config/config.go | 6 +++---
manifests/horus/horus.yaml | 12 +-----------
2 files changed, 4 insertions(+), 14 deletions(-)
diff --git a/app/horus/base/config/config.go b/app/horus/base/config/config.go
index 2a625d28..74f1b42e 100644
--- a/app/horus/base/config/config.go
+++ b/app/horus/base/config/config.go
@@ -30,9 +30,9 @@ type Config struct {
}
type MysqlConfiguration struct {
- Name string `yaml:"name"`
- Addr string `yaml:"addr"`
- Debug bool `yaml:"debug"`
+ Name string `yaml:"name"`
+ Address string `yaml:"address"`
+ Debug bool `yaml:"debug"`
}
type DingTalkConfiguration struct {
diff --git a/manifests/horus/horus.yaml b/manifests/horus/horus.yaml
index a8cb0937..7a11207e 100644
--- a/manifests/horus/horus.yaml
+++ b/manifests/horus/horus.yaml
@@ -18,19 +18,9 @@ kubeTimeSecond: 5
mysql:
name: horus
- addr: "root:root@tcp(127.0.0.1:3306)/horus?charset=utf8&parseTime=True"
+ address: "root:root@tcp(127.0.0.1:3306)/horus?charset=utf8&parseTime=True"
debug: false
-dingTalk:
- webhookUrl: ~
- title: ~
- atMobiles: ~
-
-slack:
- webhookUrl: ~
- proxy: ~
- payload: ~
-
kubeMultiple:
cluster: config.1