This is an automated email from the ASF dual-hosted git repository.
albumenj pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/dubbo-admin.git
The following commit(s) were added to refs/heads/develop by this push:
new 89d9a015 Add notice
89d9a015 is described below
commit 89d9a015502094decd066862b03001fa157b6323
Author: Albumen Kevin <[email protected]>
AuthorDate: Tue Jan 30 17:11:31 2024 +0800
Add notice
---
README.md | 14 ++++++++++++++
charts/admin-stack/README.md | 4 +++-
2 files changed, 17 insertions(+), 1 deletion(-)
diff --git a/README.md b/README.md
index c3e36a50..31f87b84 100644
--- a/README.md
+++ b/README.md
@@ -31,6 +31,8 @@ Choose either method based on your environment, where Helm is
the recommended in
* `cd dubbo-admin-distribution/target; java -jar
dubbo-admin-${project.version}.jar`
5. Visit `http://localhost:38080`, default username and password are `root`
+> **Security Notice: Please remember to change the `admin.check.signSecret`,
`admin.root.user.name` and `admin.root.user.password` before you deploy to
production environment.**
+
## 1.2 Run with Docker
> **Note: This method only supports running under linux system. Docker support
> for windows and mac systems will be released soon!**
@@ -50,8 +52,13 @@ The `application.properties` configuration file is as
follows (taking the `zooke
```properties
admin.registry.address=zookeeper://127.0.0.1:2181
admin.config-center=zookeeper://127.0.0.1:2181
+admin.root.user.name=root
+admin.root.user.password=root
+admin.check.signSecret=86295dd0c4ef69a1036b0b0c15158d77
```
+> **Security Notice: Please remember to change the `admin.check.signSecret`,
`admin.root.user.name` and `admin.root.user.password` before you deploy to
production environment.**
+
Open web browser and visit `http://localhost:38080`, default username and
password are `root`.
## 1.3 Run with Kubernetes
@@ -70,6 +77,8 @@ $ cd dubbo-admin/kubernetes/dubbo-admin
Open `configmap.yaml` and modify accordingly to override configurations in
[application.properties](./dubbo-admin-server/src/main/resources/application.properties).
+> **Security Notice: Please remember to change the `admin.check.signSecret`,
`admin.root.user.name` and `admin.root.user.password` before you deploy to
production environment.**
+
Run the following command:
```sh
@@ -108,8 +117,13 @@ properties:
admin.registry.address: zookeeper://zookeeper:2181
admin.config-center: zookeeper://zookeeper:2181
admin.metadata-report.address: zookeeper://zookeeper:2181
+ admin.root.user.name: root
+ admin.root.user.password: root
+ admin.check.signSecret: 86295dd0c4ef69a1036b0b0c15158d77
```
+> **Security Notice: Please remember to change the `admin.check.signSecret`,
`admin.root.user.name` and `admin.root.user.password` before you deploy to
production environment.**
+
```sh
$ helm install dubbo-admin -f values.yaml .
```
diff --git a/charts/admin-stack/README.md b/charts/admin-stack/README.md
index 13c8196b..19c9fdcd 100644
--- a/charts/admin-stack/README.md
+++ b/charts/admin-stack/README.md
@@ -1,3 +1,5 @@
+> **Security Notice: Please remember to change the `admin.check.signSecret`,
`admin.root.user.name` and `admin.root.user.password` before you deploy to
production environment.**
+
## 1. Project download to local
```
git clone https://github.com/apache/dubbo-admin.git
@@ -11,4 +13,4 @@ cd dubbo-admin/deploy/charts/dubbo-admin
## 3. Install dubbo-admin
```
helm install dubbo-admin -f values.yaml .
-```
\ No newline at end of file
+```