Skip to content

Commit

Permalink
Fix: change the schema
Browse files Browse the repository at this point in the history
Signed-off-by: barnettZQG <[email protected]>
  • Loading branch information
barnettZQG committed Oct 24, 2022
1 parent ca8299f commit 5006505
Show file tree
Hide file tree
Showing 15 changed files with 93 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,35 @@
- jsonKey: instance_name
label: InstanceName
sort: 1
validate:
required: true
style:
colSpan: 12
- jsonKey: database_name
label: DatabaseName
validate:
required: true
sort: 2
style:
colSpan: 12
- jsonKey: account_name
label: AccountName
validate:
required: true
sort: 3
style:
colSpan: 12
- jsonKey: password
uiType: Password
description: Account password. Uppercase, lowercase, numbers, and special characters account for three types, with a length of 8-32 digits;
sort: 4
style:
colSpan: 12
validate:
required: true
minLength: 8
maxLength: 32
pattern: ^(?![A-Za-z]+$)(?![A-Z\d]+$)(?![A-Z\W]+$)(?![a-z\d]+$)(?![a-z\W]+$)(?![\d\W]+$)\S{8,32}$
- jsonKey: allocate_public_connection
label: AllocatePublicConnection
sort: 5
Expand Down

This file was deleted.

12 changes: 12 additions & 0 deletions addons/terraform-aws/schemas/config-uischema-terraform-aws.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
- jsonKey: name
sort: 10

- jsonKey: AWS_DEFAULT_REGION
sort: 20

- jsonKey: AWS_ACCESS_KEY_ID
sort: 30
uiType: Password
- jsonKey: AWS_SECRET_ACCESS_KEY
sort: 40
uiType: Password

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
- jsonKey: name
sort: 10
- jsonKey: ARM_SUBSCRIPTION_ID
sort: 20
- jsonKey: ARM_TENANT_ID
sort: 30
- jsonKey: ARM_CLIENT_ID
sort: 40
uiType: Password
- jsonKey: ARM_CLIENT_SECRET
sort: 50
uiType: Password

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
- jsonKey: name
sort: 10
- jsonKey: BAIDUCLOUD_REGION
sort: 20
- jsonKey: BAIDUCLOUD_ACCESS_KEY
sort: 30
uiType: Password
- jsonKey: BAIDUCLOUD_SECRET_KEY
sort: 40
uiType: Password

5 changes: 5 additions & 0 deletions addons/terraform-ec/schemas/config-uischema-ec-provider.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
- jsonKey: name
sort: 10
- jsonKey: EC_API_KEY
sort: 20
uiType: Password

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
- jsonKey: name
sort: 10
- jsonKey: GOOGLE_REGION
sort: 20
- jsonKey: GOOGLE_PROJECT
sort: 30
- jsonKey: GOOGLE_CREDENTIALS
sort: 40
uiType: Password

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
- jsonKey: name
sort: 10
- jsonKey: TENCENTCLOUD_REGION
sort: 20
- jsonKey: TENCENTCLOUD_SECRET_ID
sort: 30
uiType: Password
- jsonKey: TENCENTCLOUD_SECRET_KEY
sort: 40
uiType: Password

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
- jsonKey: name
sort: 10
- jsonKey: UCLOUD_PROJECT_ID
sort: 20
- jsonKey: UCLOUD_REGION
sort: 30
- jsonKey: UCLOUD_PUBLIC_KEY
sort: 40
uiType: Password
- jsonKey: UCLOUD_PRIVATE_KEY
sort: 50
uiType: Password

0 comments on commit 5006505

Please sign in to comment.