feat: add native fnOS PostgreSQL shared service
This commit is contained in:
@@ -0,0 +1,47 @@
|
||||
[
|
||||
{
|
||||
"stepTitle": "设置 PostgreSQL 服务管理凭据",
|
||||
"items": [
|
||||
{
|
||||
"type": "tips",
|
||||
"helpText": "管理密码用于登录数据库面板;接入令牌用于其他 fnOS 应用首次申请独立数据库。两者均不会设置默认值。"
|
||||
},
|
||||
{
|
||||
"type": "password",
|
||||
"field": "wizard_postgres_admin_password",
|
||||
"label": "管理面板密码",
|
||||
"rules": [
|
||||
{ "required": true, "message": "请输入管理面板密码" },
|
||||
{ "min": 12, "message": "管理密码至少需要 12 个字符" },
|
||||
{ "max": 256, "message": "管理密码不能超过 256 个字符" }
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "password",
|
||||
"field": "wizard_postgres_admin_password_confirm",
|
||||
"label": "再次输入管理密码",
|
||||
"rules": [
|
||||
{ "required": true, "message": "请再次输入管理密码" }
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "password",
|
||||
"field": "wizard_postgres_enrollment_token",
|
||||
"label": "应用接入令牌",
|
||||
"rules": [
|
||||
{ "required": true, "message": "请输入应用接入令牌" },
|
||||
{ "min": 20, "message": "接入令牌至少需要 20 个字符" },
|
||||
{ "max": 256, "message": "接入令牌不能超过 256 个字符" }
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "password",
|
||||
"field": "wizard_postgres_enrollment_token_confirm",
|
||||
"label": "再次输入接入令牌",
|
||||
"rules": [
|
||||
{ "required": true, "message": "请再次输入接入令牌" }
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
@@ -0,0 +1,11 @@
|
||||
[
|
||||
{
|
||||
"stepTitle": "升级 PostgreSQL 共享服务",
|
||||
"items": [
|
||||
{
|
||||
"type": "tips",
|
||||
"helpText": "升级期间所有依赖应用会暂时失去数据库连接。当前版本仅执行 PostgreSQL 15 同主版本升级,并保留数据、凭据、审计记录和备份。"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
Reference in New Issue
Block a user