docs: 调整部署文档
diff --git "a/deploy-manifests/charts/0.0.0000.\345\274\200\346\224\276\345\271\263\345\217\260\345\256\211\350\243\205\351\203\250\347\275\262\346\211\213\345\206\214\357\274\210\345\237\272\344\272\216\345\272\224\347\224\250\345\225\206\345\272\227\357\274\211.md" "b/deploy-manifests/charts/0.0.0000.\345\274\200\346\224\276\345\271\263\345\217\260\345\256\211\350\243\205\351\203\250\347\275\262\346\211\213\345\206\214\357\274\210\345\237\272\344\272\216\345\272\224\347\224\250\345\225\206\345\272\227\357\274\211.md"
index 1e85a71..f801737 100644
--- "a/deploy-manifests/charts/0.0.0000.\345\274\200\346\224\276\345\271\263\345\217\260\345\256\211\350\243\205\351\203\250\347\275\262\346\211\213\345\206\214\357\274\210\345\237\272\344\272\216\345\272\224\347\224\250\345\225\206\345\272\227\357\274\211.md"
+++ "b/deploy-manifests/charts/0.0.0000.\345\274\200\346\224\276\345\271\263\345\217\260\345\256\211\350\243\205\351\203\250\347\275\262\346\211\213\345\206\214\357\274\210\345\237\272\344\272\216\345\272\224\347\224\250\345\225\206\345\272\227\357\274\211.md"
@@ -185,10 +185,6 @@
本产品安装需要的域名如下:
```
- dev-center.paas.xxx.edu.cn 开发者中心后端
- dev-admin.paas.xxx.edu.cn 开发者中心管理UI
- dev-portal.paas.xxx.edu.cn 开发者中心UI
-
open.paas.xxx.edu.cn 开放平台
```
@@ -350,3 +346,11 @@
文件服务 管理API - Basic 密码: 和 minio-sa 部署时,配置的密码一致
+#### 云平台
+
+进入 admin-platform
+
+修改 DEVELOPER_CENTER_SPA_URL 为 `https://open.paas.xxx.edu.cn/dev-admin`
+
+重启
+
diff --git "a/deploy-manifests/charts/1.0.0001.\345\274\200\346\224\276\345\271\263\345\217\260-\350\256\244\350\257\201\345\257\271\346\216\245\346\225\260\346\215\256\345\210\235\345\247\213\345\214\226\357\274\210\345\274\200\345\217\221\350\200\205\344\270\255\345\277\203\357\274\211.md" "b/deploy-manifests/charts/1.0.0001.\345\274\200\346\224\276\345\271\263\345\217\260-\350\256\244\350\257\201\345\257\271\346\216\245\346\225\260\346\215\256\345\210\235\345\247\213\345\214\226\357\274\210\345\274\200\346\224\276\345\271\263\345\217\260\357\274\211.md"
similarity index 65%
rename from "deploy-manifests/charts/1.0.0001.\345\274\200\346\224\276\345\271\263\345\217\260-\350\256\244\350\257\201\345\257\271\346\216\245\346\225\260\346\215\256\345\210\235\345\247\213\345\214\226\357\274\210\345\274\200\345\217\221\350\200\205\344\270\255\345\277\203\357\274\211.md"
rename to "deploy-manifests/charts/1.0.0001.\345\274\200\346\224\276\345\271\263\345\217\260-\350\256\244\350\257\201\345\257\271\346\216\245\346\225\260\346\215\256\345\210\235\345\247\213\345\214\226\357\274\210\345\274\200\346\224\276\345\271\263\345\217\260\357\274\211.md"
index 06690e8..cadb14f 100644
--- "a/deploy-manifests/charts/1.0.0001.\345\274\200\346\224\276\345\271\263\345\217\260-\350\256\244\350\257\201\345\257\271\346\216\245\346\225\260\346\215\256\345\210\235\345\247\213\345\214\226\357\274\210\345\274\200\345\217\221\350\200\205\344\270\255\345\277\203\357\274\211.md"
+++ "b/deploy-manifests/charts/1.0.0001.\345\274\200\346\224\276\345\271\263\345\217\260-\350\256\244\350\257\201\345\257\271\346\216\245\346\225\260\346\215\256\345\210\235\345\247\213\345\214\226\357\274\210\345\274\200\346\224\276\345\271\263\345\217\260\357\274\211.md"
@@ -41,25 +41,25 @@
`APPLICATION_DOMAIN`
)
VALUES ('90', '1', 0, 'admin', '2021-10-20 00:00:00',
- '开发者中心', '开发者中心', 'https://dev-center.paas.xxx.edu.cn/dev-portal/', 'https://dev-center.paas.xxx.edu.cn/dev-portal/?clearCertification=clearCertification',
+ '开放平台', '开放平台', 'https://open.paas.xxx.edu.cn/dev-portal/', 'https://open.paas.xxx.edu.cn/dev-portal/?clearCertification=clearCertification',
'REDIRECT', 'FRONT_CHANNEL',
- 90, '开发者中心', 90, 'https://dev-center.paas.xxx.edu.cn/dev-portal/(.*)',
+ 90, '开放平台', 90, 'https://open.paas.xxx.edu.cn/dev-portal/(.*)',
1, 1, 1,
1, 1,
'90', '90',
- 'dev-portal.paas.xxx.edu.cn'
+ 'open.paas.xxx.edu.cn'
);
-- 修改根域名
update TB_SERVICE
set
- INFORMATION_URL='https://dev-center.paas.xxx.edu.cn/dev-portal/',
- LOGOUT_URL='https://dev-center.paas.xxx.edu.cn/dev-portal/?clearCertification=clearCertification',
- SERVICE_ID='https://dev-center.paas.xxx.edu.cn/dev-portal/(.*)',
+ INFORMATION_URL='https://open.paas.xxx.edu.cn/dev-portal/',
+ LOGOUT_URL='https://open.paas.xxx.edu.cn/dev-portal/?clearCertification=clearCertification',
+ SERVICE_ID='https://open.paas.xxx.edu.cn/dev-portal/(.*)',
ID_TOKEN_ENABLED=1,
JWT_AS_SERVICE_TICKET=1,
- APPLICATION_DOMAIN='dev-center.paas.xxx.edu.cn'
+ APPLICATION_DOMAIN='open.paas.xxx.edu.cn'
where ID='90'; -- todo, modify
diff --git "a/deploy-manifests/charts/1.0.0004.\345\274\200\346\224\276\345\271\263\345\217\260-\344\272\221\345\271\263\345\217\260\346\225\260\346\215\256\345\210\235\345\247\213\345\214\226\357\274\210\345\272\224\347\224\250\343\200\201\350\217\234\345\215\225\343\200\201\350\247\222\350\211\262\346\235\203\351\231\220\357\274\211.md" "b/deploy-manifests/charts/1.0.0004.\345\274\200\346\224\276\345\271\263\345\217\260-\344\272\221\345\271\263\345\217\260\346\225\260\346\215\256\345\210\235\345\247\213\345\214\226\357\274\210\345\272\224\347\224\250\343\200\201\350\217\234\345\215\225\343\200\201\350\247\222\350\211\262\346\235\203\351\231\220\357\274\211.md"
index 4cda86b..d8dedc5 100644
--- "a/deploy-manifests/charts/1.0.0004.\345\274\200\346\224\276\345\271\263\345\217\260-\344\272\221\345\271\263\345\217\260\346\225\260\346\215\256\345\210\235\345\247\213\345\214\226\357\274\210\345\272\224\347\224\250\343\200\201\350\217\234\345\215\225\343\200\201\350\247\222\350\211\262\346\235\203\351\231\220\357\274\211.md"
+++ "b/deploy-manifests/charts/1.0.0004.\345\274\200\346\224\276\345\271\263\345\217\260-\344\272\221\345\271\263\345\217\260\346\225\260\346\215\256\345\210\235\345\247\213\345\214\226\357\274\210\345\272\224\347\224\250\343\200\201\350\217\234\345\215\225\343\200\201\350\247\222\350\211\262\346\235\203\351\231\220\357\274\211.md"
@@ -37,13 +37,15 @@
#### 方式二,bash脚本
+在 admin-center-sa 的 Pods 上 执行命令行
+
```json
{"id": "90", "code": "90", "name":"开放平台", "memo":"", "status":"1", "url":""}
```
```bash
-curl -i -s -X POST "http://admin-platform-admin-center-sa.admin-platform.svc.cluster.local:8080/v1/admin/applications" -H 'Content-Type: application/json' \
+curl -i -s -X POST "http://localhost:8080/v1/admin/applications" -H 'Content-Type: application/json' \
-d \
'
{"id": "90", "code": "90", "name":"开放平台", "memo":"", "status":"1", "url":""}