@@ -348,28 +348,29 @@ template: {
348
348
// +ui:order=4
349
349
auth : {
350
350
// +ui:description=mysql root的密码, 初次安装时使用此配置,应用更新时更改此配置mysql密码保持不变, 可在应用端修改密码后更新配置,以供其他应用使用。
351
- // +pattern=^ (?=.*[A-Z])(?=.*[a-z])(?=.*\d )(?=.*[!@#$%^&*()-_=+[\]{}|;:'",.<>?/] ).{8,}$
351
+ // +pattern=(?=.*[A-Z])(?=.*[a-z])(?=.*[0-9] )(?=.*[\W_] ).{8,}
352
352
// +ui:options={"format": "password", "showPassword": true}
353
353
// +ui:order=1
354
354
// +err:options={"pattern":"密码要求如下:\n1、长度大于8个字符\n2、密码中至少包含大小写字母、数字、特殊字符"}
355
- rootPassword : string
355
+ rootPassword : * " Kdp@mysql123 " | string
356
356
// +ui:description=mysql 备份用户的密码, 初次安装时使用此配置,应用更新时更改此配置mysql密码保持不变, 可在应用端修改密码后更新配置,以供其他应用使用。
357
- // +pattern=^ (?=.*[A-Z])(?=.*[a-z])(?=.*\d )(?=.*[!@#$%^&*()-_=+[\]{}|;:'",.<>?/] ).{8,}$
357
+ // +pattern=(?=.*[A-Z])(?=.*[a-z])(?=.*[0-9] )(?=.*[\W_] ).{8,}
358
358
// +ui:options={"showPassword": true}
359
359
// +ui:order=2
360
360
// +err:options={"pattern":"密码要求如下:\n1、长度大于8个字符\n2、密码中至少包含大小写字母、数字、特殊字符"}
361
361
// +ui:hidden={{rootFormData.architecture == "standalone"}}
362
- replicationPassword : string
362
+ replicationPassword : * " Replicat@mysql123 " | string
363
363
// +ui:description=mysql dba用户名
364
364
// +ui:options={"disabled": true}
365
365
// +ui:order=3
366
366
username : * " bdos_dba " | string
367
367
// +ui:description=mysql dba密码, 初次安装时使用此配置,应用更新时更改此配置mysql密码保持不变, 可在应用端修改密码后更新配置,以供其他应用使用。
368
- // +pattern=^(?=.*[A-Z])(?=.*[a-z])(?=.*\d )(?=.*[!@#$%^&*()-_=+[\]{}|;:'",.<>?/ ]).{8,}$
368
+ // +pattern=^(?!.*@)(? =.*[A-Z])(?=.*[a-z])(?=.*[0-9] )(?=.*[\W_ ]).{8,}$
369
369
// +ui:options={"showPassword": true}
370
370
// +ui:order=4
371
- // +err:options={"pattern":"密码要求如下:\n1、长度大于8个字符\n2、密码中至少包含大小写字母、数字、特殊字符"}
372
- password : string
371
+ // +err:options={"pattern":"密码要求如下:\n1、长度大于8个字符\n2、密码中至少包含大小写字母、数字、特殊字符且不包含@"}
372
+ // +ui:hidden={{rootFormData.architecture == "standalone"}}"}
373
+ password : * " KdpDbamysql123 " | string
373
374
}
374
375
// +ui:description=mysql资源配置
375
376
// +ui:order=5
0 commit comments